コード例 #1
0
void InjectedBundlePageClient::didCommitLoadForFrame(WebPage* page, WebFrame* frame)
{
    if (m_client.didCommitLoadForFrame)
        m_client.didCommitLoadForFrame(toRef(page), toRef(frame), m_client.clientInfo);
}
コード例 #2
0
void InjectedBundlePageClient::didFailLoadWithErrorForFrame(WebPage* page, WebFrame* frame)
{
    if (m_client.didFailLoadWithErrorForFrame)
        m_client.didFailLoadWithErrorForFrame(toRef(page), toRef(frame), m_client.clientInfo);
}
コード例 #3
0
void InjectedBundlePageClient::didReceiveServerRedirectForProvisionalLoadForFrame(WebPage* page, WebFrame* frame)
{
    if (m_client.didReceiveServerRedirectForProvisionalLoadForFrame)
        m_client.didReceiveServerRedirectForProvisionalLoadForFrame(toRef(page), toRef(frame), m_client.clientInfo);
}
コード例 #4
0
void InjectedBundlePageClient::didStartProvisionalLoadForFrame(WebPage* page, WebFrame* frame)
{
    if (m_client.didStartProvisionalLoadForFrame)
        m_client.didStartProvisionalLoadForFrame(toRef(page), toRef(frame), m_client.clientInfo);
}
コード例 #5
0
JSValueRef setNeverInline(JSContextRef context, JSValueRef theFunctionValueRef)
{
    ExecState* exec= toJS(context);
    return toRef(exec, setNeverInline(toJS(exec, theFunctionValueRef)));
}
コード例 #6
0
JSValueRef numberOfDFGCompiles(JSContextRef context, JSValueRef theFunctionValueRef)
{
    ExecState* exec= toJS(context);
    return toRef(exec, numberOfDFGCompiles(toJS(exec, theFunctionValueRef)));
}
コード例 #7
0
bool ScriptValue::isEqual(ExecState* scriptState, const ScriptValue& anotherValue) const
{
    if (hasNoValue())
        return anotherValue.hasNoValue();
    return JSValueIsEqual(toRef(scriptState), toRef(scriptState, jsValue()), toRef(scriptState, anotherValue.jsValue()), nullptr);
}