Lines Matching refs:m_webView
149 : m_webView(webView)
163 NSRect windowRect = toDeviceSpace(rect, [m_webView window]);
164 [[m_webView _UIDelegateForwarder] webView:m_webView setFrame:windowRect];
169 NSRect windowRect = [[m_webView _UIDelegateForwarder] webViewFrame:m_webView];
170 return toUserSpace(windowRect, [m_webView window]);
176 return [m_webView frame];
181 NSWindow *window = [m_webView window];
195 [[m_webView _UIDelegateForwarder] webViewFocus:m_webView];
200 [[m_webView _UIDelegateForwarder] webViewUnfocus:m_webView];
213 // Since we're trying to move focus out of m_webView, and because
214 // m_webView may contain subviews within it, we ask it for the next key
215 // view of the last view in its key view loop. This makes m_webView
217 NSView *lastView = [m_webView _findLastViewInKeyViewLoop];
219 if ([m_webView _becomingFirstResponderFromOutside] && m_webView == [lastView nextValidKeyView])
221 [[m_webView window] selectKeyViewFollowingView:lastView];
224 if ([m_webView _becomingFirstResponderFromOutside] && m_webView == [m_webView previousValidKeyView])
226 [[m_webView window] selectKeyViewPrecedingView:m_webView];
240 id delegate = [m_webView UIDelegate];
275 newWebView = CallUIDelegate(m_webView, @selector(webView:createWebViewWithRequest:windowFeatures:), nil, dictFeatures);
290 newWebView = CallUIDelegate(m_webView, @selector(webView:createWebViewModalDialogWithRequest:), nil);
292 newWebView = CallUIDelegate(m_webView, @selector(webView:createWebViewWithRequest:), nil);
305 [[m_webView _UIDelegateForwarder] webViewShow:m_webView];
310 return [[m_webView UIDelegate] respondsToSelector:@selector(webViewRunModal:)];
315 CallUIDelegate(m_webView, @selector(webViewRunModal:));
320 [[m_webView _UIDelegateForwarder] webView:m_webView setToolbarsVisible:b];
325 return CallUIDelegateReturningBoolean(NO, m_webView, @selector(webViewAreToolbarsVisible:));
330 [[m_webView _UIDelegateForwarder] webView:m_webView setStatusBarVisible:b];
335 return CallUIDelegateReturningBoolean(NO, m_webView, @selector(webViewIsStatusBarVisible:));
340 [[[m_webView mainFrame] frameView] setAllowsScrolling:b];
345 return [[[m_webView mainFrame] frameView] allowsScrolling];
362 [[m_webView _UIDelegateForwarder] webView:m_webView setResizable:b];
431 id delegate = [m_webView UIDelegate];
457 m_webView, selector, dictionary, messageSource);
459 CallUIDelegate(m_webView, selector, dictionary);
466 return [[m_webView UIDelegate] respondsToSelector:@selector(webView:runBeforeUnloadConfirmPanelWithMessage:initiatedByFrame:)];
471 return CallUIDelegateReturningBoolean(true, m_webView, @selector(webView:runBeforeUnloadConfirmPanelWithMessage:initiatedByFrame:), message, kit(frame));
489 [m_webView setGroupName:nil];
490 [m_webView stopLoading:nil];
491 [m_webView performSelector:@selector(_closeWindow) withObject:nil afterDelay:0.0];
496 id delegate = [m_webView UIDelegate];
499 CallUIDelegate(m_webView, selector, message, kit(frame));
506 CallUIDelegate(m_webView, selector, message);
513 id delegate = [m_webView UIDelegate];
516 return CallUIDelegateReturningBoolean(NO, m_webView, selector, message, kit(frame));
521 return CallUIDelegateReturningBoolean(NO, m_webView, selector, message);
528 id delegate = [m_webView UIDelegate];
531 result = (NSString *)CallUIDelegate(m_webView, selector, prompt, defaultText, kit(frame));
538 result = (NSString *)CallUIDelegate(m_webView, selector, prompt, defaultText);
542 result = [[WebDefaultUIDelegate sharedUIDelegate] webView:m_webView runJavaScriptTextInputPanelWithPrompt:prompt defaultText:defaultText initiatedByFrame:kit(frame)];
548 return CallUIDelegate(m_webView, @selector(webViewShouldInterruptJavaScript:));
556 CallUIDelegate(m_webView, @selector(webView:setStatusText:), (NSString *)status);
562 NSRect rect = [[m_webView window] _growBoxRect];
563 if ([m_webView _usesDocumentViews])
565 return enclosingIntRect([m_webView convertRect:rect fromView:nil]);
571 [[m_webView window] displayIfNeeded];
572 [[m_webView window] flushWindowIfNeeded];
578 if ([m_webView _usesDocumentViews])
581 [m_webView setNeedsDisplayInRect:rect];
584 [[m_webView window] displayIfNeeded];
585 [[m_webView window] flushWindowIfNeeded];
600 if ([m_webView _usesDocumentViews])
602 NSPoint windowCoord = [[m_webView window] convertScreenToBase:p];
603 return IntPoint([m_webView convertPoint:windowCoord fromView:nil]);
608 if ([m_webView _usesDocumentViews])
611 tempRect = [m_webView convertRect:tempRect toView:nil];
612 tempRect.origin = [[m_webView window] convertBaseToScreen:tempRect.origin];
618 if ([m_webView _usesDocumentViews])
620 return m_webView;
631 NSView *coordinateView = [m_webView _usesDocumentViews]
632 ? [[[m_webView mainFrame] frameView] documentView] : m_webView;
634 for (NSView *view = m_webView; view; view = [view superview]) {
647 return [[m_webView UIDelegate] respondsToSelector:@selector(webView:didPressMissingPluginButton:)];
652 CallUIDelegate(m_webView, @selector(webView:didPressMissingPluginButton:), kit(element));
658 [m_webView _mouseDidMoveOverElement:element modifierFlags:modifierFlags];
664 [m_webView _setToolTip:toolTip];
670 if ([[m_webView UIDelegate] respondsToSelector:@selector(webView:printFrame:)])
671 CallUIDelegate(m_webView, @selector(webView:printFrame:), webFrame);
672 else if ([m_webView _usesDocumentViews])
673 CallUIDelegate(m_webView, @selector(webView:printFrameView:), [webFrame frameView]);
688 CallUIDelegate(m_webView, @selector(webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:), kit(frame), webOrigin, (NSString *)databaseName);
708 CallUIDelegate(m_webView, @selector(webView:exceededApplicationCacheOriginQuotaForSecurityOrigin:), webOrigin);
718 if ([m_webView historyDelegate]) {
719 WebHistoryDelegateImplementationCache* implementations = WebViewGetHistoryDelegateImplementations(m_webView);
722 CallHistoryDelegate(implementations->populateVisitedLinksFunc, m_webView, @selector(populateVisitedLinksForWebView:));
728 [[WebHistory optionalSharedHistory] _addVisitedLinksToPageGroup:[m_webView page]->group()];
737 CallUIDelegate(m_webView, @selector(webView:dashboardRegionsChanged:), [m_webView _dashboardRegions]);
781 id delegate = [m_webView UIDelegate];
783 CallUIDelegate(m_webView, @selector(webView:runOpenPanelForFileButtonWithResultListener:allowMultipleFiles:), listener, allowMultipleFiles);
785 CallUIDelegate(m_webView, @selector(webView:runOpenPanelForFileButtonWithResultListener:), listener);
809 return [m_webView _keyboardUIMode];
817 return [[m_webView _UIDelegateForwarder] webViewFirstResponder:m_webView];
825 [m_webView _pushPerformingProgrammaticFocus];
826 [[m_webView _UIDelegateForwarder] webView:m_webView makeFirstResponder:responder];
827 [m_webView _popPerformingProgrammaticFocus];
834 CallUIDelegate(m_webView, @selector(webView:willPopupMenu:), menu);
841 if (![[m_webView _UIDelegateForwarder] webView:m_webView shouldReplaceUploadFile:path usingGeneratedFilename:&filename])
849 return [[m_webView _UIDelegateForwarder] webView:m_webView generateReplacementFile:path];
854 CallUIDelegate(m_webView, @selector(webView:formDidFocusNode:), kit(const_cast<WebCore::Node*>(node)));
859 CallUIDelegate(m_webView, @selector(webView:formDidBlurNode:), kit(const_cast<WebCore::Node*>(node)));
893 Page* page = [m_webView page];
943 [m_webView _setNeedsOneShotDrawingSynchronization:YES];
950 [m_webView _scheduleCompositingLayerSync];
966 [m_webView _enterFullscreenForNode:node];
973 [m_webView _exitFullscreen];
984 if ([[m_webView UIDelegate] respondsToSelector:selector])
985 return CallUIDelegateReturningBoolean(false, m_webView, selector, kit(const_cast<WebCore::Element*>(element)), withKeyboard);
986 return [m_webView _supportsFullScreenForElement:const_cast<WebCore::Element*>(element) withKeyboard:withKeyboard];
992 if ([[m_webView UIDelegate] respondsToSelector:selector]) {
994 CallUIDelegate(m_webView, selector, kit(element), listener);
997 [m_webView _enterFullScreenForElement:element];
1003 if ([[m_webView UIDelegate] respondsToSelector:selector]) {
1005 CallUIDelegate(m_webView, selector, kit(element), listener);
1008 [m_webView _exitFullScreenForElement:element];
1014 if ([[m_webView UIDelegate] respondsToSelector:selector])
1015 CallUIDelegate(m_webView, selector, (id)renderer);
1017 [m_webView _fullScreenRendererChanged:renderer];