/cts/tests/tests/webkit/src/android/webkit/cts/ |
WebView_WebViewTransportTest.java | 21 import android.webkit.WebView; 22 import android.webkit.WebView.WebViewTransport; 34 WebView webView = getActivity().getWebView(); 35 WebViewTransport transport = webView.new WebViewTransport(); 39 transport.setWebView(webView); 40 assertSame(webView, transport.getWebView());
|
/external/chromium_org/third_party/WebKit/Source/web/ |
UserMediaClientImpl.cpp | 45 UserMediaClientImpl::UserMediaClientImpl(WebViewImpl* webView) 46 : m_client(webView->client() ? webView->client()->userMediaClient() : 0)
|
MIDIClientImpl.cpp | 45 MIDIClientImpl::MIDIClientImpl(WebViewImpl* webView) 46 : m_client(webView->client() ? webView->client()->webMIDIClient() : 0)
|
WebWorkerClientImpl.cpp | 100 WebView* WebWorkerClientImpl::view() const 111 WebKit::WebViewImpl* webView = m_webFrame->viewImpl(); 112 if (!webView) 114 return !webView->permissionClient() || webView->permissionClient()->allowDatabase(m_webFrame, name, displayName, estimatedSize); 121 WebKit::WebViewImpl* webView = m_webFrame->viewImpl(); 122 if (!webView) 124 return !webView->permissionClient() || webView->permissionClient()->allowFileSystem(m_webFrame); 141 WebKit::WebViewImpl* webView = m_webFrame->viewImpl() [all...] |
ContextMenuClientImpl.h | 43 ContextMenuClientImpl(WebViewImpl* webView) : m_webView(webView) {}
|
GraphicsLayerFactoryChromium.cpp | 36 GraphicsLayerFactoryChromium::GraphicsLayerFactoryChromium(WebViewImpl* webView) 37 : m_webView(webView)
|
DragClientImpl.h | 50 DragClientImpl(WebViewImpl* webView) : m_webView(webView) { }
|
LocalFileSystemClient.cpp | 63 WebKit::WebViewImpl* webView = webFrame->viewImpl(); 65 return !webView->permissionClient() || webView->permissionClient()->allowFileSystem(webFrame);
|
AutofillPopupMenuClient.cpp | 108 WebViewImpl* webView = getWebView(); 109 if (!webView) 124 webView->autofillClient()->didAcceptAutofillSuggestion(WebNode(getTextField()), 133 WebViewImpl* webView = getWebView(); 134 if (!webView) 139 webView->autofillClient()->didSelectAutofillSuggestion(WebNode(getTextField()), 147 WebViewImpl* webView = getWebView(); 148 if (webView) 149 webView->autofillClient()->didClearAutofillSelection(WebNode(getTextField())); 204 WebViewImpl* webView = getWebView() [all...] |
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
WebPluginContainerTest.cpp | 46 #include "WebView.h" 96 WebPluginContainer* getWebPluginContainer(WebView* webView, const WebString& id) 98 WebElement element = webView->mainFrame()->document().getElementById(id); 105 WebView* webView = FrameTestHelpers::createWebViewAndLoad(m_baseURL + "plugin_container.html", true, new TestPluginWebFrameClient()); 106 ASSERT(webView); 107 webView->settings()->setPluginsEnabled(true); 108 webView->resize(WebSize(300, 300)); 109 webView->layout() [all...] |
RenderTableCellTest.cpp | 33 #include "WebView.h" 50 static WebView* webView; 52 if (webView) 53 return static_cast<WebFrameImpl*>(webView->mainFrame())->frame(); 55 webView = FrameTestHelpers::createWebViewAndLoad("about:blank"); 56 webView->setFocus(true); 57 return static_cast<WebFrameImpl*>(webView->mainFrame())->frame();
|
RenderTableRowTest.cpp | 33 #include "WebView.h" 50 static WebView* webView; 52 if (webView) 53 return static_cast<WebFrameImpl*>(webView->mainFrame())->frame(); 55 webView = FrameTestHelpers::createWebViewAndLoad("about:blank"); 56 webView->setFocus(true); 57 return static_cast<WebFrameImpl*>(webView->mainFrame())->frame();
|
FrameTestHelpers.cpp | 39 #include "WebView.h" 77 WebView* createWebView(bool enableJavascript, WebFrameClient* webFrameClient, WebViewClient* webViewClient) 83 WebView* webView = WebView::create(webViewClient); 84 webView->settings()->setJavaScriptEnabled(enableJavascript); 85 webView->settings()->setDeviceSupportsMouse(false); 86 webView->settings()->setForceCompositingMode(true); 87 webView->initializeMainFrame(webFrameClient); 89 return webView; [all...] |
WebViewTest.cpp | 32 #include "WebView.h" 79 void setWebView(WebView* webView) { m_webView = static_cast<WebViewImpl*>(webView); } 236 WebView* webView = FrameTestHelpers::createWebView(); 237 EXPECT_EQ(kWhite, webView->backgroundColor()); 239 webView->setBaseBackgroundColor(kBlue); 240 EXPECT_EQ(kBlue, webView->backgroundColor()); 243 webView->mainFrame()->loadHTMLString [all...] |
ProgrammaticScrollTest.cpp | 14 #include "WebView.h" 85 WebView* webView = FrameTestHelpers::createWebViewAndLoad(m_baseURL + "short_scroll.html", false, 0, &client); 86 webView->resize(WebSize(1000, 1000)); 87 webView->layout(); 89 WebViewImpl* webViewImpl = static_cast<WebViewImpl*>(webView); 96 webView->close(); 104 WebView* webView = FrameTestHelpers::createWebViewAndLoad(m_baseURL + "long_scroll.html", true, 0, &client); 105 webView->resize(WebSize(1000, 1000)) [all...] |
/frameworks/webview/chromium/tools/WebViewShell/src/com/android/webview/chromium/shell/ |
TelemetryActivity.java | 17 package com.android.webview.chromium.shell; 22 import android.webkit.WebView; 34 WebView webView = (WebView) findViewById(R.id.webview); 36 webView.getSettings().setJavaScriptEnabled(true); 38 webView.setWebViewClient(new WebViewClient() { 40 public boolean shouldOverrideUrlLoading(WebView webView, String url) [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
WebViewTest.java | 6 import android.webkit.WebView; 24 private WebView webView; 29 webView = new WebView(null); 30 shadowWebView = Robolectric.shadowOf(webView); 35 webView.loadUrl("http://example.com"); 36 assertThat(shadowOf(webView).getLastLoadedUrl(), equalTo("http://example.com")); 41 webView.loadData("<html><body><h1>Hi</h1></body></html>", "text/html", "utf-8"); 42 ShadowWebView.LoadData lastLoadData = shadowOf(webView).getLastLoadData() [all...] |
/external/chromium_org/third_party/libjingle/source/talk/examples/android/src/org/appspot/apprtc/ |
GAEChannelClient.java | 36 import android.webkit.WebView; 49 private WebView webView; 69 webView = new WebView(activity); 70 webView.getSettings().setJavaScriptEnabled(true); 71 webView.setWebChromeClient(new WebChromeClient() { // Purely for debugging. 78 webView.setWebViewClient(new WebViewClient() { // Purely for debugging. 80 WebView view, int errorCode, String description, 88 webView.addJavascriptInterface [all...] |
/packages/apps/Browser/src/com/android/browser/preferences/ |
WebViewPreview.java | 27 import android.webkit.WebView; 34 protected WebView mWebView; 58 protected void setupWebView(WebView view) {} 63 WebView webView = (WebView) root.findViewById(R.id.webview); 64 // Tell WebView to really, truly ignore all touch events. No, seriously, 66 webView.setFocusable(false); 67 webView.setFocusableInTouchMode(false) [all...] |
/frameworks/base/tests/WebViewTests/src/com/android/webviewtests/ |
JavaBridgeTestBase.java | 18 * Common functionality for testing the WebView's Java Bridge. 25 import android.webkit.WebView; 34 public synchronized void onPageFinished(WebView webView, String url) { 81 // Sets up the WebView and injects the supplied object. Intended to be called from setUp(). 92 WebView webView = activity.getWebView(); 93 webView.addJavascriptInterface(object, name); 94 webView.getSettings().setJavaScriptEnabled(true); 95 webView.setWebViewClient(mWebViewClient) [all...] |
/external/chromium_org/third_party/WebKit/Source/testing/runner/ |
TextInputController.h | 41 class WebView; 50 void setWebView(WebKit::WebView* webView) { m_webView = webView; } 63 WebKit::WebView* m_webView;
|
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/ |
PowerTestActivity.java | 29 import android.webkit.WebView; 46 private WebView webView; 74 webView = new WebView(this); 75 webView.getSettings().setJavaScriptEnabled(true); 76 webView.getSettings().setJavaScriptCanOpenWindowsAutomatically(false); 77 webView.getSettings().setLayoutAlgorithm(LayoutAlgorithm.NORMAL); 81 webView.setWebViewClient(webViewClient); 82 webView.setWebChromeClient(chromeClient) [all...] |
/external/chromium/webkit/glue/ |
webview_unittest.cc | 6 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" 9 using WebKit::WebView; 15 WebView* view = test_shell_->webView();
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
Focus1.java | 23 import android.webkit.WebView; 37 WebView webView = (WebView) findViewById(R.id.rssWebView); 38 webView.loadData(
|
/frameworks/base/core/java/android/webkit/ |
WebViewFactoryProvider.java | 22 * This is the main entry-point into the WebView back end implementations, which the WebView 24 * implementation of this interface, and make it available to the WebView via mechanism TBD. 29 * This Interface provides glue for implementing the backend of WebView static methods which 35 * {@link android.webkit.WebView#findAddress(String)} 41 * {@link android.webkit.WebView#enablePlatformNotifications()} 42 * {@link android.webkit.WebView#disablePlatformNotifications()} 54 * {@link android.webkit.WebView#setWebContentsDebuggingEnabled(boolean) } 63 * @param webView the WebView instance bound to this implementation instance. Note it will no [all...] |