Home | History | Annotate | Download | only in Hosted

Lines Matching full:frame

49 #import <WebCore/Frame.h>
128 // For full frame plug-ins, the first requestID will always be the one for the already
190 if (Frame* frame = core([m_pluginView webFrame]))
191 frame->script()->cleanupScriptObjectsForPlugin(m_pluginView);
293 void NetscapePluginInstanceProxy::windowFrameChanged(NSRect frame)
295 _WKPHPluginInstanceWindowFrameChanged(m_pluginHostProxy->port(), m_pluginID, frame.origin.x, frame.origin.y, frame.size.width, frame.size.height,
296 NSMaxY([[[NSScreen screens] objectAtIndex:0] frame]));
321 NSMaxY([[[NSScreen screens] objectAtIndex:0] frame]),
504 WebFrame *frame = nil;
513 frame = kit(core([m_pluginView webFrame])->loader()->findFrameForNavigation(frameName));
514 if (!frame) {
527 frame = [newWebView mainFrame];
528 core(frame)->tree()->setName(frameName);
534 ASSERT(!frame || [m_pluginView webFrame] == frame);
537 [frame loadRequest:request];
539 // Check if another plug-in view or even this view is waiting for the frame to load.
541 WebHostedNetscapePluginView *view = [frame _internalLoadDelegate];
544 [view webFrame:frame didFinishLoadWithReason:NPRES_USER_BREAK];
546 m_pendingFrameLoads.set(frame, pluginRequest);
547 [frame _setInternalLoadDelegate:m_pluginView];
624 // Find the frame given the target string.
627 WebFrame *frame = [m_pluginView webFrame];
630 // displayed unless the loads are in the same frame as the plugin.
632 (!cTarget || [frame findFrameNamed:target] != frame)) {
651 // Make when targetting a frame or evaluating a JS string, perform the request after a delay because we don't
654 if (JSString && target && [frame findFrameNamed:target] != frame) {
655 // For security reasons, only allow JS requests to be made on the frame that contains the plug-in.
703 Frame* frame = core([m_pluginView webFrame]);
704 if (!frame)
707 if (!frame->script()->canExecuteScripts())
710 objectID = idForObject(frame->script()->windowShell(pluginWorld())->window());
717 Frame* frame = core([m_pluginView webFrame]);
718 if (!frame)
721 if (JSObject* object = frame->script()->jsObjectForPluginElement([m_pluginView element]))
742 Frame* frame = core([m_pluginView webFrame]);
743 if (!frame)
748 ProtectedPtr<JSGlobalObject> globalObject = frame->script()->globalObject(pluginWorld());
751 bool oldAllowPopups = frame->script()->allowPopupsFromPlugin();
752 frame->script()->setAllowPopupsFromPlugin(allowPopups);
759 frame->script()->setAllowPopupsFromPlugin(oldAllowPopups);
785 Frame* frame = core([m_pluginView webFrame]);
786 if (!frame)
789 ExecState* exec = frame->script()->globalObject(pluginWorld())->globalExec();
800 ProtectedPtr<JSGlobalObject> globalObject = frame->script()->globalObject(pluginWorld());
819 Frame* frame = core([m_pluginView webFrame]);
820 if (!frame)
823 ExecState* exec = frame->script()->globalObject(pluginWorld())->globalExec();
833 ProtectedPtr<JSGlobalObject> globalObject = frame->script()->globalObject(pluginWorld());
852 Frame* frame = core([m_pluginView webFrame]);
853 if (!frame)
856 ExecState* exec = frame->script()->globalObject(pluginWorld())->globalExec();
867 ProtectedPtr<JSGlobalObject> globalObject = frame->script()->globalObject(pluginWorld());
886 Frame* frame = core([m_pluginView webFrame]);
887 if (!frame)
890 ExecState* exec = frame->script()->globalObject(pluginWorld())->globalExec();
905 Frame* frame = core([m_pluginView webFrame]);
906 if (!frame)
909 ExecState* exec = frame->script()->globalObject(pluginWorld())->globalExec();
927 Frame* frame = core([m_pluginView webFrame]);
928 if (!frame)
931 ExecState* exec = frame->script()->globalObject(pluginWorld())->globalExec();
951 Frame* frame = core([m_pluginView webFrame]);
952 if (!frame)
955 ExecState* exec = frame->script()->globalObject(pluginWorld())->globalExec();
974 Frame* frame = core([m_pluginView webFrame]);
975 if (!frame)
978 ExecState* exec = frame->script()->globalObject(pluginWorld())->globalExec();
999 Frame* frame = core([m_pluginView webFrame]);
1000 if (!frame)
1003 ExecState* exec = frame->script()->globalObject(pluginWorld())->globalExec();
1024 Frame* frame = core([m_pluginView webFrame]);
1025 if (!frame)
1028 ExecState* exec = frame->script()->globalObject(pluginWorld())->globalExec();
1044 Frame* frame = core([m_pluginView webFrame]);
1045 if (!frame)
1048 ExecState* exec = frame->script()->globalObject(pluginWorld())->globalExec();
1064 Frame* frame = core([m_pluginView webFrame]);
1065 if (!frame)
1068 ExecState* exec = frame->script()->globalObject(pluginWorld())->globalExec();
1084 Frame* frame = core([m_pluginView webFrame]);
1085 if (!frame)
1088 ExecState* exec = frame->script()->globalObject(pluginWorld())->globalExec();
1208 Frame* frame = core([m_pluginView webFrame]);
1209 if (!frame)
1212 if (!frame->script()->canExecuteScripts())
1215 RefPtr<RootObject> rootObject = frame->script()->createRootObject(m_pluginView);
1357 if (Frame* frame = core([m_pluginView webFrame])) {
1358 String cookieString = cookies(frame->document(), url);
1381 if (Frame* frame = core([m_pluginView webFrame])) {
1386 WebCore::setCookies(frame->document(), url, cookieString);