void InjectedBundlePageUIClient::willRunJavaScriptPrompt(WebPage* page, const String& message, const String& defaultValue, WebFrame* frame) { if (m_client.willRunJavaScriptPrompt) m_client.willRunJavaScriptPrompt(toAPI(page), toAPI(message.impl()), toAPI(defaultValue.impl()), toAPI(frame), m_client.base.clientInfo); }
void WebViewClientNix::didFindZoomableArea(WebView* view, WKPoint target, WKRect area) { if (!m_client.didFindZoomableArea) return; m_client.didFindZoomableArea(toAPI(view), target, area, m_client.clientInfo); }
void InjectedBundlePageUIClient::willAddMessageToConsole(WebPage* page, const String& message, int32_t lineNumber) { if (m_client.willAddMessageToConsole) m_client.willAddMessageToConsole(toAPI(page), toAPI(message.impl()), lineNumber, m_client.base.clientInfo); }
void InjectedBundlePageUIClient::willRunJavaScriptAlert(WebPage* page, const String& alertText, WebFrame* frame) { if (m_client.willRunJavaScriptAlert) m_client.willRunJavaScriptAlert(toAPI(page), toAPI(alertText.impl()), toAPI(frame), m_client.base.clientInfo); }
void InjectedBundlePageDiagnosticLoggingClient::logDiagnosticMessage(WebPage* page, const String& message, const String& description, const String& success) { if (!m_client.logDiagnosticMessage) return; m_client.logDiagnosticMessage(toAPI(page), toAPI(message.impl()), toAPI(description.impl()), toAPI(success.impl()), m_client.base.clientInfo); }
void WebLoaderClient::willGoToBackForwardListItem(WebPageProxy* page, WebBackForwardListItem* item, APIObject* userData) { if (m_client.willGoToBackForwardListItem) m_client.willGoToBackForwardListItem(toAPI(page), toAPI(item), toAPI(userData), m_client.clientInfo); }
bool WebInspectorClientGtk::detach(WebInspectorProxy* inspector) { if (!m_client.detach) return false; return m_client.detach(toAPI(inspector), m_client.base.clientInfo); }
bool WebUIClient::isResizable(WebPageProxy* page) { if (!m_client.isResizable) return true; return m_client.isResizable(toAPI(page), m_client.clientInfo); }
bool WebInspectorClientGtk::bringToFront(WebInspectorProxy* inspector) { if (!m_client.bringToFront) return false; return m_client.bringToFront(toAPI(inspector), m_client.base.clientInfo); }
void WebInspectorClientGtk::inspectedURLChanged(WebInspectorProxy* inspector, const String& url) { if (!m_client.inspectedURLChanged) return; m_client.inspectedURLChanged(toAPI(inspector), toAPI(url.impl()), m_client.base.clientInfo); }
void WebInspectorClientGtk::didClose(WebInspectorProxy* inspector) { if (!m_client.didClose) return; m_client.didClose(toAPI(inspector), m_client.base.clientInfo); }
bool WebInspectorClientGtk::openWindow(WebInspectorProxy* inspector) { if (!m_client.openWindow) return false; return m_client.openWindow(toAPI(inspector), m_client.base.clientInfo); }
WKPageRef QRawWebView::pageRef() { return toAPI(d->m_webPageProxy.get()); }
bool WebUIClient::statusBarIsVisible(WebPageProxy* page) { if (!m_client.statusBarIsVisible) return true; return m_client.statusBarIsVisible(toAPI(page), m_client.clientInfo); }
void WebInspectorClientGtk::didChangeAttachedHeight(WebInspectorProxy* inspector, unsigned height) { if (!m_client.didChangeAttachedHeight) return; m_client.didChangeAttachedHeight(toAPI(inspector), height, m_client.base.clientInfo); }
void WebUIClient::setStatusBarIsVisible(WebPageProxy* page, bool visible) { if (!m_client.setStatusBarIsVisible) return; m_client.setStatusBarIsVisible(toAPI(page), visible, m_client.clientInfo); }
void QQuickWebPagePrivate::initialize(WebKit::WebPageProxy* webPageProxy) { this->webPageProxy = webPageProxy; eventHandler.reset(new QtWebPageEventHandler(toAPI(webPageProxy), q, viewportItem)); }
void WebUIClient::setIsResizable(WebPageProxy* page, bool resizable) { if (!m_client.setIsResizable) return; m_client.setIsResizable(toAPI(page), resizable, m_client.clientInfo); }
void InjectedBundlePageEditorClient::didEndEditing(WebPage* page, StringImpl* notificationName) { if (m_client.didEndEditing) m_client.didEndEditing(toAPI(page), toAPI(notificationName), m_client.clientInfo); }
void WebViewNix::didFindZoomableArea(const IntPoint& target, const IntRect& area) { m_viewClientNix.didFindZoomableArea(this, toAPI(target), toAPI(area)); }
void InjectedBundlePageEditorClient::didChangeSelection(WebPage* page, StringImpl* notificationName) { if (m_client.didChangeSelection) m_client.didChangeSelection(toAPI(page), toAPI(notificationName), m_client.clientInfo); }
String InjectedBundlePageUIClient::plugInStartLabelSubtitle(const String& mimeType) const { if (!m_client.createPlugInStartLabelSubtitle) return String(); RefPtr<API::String> subtitle = adoptRef(toImpl(m_client.createPlugInStartLabelSubtitle(toAPI(mimeType.impl()), m_client.base.clientInfo))); return subtitle ? subtitle->string() : String(); }
void WebColorPickerEfl::showColorPicker(const WebCore::Color& color) { m_webView->colorPickerClient().showColorPicker(m_webView, color.serialized(), toAPI(m_colorPickerResultListener.get())); }
void InjectedBundlePageUIClient::willSetStatusbarText(WebPage* page, const String& statusbarText) { if (m_client.willSetStatusbarText) m_client.willSetStatusbarText(toAPI(page), toAPI(statusbarText.impl()), m_client.base.clientInfo); }
void WebUIClient::didNotHandleWheelEvent(WebPageProxy* page, const NativeWebWheelEvent& event) { if (!m_client.didNotHandleWheelEvent) return; m_client.didNotHandleWheelEvent(toAPI(page), event.nativeEvent(), m_client.clientInfo); }
void InjectedBundlePageUIClient::willRunJavaScriptConfirm(WebPage* page, const String& message, WebFrame* frame) { if (m_client.willRunJavaScriptConfirm) m_client.willRunJavaScriptConfirm(toAPI(page), toAPI(message.impl()), toAPI(frame), m_client.base.clientInfo); }
void WebUIClient::setToolbarsAreVisible(WebPageProxy* page, bool visible) { if (!m_client.setToolbarsAreVisible) return; m_client.setToolbarsAreVisible(toAPI(page), visible, m_client.clientInfo); }
String InjectedBundlePageUIClient::shouldGenerateFileForUpload(WebPage* page, const String& originalFilePath) { if (!m_client.shouldGenerateFileForUpload) return String(); RefPtr<API::String> generatedFilePath = adoptRef(toImpl(m_client.shouldGenerateFileForUpload(toAPI(page), toAPI(originalFilePath.impl()), m_client.base.clientInfo))); return generatedFilePath ? generatedFilePath->string() : String(); }
void WebViewClientNix::doneWithTouchEvent(WebView* view, const NIXTouchEvent& event, bool wasEventHandled) { if (!m_client.doneWithTouchEvent) return; m_client.doneWithTouchEvent(toAPI(view), &event, wasEventHandled, m_client.clientInfo); }