Home
last modified time | relevance | path

Searched refs:m_webView (Results 1 – 25 of 67) sorted by relevance

123

/external/webkit/WebKit/chromium/src/
DChromeClientImpl.cpp79 : m_webView(webView) in ChromeClientImpl()
100 if (m_webView->client()) in setWindowRect()
101 m_webView->client()->setWindowRect(IntRect(r)); in setWindowRect()
107 if (m_webView->client()) in windowRect()
108 rect = m_webView->client()->rootWindowRect(); in windowRect()
113 rect.width = m_webView->size().width; in windowRect()
114 rect.height = m_webView->size().height; in windowRect()
141 if (!m_webView->client()) in focus()
144 m_webView->client()->didFocus(); in focus()
148 const Frame* frame = m_webView->focusedWebCoreFrame(); in focus()
[all …]
DEditorClientImpl.cpp71 : m_webView(webview) in EditorClientImpl()
99 if (m_webView->client()) in smartInsertDeleteEnabled()
100 return m_webView->client()->isSmartInsertDeleteEnabled(); in smartInsertDeleteEnabled()
106 if (m_webView->client()) in isSelectTrailingWhitespaceEnabled()
107 return m_webView->client()->isSelectTrailingWhitespaceEnabled(); in isSelectTrailingWhitespaceEnabled()
119 const Frame* frame = m_webView->focusedWebCoreFrame(); in shouldSpellcheckByDefault()
186 if (m_webView->client()) in shouldBeginEditing()
187 return m_webView->client()->shouldBeginEditing(WebRange(range)); in shouldBeginEditing()
193 if (m_webView->client()) in shouldEndEditing()
194 return m_webView->client()->shouldEndEditing(WebRange(range)); in shouldEndEditing()
[all …]
DBackForwardListClientImpl.cpp45 : m_webView(webView) in BackForwardListClientImpl()
71 m_webView->observeNewNavigation(); in addItem()
73 if (m_webView->client()) in addItem()
74 m_webView->client()->didAddHistoryItem(); in addItem()
93 if (!m_webView->client() || index > forwardListCount() || -index > backListCount()) in itemAtIndex()
115 if (!m_webView->client()) in backListCount()
118 return m_webView->client()->historyBackListCount(); in backListCount()
123 if (!m_webView->client()) in forwardListCount()
126 return m_webView->client()->historyForwardListCount(); in forwardListCount()
DContextMenuClientImpl.cpp141 if (!m_webView->contextMenuAllowed()) in getCustomMenuFromDefaultItems()
190 data.pageURL = urlFromFrame(m_webView->mainFrameImpl()->frame()); in getCustomMenuFromDefaultItems()
191 if (selectedFrame != m_webView->mainFrameImpl()->frame()) in getCustomMenuFromDefaultItems()
200 if (m_webView->focusedWebCoreFrame()->editor()->isContinuousSpellCheckingEnabled()) { in getCustomMenuFromDefaultItems()
230 if (m_webView->focusedWebCoreFrame()->editor()->canUndo()) in getCustomMenuFromDefaultItems()
232 if (m_webView->focusedWebCoreFrame()->editor()->canRedo()) in getCustomMenuFromDefaultItems()
234 if (m_webView->focusedWebCoreFrame()->editor()->canCut()) in getCustomMenuFromDefaultItems()
236 if (m_webView->focusedWebCoreFrame()->editor()->canCopy()) in getCustomMenuFromDefaultItems()
238 if (m_webView->focusedWebCoreFrame()->editor()->canPaste()) in getCustomMenuFromDefaultItems()
240 if (m_webView->focusedWebCoreFrame()->editor()->canDelete()) in getCustomMenuFromDefaultItems()
[all …]
DWebWorkerBase.cpp97 : m_webView(0) in WebWorkerBase()
105 ASSERT(m_webView); in ~WebWorkerBase()
106 m_webView->close(); in ~WebWorkerBase()
123 ASSERT(!m_webView); in initializeLoader()
124 m_webView = WebView::create(0); in initializeLoader()
125 m_webView->initializeMainFrame(WorkerWebFrameClient::sharedInstance()); in initializeLoader()
127 WebFrameImpl* webFrame = static_cast<WebFrameImpl*>(m_webView->mainFrame()); in initializeLoader()
DDragClientImpl.cpp57 if (m_webView->client() && m_webView->client()->acceptsLoadDrops()) in actionMaskForDrag()
84 m_webView->startDragging( in startDrag()
/external/webkit/WebKit/win/WebCoreSupport/
DWebChromeClient.cpp66 : m_webView(webView) in WebChromeClient()
81 if (SUCCEEDED(m_webView->uiDelegate(&uiDelegate))) { in setWindowRect()
83 uiDelegate->setFrame(m_webView, &rect); in setWindowRect()
91 if (SUCCEEDED(m_webView->uiDelegate(&uiDelegate))) { in windowRect()
93 HRESULT retval = uiDelegate->webViewFrame(m_webView, &rect); in windowRect()
107 m_webView->frameRect(&rect); in pageRect()
120 if (SUCCEEDED(m_webView->uiDelegate(&uiDelegate))) { in focus()
121 uiDelegate->webViewFocus(m_webView); in focus()
125 m_webView->updateActiveState(); in focus()
131 if (SUCCEEDED(m_webView->uiDelegate(&uiDelegate))) { in unfocus()
[all …]
DWebEditorClient.cpp130 : m_webView(webView) in WebEditorClient()
150 if (FAILED(m_webView->isContinuousSpellCheckingEnabled(&enabled))) in isContinuousSpellCheckingEnabled()
157 m_webView->toggleContinuousSpellChecking(0); in toggleContinuousSpellChecking()
163 if (FAILED(m_webView->isGrammarCheckingEnabled(&enabled))) in isGrammarCheckingEnabled()
170 m_webView->toggleGrammarChecking(0); in toggleGrammarChecking()
213 m_webView->selectionChanged(); in respondToChangedSelection()
217 …tNotificationName(webViewDidChangeSelectionNotificationName, static_cast<IWebView*>(m_webView), 0); in respondToChangedSelection()
300 m_webView->smartInsertDeleteEnabled(&enabled); in smartInsertDeleteEnabled()
307 m_webView->isSelectTrailingWhitespaceEnabled(&enabled); in isSelectTrailingWhitespaceEnabled()
317 if (SUCCEEDED(m_webView->formDelegate(&formDelegate)) && formDelegate) { in textFieldDidBeginEditing()
[all …]
DWebDragClient.cpp89 : m_webView(webView) in WebDragClient()
100 if (SUCCEEDED(m_webView->uiDelegate(&delegateRef))) in actionMaskForDrag()
101 … delegateRef->dragDestinationActionMaskForDraggingInfo(m_webView, dragData->platformData(), &mask); in actionMaskForDrag()
111 if (SUCCEEDED(m_webView->uiDelegate(&delegateRef))) in willPerformDragDestinationAction()
112 …delegateRef->willPerformDragDestinationAction(m_webView, (WebDragDestinationAction)action, dragDat… in willPerformDragDestinationAction()
119 POINT localpt = core(m_webView)->mainFrame()->view()->windowToContents(windowPoint); in dragSourceActionMaskForPoint()
120 if (SUCCEEDED(m_webView->uiDelegate(&delegateRef))) in dragSourceActionMaskForPoint()
121 delegateRef->dragSourceActionMaskForPoint(m_webView, &localpt, &action); in dragSourceActionMaskForPoint()
128 if (!SUCCEEDED(m_webView->uiDelegate(&uiDelegate))) in willPerformDragSourceAction()
135 …HRESULT result = uiDelegate->willPerformDragSourceAction(m_webView, static_cast<WebDragSourceActio… in willPerformDragSourceAction()
[all …]
DWebGeolocationControllerClient.cpp36 : m_webView(webView) in WebGeolocationControllerClient()
48 if (FAILED(m_webView->geolocationProvider(&provider))) in startUpdating()
50 provider->registerWebView(m_webView.get()); in startUpdating()
56 if (FAILED(m_webView->geolocationProvider(&provider))) in stopUpdating()
58 provider->registerWebView(m_webView.get()); in stopUpdating()
65 if (FAILED(m_webView->geolocationProvider(&provider))) in lastPosition()
DWebInspectorClient.cpp116 m_webView.adoptRef(WebView::createInstance()); in createPage()
118 if (FAILED(m_webView->setHostWindow((OLE_HANDLE)(ULONG64)m_hwnd))) in createPage()
123 if (FAILED(m_webView->initWithFrame(rect, 0, 0))) in createPage()
127 if (FAILED(m_webView->setUIDelegate(delegate.get()))) in createPage()
172 if (FAILED(m_webView->setPreferences(preferences.get()))) in createPage()
175 m_webView->setProhibitsMainFrameScrolling(TRUE); in createPage()
177 if (FAILED(m_webView->viewWindow(reinterpret_cast<OLE_HANDLE*>(&m_webViewHwnd)))) in createPage()
191 if (FAILED(m_webView->topLevelFrame()->loadRequest(request.get()))) in createPage()
194 return core(m_webView.get()); in createPage()
324 ASSERT(m_webView); in closeWindowWithoutNotifications()
[all …]
DWebContextMenuClient.cpp47 : m_webView(webView) in WebContextMenuClient()
97 if (FAILED(m_webView->uiDelegate(&uiDelegate))) in getCustomMenuFromDefaultItems()
106 …if (FAILED(uiDelegate->contextMenuItemsForElement(m_webView, propertyBag.get(), (OLE_HANDLE)(ULONG… in getCustomMenuFromDefaultItems()
116 if (FAILED(m_webView->uiDelegate(&uiDelegate))) in contextMenuItemSelected()
124 …uiDelegate->contextMenuItemSelected(m_webView, item->releasePlatformDescription(), propertyBag.get… in contextMenuItemSelected()
129 m_webView->downloadURL(url); in downloadURL()
DWebPluginHalterClient.cpp38 : m_webView(webView) in WebPluginHalterClient()
48 if (FAILED(m_webView->pluginHalterDelegate(&d)) || !d) in shouldHaltPlugin()
54 …if (FAILED(d->shouldHaltPlugin(m_webView, domNode.get(), isWindowed, BString(pluginName), &shouldH… in shouldHaltPlugin()
63 if (FAILED(m_webView->pluginHalterDelegate(&d)) || !d) in enabled()
/external/webkit/WebKit/win/
DWebInspector.cpp51 , m_webView(webView) in WebInspector()
67 m_webView = 0; in webViewClosed()
102 if (m_webView) in show()
103 if (Page* page = m_webView->page()) in show()
111 if (m_webView) in showConsole()
112 if (Page* page = m_webView->page()) in showConsole()
125 if (m_webView) in close()
126 if (Page* page = m_webView->page()) in close()
134 if (m_webView) in attach()
135 if (Page* page = m_webView->page()) in attach()
[all …]
/external/webkit/WebKit/mac/WebCoreSupport/
DWebChromeClient.mm108 : m_webView(webView) function
122 NSRect windowRect = toDeviceSpace(rect, [m_webView window]);
123 [[m_webView _UIDelegateForwarder] webView:m_webView setFrame:windowRect];
128 NSRect windowRect = [[m_webView _UIDelegateForwarder] webViewFrame:m_webView];
129 return toUserSpace(windowRect, [m_webView window]);
135 return [m_webView frame];
140 if (NSWindow *window = [m_webView window])
147 [[m_webView _UIDelegateForwarder] webViewFocus:m_webView];
152 [[m_webView _UIDelegateForwarder] webViewUnfocus:m_webView];
165 // Since we're trying to move focus out of m_webView, and because
[all …]
DWebEditorClient.mm168 : m_webView(webView) function
176 return [m_webView isContinuousSpellCheckingEnabled];
181 [m_webView toggleContinuousSpellChecking:nil];
189 return [m_webView isGrammarCheckingEnabled];
196 [m_webView toggleGrammarChecking:nil];
202 return [m_webView spellCheckerDocumentTag];
207 return [m_webView isEditable];
212 return [[m_webView _editingDelegateForwarder] webView:m_webView
218 return [[m_webView _editingDelegateForwarder] webView:m_webView
224 return [m_webView smartInsertDeleteEnabled];
[all …]
DWebDragClient.mm51 : m_webView(webView) function
64 …return (WebCore::DragDestinationAction)[[m_webView _UIDelegateForwarder] webView:m_webView dragDes…
69 …[[m_webView _UIDelegateForwarder] webView:m_webView willPerformDragDestinationAction:(WebDragDesti…
75 NSPoint viewPoint = [m_webView convertPoint:windowPoint fromView:nil];
76 …return (DragSourceAction)[[m_webView _UIDelegateForwarder] webView:m_webView dragSourceActionMaskF…
82 …[[m_webView _UIDelegateForwarder] webView:m_webView willPerformDragSourceAction:(WebDragSourceActi…
104 id delegate = [m_webView UIDelegate];
107 if ([m_webView _catchesDelegateExceptions]) {
109 …[delegate webView:m_webView dragImage:dragNSImage at:at offset:NSZeroSize event:event pasteboard:p…
114 …[delegate webView:m_webView dragImage:dragNSImage at:at offset:NSZeroSize event:event pasteboard:p…
DWebGeolocationControllerClient.mm34 : m_webView(webView) function
45 [[m_webView _geolocationProvider] registerWebView:m_webView];
50 [[m_webView _geolocationProvider] unregisterWebView:m_webView];
56 return core([[m_webView _geolocationProvider] lastPosition]);
/external/webkit/WebKit/gtk/WebCoreSupport/
DChromeClientGtk.cpp54 : m_webView(webView) in ChromeClient()
56 ASSERT(m_webView); in ChromeClient()
66 GtkWidget* window = gtk_widget_get_toplevel(GTK_WIDGET(m_webView)); in windowRect()
83 WebKitWebWindowFeatures* webWindowFeatures = webkit_web_view_get_window_features(m_webView); in windowRect()
95 GtkAllocation allocation = GTK_WIDGET(m_webView)->allocation; in windowRect()
107 gtk_widget_grab_focus(GTK_WIDGET(m_webView)); in windowRect()
112 GtkWidget* window = gtk_widget_get_toplevel(GTK_WIDGET(m_webView)); in windowRect()
125 g_signal_emit_by_name(m_webView, "create-web-view", kit(frame), &webView); in windowRect()
142 webkit_web_view_notify_ready(m_webView); in windowRect()
158 WebKitWebWindowFeatures* webWindowFeatures = webkit_web_view_get_window_features(m_webView); in windowRect()
[all …]
DInspectorClientGtk.cpp40 : m_webView(0) in InspectorClient()
55 m_webView = 0; in webViewDestroyed()
67 if (m_webView) { in createPage()
84 g_signal_emit_by_name(m_webInspector, "inspect-web-view", m_inspectedWebView, &m_webView); in createPage()
86 if (!m_webView) { in createPage()
91 webkit_web_inspector_set_web_view(m_webInspector, m_webView); in createPage()
93 g_signal_connect(m_webView, "destroy", in createPage()
106 webkit_web_view_load_uri(m_webView, inspectorURI.get()); in createPage()
108 gtk_widget_show(GTK_WIDGET(m_webView)); in createPage()
110 return core(m_webView); in createPage()
[all …]
DEditorClientGtk.cpp92 WebKitWebViewPrivate* priv = m_webView->priv; in setInputMethodState()
120 WebKitWebSettings* settings = webkit_web_view_get_settings(m_webView); in isContinuousSpellCheckingEnabled()
192 WebKitWebViewPrivate* priv = m_webView->priv; in respondToChangedSelection()
193 WebCore::Page* corePage = core(m_webView); in respondToChangedSelection()
203 … GtkClipboard* clipboard = gtk_widget_get_clipboard(GTK_WIDGET(m_webView), GDK_SELECTION_PRIMARY); in respondToChangedSelection()
209 pasteboardHelperInstance()->writeClipboardContents(clipboard, m_webView); in respondToChangedSelection()
242 return webkit_web_view_get_editable(m_webView); in isEditable()
324 WebKitWebSettings* settings = webkit_web_view_get_settings(m_webView); in toggleContinuousSpellChecking()
519 Frame* targetFrame = core(m_webView)->focusController()->focusedOrMainFrame(); in handleInputMethodKeydown()
525 WebKitWebViewPrivate* priv = m_webView->priv; in handleInputMethodKeydown()
[all …]
/external/webkit/WebKit/wx/WebKitSupport/
DChromeClientWx.cpp74 m_webView = webView; in ChromeClientWx()
137 wxWebViewNewWindowEvent wkEvent(m_webView); in createWindow()
143 if (m_webView->GetEventHandler()->ProcessEvent(wkEvent)) { in createWindow()
232 if (m_webView) { in addMessageToConsole()
233 wxWebViewConsoleMessageEvent wkEvent(m_webView); in addMessageToConsole()
238 m_webView->GetEventHandler()->ProcessEvent(wkEvent); in addMessageToConsole()
269 if (m_webView) { in runJavaScriptAlert()
270 wxWebViewAlertEvent wkEvent(m_webView); in runJavaScriptAlert()
272 if (!m_webView->GetEventHandler()->ProcessEvent(wkEvent)) in runJavaScriptAlert()
280 if (m_webView) { in runJavaScriptConfirm()
[all …]
DFrameLoaderClientWx.cpp105 m_webView = webview; in setWebView()
110 return m_webView != NULL; in hasWebView()
231 if (m_webView) { in dispatchDidHandleOnloadEvents()
232 wxWebViewLoadEvent wkEvent(m_webView); in dispatchDidHandleOnloadEvents()
235 m_webView->GetEventHandler()->ProcessEvent(wkEvent); in dispatchDidHandleOnloadEvents()
288 if (m_webView) { in dispatchDidStartProvisionalLoad()
289 wxWebViewLoadEvent wkEvent(m_webView); in dispatchDidStartProvisionalLoad()
292 m_webView->GetEventHandler()->ProcessEvent(wkEvent); in dispatchDidStartProvisionalLoad()
299 if (m_webView) { in dispatchDidReceiveTitle()
300 m_webView->SetPageTitle(title); in dispatchDidReceiveTitle()
[all …]
/external/webkit/WebKit/haiku/WebCoreSupport/
DFrameLoaderClientHaiku.cpp68 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()
243 m_webView->SetPageTitle(title); in dispatchDidReceiveTitle()
253 if (m_webView) { in dispatchDidCommitLoad()
262 if (m_webView) { in dispatchDidFinishDocumentLoad()
324 if (m_webView) { in postProgressFinishedNotification()
[all …]
/external/webkit/WebKitTools/DumpRenderTree/wx/
DDumpRenderTreeWx.cpp73 : m_webView(webView) in LayoutWebViewEventHandler()
79m_webView->Connect(wxEVT_WEBVIEW_LOAD, wxWebViewLoadEventHandler(LayoutWebViewEventHandler::OnLoad… in bindEvents()
80m_webView->Connect(wxEVT_WEBVIEW_JS_ALERT, wxWebViewAlertEventHandler(LayoutWebViewEventHandler::O… in bindEvents()
81m_webView->Connect(wxEVT_WEBVIEW_JS_CONFIRM, wxWebViewConfirmEventHandler(LayoutWebViewEventHandle… in bindEvents()
82m_webView->Connect(wxEVT_WEBVIEW_JS_PROMPT, wxWebViewPromptEventHandler(LayoutWebViewEventHandler:… in bindEvents()
83m_webView->Connect(wxEVT_WEBVIEW_CONSOLE_MESSAGE, wxWebViewConsoleMessageEventHandler(LayoutWebVie… in bindEvents()
84m_webView->Connect(wxEVT_WEBVIEW_RECEIVED_TITLE, wxWebViewReceivedTitleEventHandler(LayoutWebViewE… in bindEvents()
85m_webView->Connect(wxEVT_WEBVIEW_WINDOW_OBJECT_CLEARED, wxWebViewWindowObjectClearedEventHandler(L… in bindEvents()
140 wxWebView* m_webView; member in LayoutWebViewEventHandler

123