Example #1
0
void InjectedBundlePageClient::didCommitLoadForFrame(WebPage* page, WebFrame* frame)
{
    if (m_client.didCommitLoadForFrame)
        m_client.didCommitLoadForFrame(toRef(page), toRef(frame), m_client.clientInfo);
}
Example #2
0
void InjectedBundlePageClient::didFailLoadWithErrorForFrame(WebPage* page, WebFrame* frame)
{
    if (m_client.didFailLoadWithErrorForFrame)
        m_client.didFailLoadWithErrorForFrame(toRef(page), toRef(frame), m_client.clientInfo);
}
Example #3
0
void InjectedBundlePageClient::didReceiveServerRedirectForProvisionalLoadForFrame(WebPage* page, WebFrame* frame)
{
    if (m_client.didReceiveServerRedirectForProvisionalLoadForFrame)
        m_client.didReceiveServerRedirectForProvisionalLoadForFrame(toRef(page), toRef(frame), m_client.clientInfo);
}
Example #4
0
void InjectedBundlePageClient::didStartProvisionalLoadForFrame(WebPage* page, WebFrame* frame)
{
    if (m_client.didStartProvisionalLoadForFrame)
        m_client.didStartProvisionalLoadForFrame(toRef(page), toRef(frame), m_client.clientInfo);
}
JSValueRef setNeverInline(JSContextRef context, JSValueRef theFunctionValueRef)
{
    ExecState* exec= toJS(context);
    return toRef(exec, setNeverInline(toJS(exec, theFunctionValueRef)));
}
JSValueRef numberOfDFGCompiles(JSContextRef context, JSValueRef theFunctionValueRef)
{
    ExecState* exec= toJS(context);
    return toRef(exec, numberOfDFGCompiles(toJS(exec, theFunctionValueRef)));
}
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);
}