/external/webkit/Source/WebKit/chromium/src/ |
D | ChromeClientImpl.cpp | 152 : m_webView(webView) in ChromeClientImpl() 167 return static_cast<void*>(m_webView); in webView() 177 if (m_webView->client()) in setWindowRect() 178 m_webView->client()->setWindowRect(IntRect(r)); in setWindowRect() 184 if (m_webView->client()) in windowRect() 185 rect = m_webView->client()->rootWindowRect(); in windowRect() 190 rect.width = m_webView->size().width; in windowRect() 191 rect.height = m_webView->size().height; in windowRect() 218 if (m_webView->client()) in focus() 219 m_webView->client()->didFocus(); in focus() [all …]
|
D | EditorClientImpl.cpp | 78 : m_webView(webview) in EditorClientImpl() 106 if (m_webView->client()) in smartInsertDeleteEnabled() 107 return m_webView->client()->isSmartInsertDeleteEnabled(); in smartInsertDeleteEnabled() 113 if (m_webView->client()) in isSelectTrailingWhitespaceEnabled() 114 return m_webView->client()->isSelectTrailingWhitespaceEnabled(); in isSelectTrailingWhitespaceEnabled() 126 const Frame* frame = m_webView->focusedWebCoreFrame(); in shouldSpellcheckByDefault() 170 m_webView->focusedWebCoreFrame()); in toggleContinuousSpellChecking() 193 if (m_webView->client()) in shouldBeginEditing() 194 return m_webView->client()->shouldBeginEditing(WebRange(range)); in shouldBeginEditing() 200 if (m_webView->client()) in shouldEndEditing() [all …]
|
D | BackForwardListChromium.cpp | 51 : m_webView(webView) in BackForwardListChromium() 65 m_webView->observeNewNavigation(); in addItem() 67 if (m_webView->client()) in addItem() 68 m_webView->client()->didAddHistoryItem(); in addItem() 81 if (!m_webView->client()) in itemAtIndex() 106 if (!m_webView->client()) in backListCount() 109 return m_webView->client()->historyBackListCount(); in backListCount() 114 if (!m_webView->client()) in forwardListCount() 117 return m_webView->client()->historyForwardListCount(); in forwardListCount() 122 return m_webView->client(); in isActive()
|
D | ContextMenuClientImpl.cpp | 149 if (!m_webView->contextMenuAllowed()) in getCustomMenuFromDefaultItems() 152 HitTestResult r = m_webView->page()->contextMenuController()->hitTestResult(); in getCustomMenuFromDefaultItems() 160 if (m_webView->focusedWebCoreFrame()->editor()->canUndo()) in getCustomMenuFromDefaultItems() 162 if (m_webView->focusedWebCoreFrame()->editor()->canRedo()) in getCustomMenuFromDefaultItems() 164 if (m_webView->focusedWebCoreFrame()->editor()->canCut()) in getCustomMenuFromDefaultItems() 166 if (m_webView->focusedWebCoreFrame()->editor()->canCopy()) in getCustomMenuFromDefaultItems() 168 if (m_webView->focusedWebCoreFrame()->editor()->canPaste()) in getCustomMenuFromDefaultItems() 170 if (m_webView->focusedWebCoreFrame()->editor()->canDelete()) in getCustomMenuFromDefaultItems() 244 data.pageURL = urlFromFrame(m_webView->mainFrameImpl()->frame()); in getCustomMenuFromDefaultItems() 245 if (selectedFrame != m_webView->mainFrameImpl()->frame()) { in getCustomMenuFromDefaultItems() [all …]
|
/external/webkit/Source/WebKit/win/WebCoreSupport/ |
D | WebChromeClient.cpp | 73 : m_webView(webView) in WebChromeClient() 88 if (SUCCEEDED(m_webView->uiDelegate(&uiDelegate))) { in setWindowRect() 90 uiDelegate->setFrame(m_webView, &rect); in setWindowRect() 98 if (SUCCEEDED(m_webView->uiDelegate(&uiDelegate))) { in windowRect() 100 HRESULT retval = uiDelegate->webViewFrame(m_webView, &rect); in windowRect() 114 m_webView->frameRect(&rect); in pageRect() 127 if (SUCCEEDED(m_webView->uiDelegate(&uiDelegate))) { in focus() 128 uiDelegate->webViewFocus(m_webView); in focus() 132 m_webView->updateActiveState(); in focus() 138 if (SUCCEEDED(m_webView->uiDelegate(&uiDelegate))) { in unfocus() [all …]
|
D | WebEditorClient.cpp | 129 : m_webView(webView) in WebEditorClient() 149 if (FAILED(m_webView->isContinuousSpellCheckingEnabled(&enabled))) in isContinuousSpellCheckingEnabled() 156 m_webView->toggleContinuousSpellChecking(0); in toggleContinuousSpellChecking() 162 if (FAILED(m_webView->isGrammarCheckingEnabled(&enabled))) in isGrammarCheckingEnabled() 169 m_webView->toggleGrammarChecking(0); in toggleGrammarChecking() 212 m_webView->selectionChanged(); in respondToChangedSelection() 216 …tNotificationName(webViewDidChangeSelectionNotificationName, static_cast<IWebView*>(m_webView), 0); in respondToChangedSelection() 299 m_webView->smartInsertDeleteEnabled(&enabled); in smartInsertDeleteEnabled() 306 m_webView->isSelectTrailingWhitespaceEnabled(&enabled); in isSelectTrailingWhitespaceEnabled() 316 if (SUCCEEDED(m_webView->formDelegate(&formDelegate)) && formDelegate) { in textFieldDidBeginEditing() [all …]
|
D | WebDragClient.cpp | 60 : m_webView(webView) in WebDragClient() 71 if (SUCCEEDED(m_webView->uiDelegate(&delegateRef))) in actionMaskForDrag() 72 … delegateRef->dragDestinationActionMaskForDraggingInfo(m_webView, dragData->platformData(), &mask); in actionMaskForDrag() 82 if (SUCCEEDED(m_webView->uiDelegate(&delegateRef))) in willPerformDragDestinationAction() 83 …delegateRef->willPerformDragDestinationAction(m_webView, (WebDragDestinationAction)action, dragDat… in willPerformDragDestinationAction() 90 POINT localpt = core(m_webView)->mainFrame()->view()->windowToContents(windowPoint); in dragSourceActionMaskForPoint() 91 if (SUCCEEDED(m_webView->uiDelegate(&delegateRef))) in dragSourceActionMaskForPoint() 92 delegateRef->dragSourceActionMaskForPoint(m_webView, &localpt, &action); in dragSourceActionMaskForPoint() 99 if (!SUCCEEDED(m_webView->uiDelegate(&uiDelegate))) in willPerformDragSourceAction() 106 …HRESULT result = uiDelegate->willPerformDragSourceAction(m_webView, static_cast<WebDragSourceActio… in willPerformDragSourceAction() [all …]
|
D | WebGeolocationClient.cpp | 42 : m_webView(webView) in WebGeolocationClient() 54 if (FAILED(m_webView->geolocationProvider(&provider))) in startUpdating() 56 provider->registerWebView(m_webView.get()); in startUpdating() 62 if (FAILED(m_webView->geolocationProvider(&provider))) in stopUpdating() 64 provider->unregisterWebView(m_webView.get()); in stopUpdating() 71 if (FAILED(m_webView->geolocationProvider(&provider))) in lastPosition() 85 if (FAILED(m_webView->uiDelegate(&uiDelegate))) { in requestPermission() 99 …HRESULT hr = uiDelegatePrivate2->decidePolicyForGeolocationRequest(m_webView.get(), kit(frame), or… in requestPermission()
|
D | WebContextMenuClient.cpp | 47 : m_webView(webView) in WebContextMenuClient() 61 if (FAILED(m_webView->uiDelegate(&uiDelegate))) in customizeMenu() 68 …propertyBag.adoptRef(WebElementPropertyBag::createInstance(m_webView->page()->contextMenuControlle… in customizeMenu() 70 …if (FAILED(uiDelegate->contextMenuItemsForElement(m_webView, propertyBag.get(), (OLE_HANDLE)(ULONG… in customizeMenu() 86 if (FAILED(m_webView->uiDelegate(&uiDelegate))) in contextMenuItemSelected() 92 …propertyBag.adoptRef(WebElementPropertyBag::createInstance(m_webView->page()->contextMenuControlle… in contextMenuItemSelected() 103 uiDelegate->contextMenuItemSelected(m_webView, &selectedItem, propertyBag.get()); in contextMenuItemSelected() 108 m_webView->downloadURL(url); in downloadURL()
|
/external/webkit/Source/WebKit/win/ |
D | WebInspector.cpp | 49 , m_webView(webView) in WebInspector() 65 m_webView = 0; in webViewClosed() 100 if (m_webView) in show() 101 if (Page* page = m_webView->page()) in show() 109 if (m_webView) in showConsole() 110 if (Page* page = m_webView->page()) in showConsole() 123 if (m_webView) in close() 124 if (Page* page = m_webView->page()) in close() 147 if (!m_webView) in isDebuggingJavaScript() 150 Page* page = m_webView->page(); in isDebuggingJavaScript() [all …]
|
/external/webkit/Source/WebKit/gtk/WebCoreSupport/ |
D | ChromeClientGtk.cpp | 73 : m_webView(webView) in ChromeClient() 77 ASSERT(m_webView); in ChromeClient() 90 GtkWidget* window = gtk_widget_get_toplevel(GTK_WIDGET(m_webView)); in windowRect() 103 WebKitWebWindowFeatures* webWindowFeatures = webkit_web_view_get_window_features(m_webView); in setWindowRect() 113 WebKitWebSettings* settings = webkit_web_view_get_settings(m_webView); in setWindowRect() 119 GtkWidget* window = gtk_widget_get_toplevel(GTK_WIDGET(m_webView)); in setWindowRect() 130 gtk_widget_get_allocation(GTK_WIDGET(m_webView), &allocation); in pageRect() 132 allocation = GTK_WIDGET(m_webView)->allocation; in pageRect() 145 gtk_widget_grab_focus(GTK_WIDGET(m_webView)); in focus() 150 GtkWidget* window = gtk_widget_get_toplevel(GTK_WIDGET(m_webView)); in unfocus() [all …]
|
D | EditorClientGtk.cpp | 255 WebKitWebViewPrivate* priv = m_webView->priv; in setInputMethodState() 274 g_signal_emit_by_name(m_webView, "should-delete-range", kitRange.get(), &accept); in shouldDeleteRange() 282 …g_signal_emit_by_name(m_webView, "should-show-delete-interface-for-element", kitElement.get(), &ac… in shouldShowDeleteInterface() 288 WebKitWebSettings* settings = webkit_web_view_get_settings(m_webView); in isContinuousSpellCheckingEnabled() 314 g_signal_emit_by_name(m_webView, "should-begin-editing", kitRange.get(), &accept); in shouldBeginEditing() 324 g_signal_emit_by_name(m_webView, "should-end-editing", kitRange.get(), &accept); in shouldEndEditing() 346 …g_signal_emit_by_name(m_webView, "should-insert-text", string.utf8().data(), kitRange.get(), kit(a… in shouldInsertText() 367 …g_signal_emit_by_name(m_webView, "should-change-selected-range", kitFromRange.get(), kitToRange.ge… in shouldChangeSelectedRange() 377 …g_signal_emit_by_name(m_webView, "should-apply-style", kitDeclaration.get(), kitRange.get(), &acce… in shouldApplyStyle() 389 g_signal_emit_by_name(m_webView, "editing-began"); in didBeginEditing() [all …]
|
/external/webkit/Source/WebKit/mac/WebCoreSupport/ |
D | WebChromeClient.mm | 149 : m_webView(webView) function 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 [all …]
|
D | WebEditorClient.mm | 188 : m_webView(webView) function 203 return [m_webView isContinuousSpellCheckingEnabled]; 208 [m_webView toggleContinuousSpellChecking:nil]; 216 return [m_webView isGrammarCheckingEnabled]; 223 [m_webView toggleGrammarChecking:nil]; 229 return [m_webView spellCheckerDocumentTag]; 234 return [[m_webView _editingDelegateForwarder] webView:m_webView 240 return [[m_webView _editingDelegateForwarder] webView:m_webView 246 return [m_webView smartInsertDeleteEnabled]; 251 return [m_webView isSelectTrailingWhitespaceEnabled]; [all …]
|
D | WebDragClient.mm | 55 : m_webView(webView) function 68 …return (WebCore::DragDestinationAction)[[m_webView _UIDelegateForwarder] webView:m_webView dragDes… 73 …[[m_webView _UIDelegateForwarder] webView:m_webView willPerformDragDestinationAction:(WebDragDesti… 79 NSPoint viewPoint = [m_webView convertPoint:windowPoint fromView:nil]; 80 …return (DragSourceAction)[[m_webView _UIDelegateForwarder] webView:m_webView dragSourceActionMaskF… 86 …[[m_webView _UIDelegateForwarder] webView:m_webView willPerformDragSourceAction:(WebDragSourceActi… 108 id delegate = [m_webView UIDelegate]; 111 if ([m_webView _catchesDelegateExceptions]) { 113 …[delegate webView:m_webView dragImage:dragNSImage at:at offset:NSZeroSize event:event pasteboard:p… 118 …[delegate webView:m_webView dragImage:dragNSImage at:at offset:NSZeroSize event:event pasteboard:p…
|
/external/webkit/Source/WebKit/wx/WebKitSupport/ |
D | ChromeClientWx.cpp | 80 m_webView = webView; in ChromeClientWx() 147 wxWebViewNewWindowEvent wkEvent(m_webView); in createWindow() 152 if (m_webView->GetEventHandler()->ProcessEvent(wkEvent)) { in createWindow() 241 if (m_webView) { in addMessageToConsole() 242 wxWebViewConsoleMessageEvent wkEvent(m_webView); in addMessageToConsole() 247 m_webView->GetEventHandler()->ProcessEvent(wkEvent); in addMessageToConsole() 278 if (m_webView) { in runJavaScriptAlert() 279 wxWebViewAlertEvent wkEvent(m_webView); in runJavaScriptAlert() 281 if (!m_webView->GetEventHandler()->ProcessEvent(wkEvent)) in runJavaScriptAlert() 289 if (m_webView) { in runJavaScriptConfirm() [all …]
|
D | FrameLoaderClientWx.cpp | 106 m_webView = webview; in setWebView() 111 return m_webView != NULL; in hasWebView() 232 if (m_webView) { in dispatchDidHandleOnloadEvents() 233 wxWebViewLoadEvent wkEvent(m_webView); in dispatchDidHandleOnloadEvents() 236 m_webView->GetEventHandler()->ProcessEvent(wkEvent); in dispatchDidHandleOnloadEvents() 289 if (m_webView) { in dispatchDidStartProvisionalLoad() 290 wxWebViewLoadEvent wkEvent(m_webView); in dispatchDidStartProvisionalLoad() 293 m_webView->GetEventHandler()->ProcessEvent(wkEvent); in dispatchDidStartProvisionalLoad() 300 if (m_webView) { in dispatchDidReceiveTitle() 302 m_webView->SetPageTitle(title.string()); in dispatchDidReceiveTitle() [all …]
|
/external/webkit/Source/WebKit2/UIProcess/mac/ |
D | WebFullScreenManagerProxyMac.mm | 40 if (!m_webView) 42 [[m_webView fullScreenWindowController] enterFullScreen:nil]; 47 if (!m_webView) 49 [[m_webView fullScreenWindowController] exitFullScreen]; 54 if (!m_webView) 56 [[m_webView fullScreenWindowController] beganEnterFullScreenAnimation]; 61 if (!m_webView) 63 [[m_webView fullScreenWindowController] finishedEnterFullScreenAnimation:completed]; 68 if (!m_webView) 70 [[m_webView fullScreenWindowController] beganExitFullScreenAnimation]; [all …]
|
/external/webkit/Source/WebKit2/UIProcess/API/qt/tests/qgraphicswkview/ |
D | tst_qgraphicswkview.cpp | 48 QGraphicsWKView* m_webView; member in View 60 m_webView = new QGraphicsWKView(context); in View() 61 scene->addItem(m_webView); in View() 68 m_webView->setGeometry(rect); in resizeEvent() 87 …m_view->m_webView-> load(QUrl::fromLocalFile(QLatin1String(TESTS_SOURCE_DIR "/html/basic_page.html… in loadEmptyPage() 88 QVERIFY(waitForSignal(m_view->m_webView, SIGNAL(loadFinished(bool)))); in loadEmptyPage() 95 m_view->m_webView->load(QUrl()); in loadEmptyUrl() 96 QVERIFY(!waitForSignal(m_view->m_webView->page(), SIGNAL(engineConnectionChanged(bool)), 50)); in loadEmptyUrl() 98 m_view->m_webView->load(QUrl(QLatin1String(""))); in loadEmptyUrl() 99 QVERIFY(!waitForSignal(m_view->m_webView->page(), SIGNAL(engineConnectionChanged(bool)), 50)); in loadEmptyUrl()
|
/external/webkit/Source/WebKit/haiku/WebCoreSupport/ |
D | FrameLoaderClientHaiku.cpp | 68 m_webView = webview; in setWebView() 69 m_messenger = new BMessenger(m_webView); in setWebView() 80 return m_webView; in hasWebView() 184 if (m_webView) { in dispatchDidHandleOnloadEvents() 233 if (m_webView) { in dispatchDidStartProvisionalLoad() 242 if (m_webView) { in dispatchDidReceiveTitle() 244 m_webView->SetPageTitle(title.m_string()); in dispatchDidReceiveTitle() 253 if (m_webView) { in dispatchDidCommitLoad() 262 if (m_webView) { in dispatchDidFinishDocumentLoad() 324 if (m_webView) { in postProgressFinishedNotification() [all …]
|
/external/webkit/Source/WebKit/qt/tests/benchmarks/webgl/ |
D | tst_webgl.cpp | 52 QGraphicsWebView* m_webView; member in GraphicsView 63 m_webView = new QGraphicsWebView; in GraphicsView() 64 scene->addItem(m_webView); in GraphicsView() 66 m_webView->page()->settings()->setAttribute(QWebSettings::WebGLEnabled, true); in GraphicsView() 77 m_webView->setGeometry(rect); in resizeEvent() 115 m_view->m_webView->load(QUrl(QLatin1String("qrc:///testcases/10000_triangles.html"))); in benchmarkFrameRenderingOnImage() 116 const bool pageLoaded = waitForSignal(m_view->m_webView, SIGNAL(loadFinished(bool))); in benchmarkFrameRenderingOnImage()
|
/external/webkit/Source/WebKit/chromium/tests/ |
D | PopupMenuTest.cpp | 185 m_webView = static_cast<WebViewImpl*>(WebView::create(&m_webviewClient)); in SetUp() 186 m_webView->initializeMainFrame(&m_webFrameClient); in SetUp() 193 m_webView->close(); in TearDown() 197 bool popupOpen() const { return m_webView->selectPopup(); } in popupOpen() 204 static_cast<WebFrameImpl*>(m_webView->mainFrame())->frameView(), 0); in showPopup() 206 EXPECT_TRUE(m_webView->selectPopup()->popupType() == PopupContainer::Select); in showPopup() 232 m_webView->handleInputEvent(keyEvent); in simulateKeyEvent() 240 m_webView->selectPopup()->handleMouseDownEvent(mouseEvent); in simulateLeftMouseDownEvent() 246 m_webView->selectPopup()->handleMouseReleaseEvent(mouseEvent); in simulateLeftMouseUpEvent() 251 WebViewImpl* m_webView; member in __anon64e170100111::SelectPopupMenuTest [all …]
|
D | WebPageSerializerTest.cpp | 55 WebPageSerializerTest() : m_webView(0), m_supportedSchemes(3U) in WebPageSerializerTest() 66 m_webView = WebView::create(0); in SetUp() 67 m_webView->initializeMainFrame(&m_webFrameClient); in SetUp() 73 m_webView->close(); in TearDown() 92 m_webView->mainFrame()->loadRequest(urlRequest); in loadURLInTopFrame() 109 WebView* m_webView; member in __anon89c1533c0111::WebPageSerializerTest 127 m_webView, m_supportedSchemes, &resources, &frames)); in TEST_F() 173 m_webView, m_supportedSchemes, &resources, &frames)); in TEST_F()
|
/external/webkit/Tools/MiniBrowser/win/ |
D | BrowserView.cpp | 36 : m_webView(0) in BrowserView() 83 assert(!m_webView); in create() 93 m_webView = WKViewCreate(webViewRect, context, 0, parentWindow->window()); in create() 128 WKPageSetPageUIClient(WKViewGetPage(m_webView), &uiClient); in create() 130 WKViewSetIsInWindow(m_webView, true); in create() 135 HWND webViewWindow = WKViewGetWindow(m_webView); in setFrame() 148 WKPageRef page = WKViewGetPage(m_webView); in goToURL()
|
/external/webkit/Source/WebKit/wince/WebCoreSupport/ |
D | ChromeClientWinCE.cpp | 42 : m_webView(webView) in ChromeClientWinCE() 44 ASSERT(m_webView); in ChromeClientWinCE() 54 if (!m_webView) in windowRect() 58 m_webView->frameRect(&rect); in windowRect() 159 PostMessageW(m_webView->windowHandle(), WM_CLOSE, 0, 0); in closeWindowSoon() 198 m_webView->runJavaScriptAlert(message); in runJavaScriptAlert() 203 return m_webView->runJavaScriptConfirm(message); in runJavaScriptConfirm() 208 return m_webView->runJavaScriptPrompt(message, defaultValue, result); in runJavaScriptPrompt() 241 InvalidateRect(m_webView->windowHandle(), &rect, FALSE); in invalidateContentsAndWindow() 244 UpdateWindow(m_webView->windowHandle()); in invalidateContentsAndWindow()
|