Home
last modified time | relevance | path

Searched refs:webview (Results 1 – 25 of 89) sorted by relevance

1234

/external/chromium_org/extensions/test/data/web_view/apitest/
Dmain.js56 var webview = document.createElement('webview');
57 webview.src = 'data:text/html,webview test';
58 webview.allowtransparency = true;
60 webview.addEventListener('loadstop', function(e) {
61 embedder.test.assertTrue(webview.hasAttribute('allowtransparency'));
62 webview.allowtransparency = false;
63 embedder.test.assertTrue(webview.allowtransparency);
64 embedder.test.assertTrue(webview.hasAttribute('allowtransparency'));
65 webview.removeAttribute('allowtransparency');
66 embedder.test.assertFalse(webview.allowtransparency);
[all …]
/external/chromium_org/ui/views/controls/webview/
Dwebview_interactive_uitest.cc49 views::WebView* webview = new views::WebView(browser_context()); in TEST_F() local
50 widget->SetContentsView(webview); in TEST_F()
52 webview->RequestFocus(); in TEST_F()
57 EXPECT_EQ(null_text_input_client, webview->GetTextInputClient()); in TEST_F()
59 webview->GetTextInputClient()); in TEST_F()
62 webview->GetWebContents(); in TEST_F()
63 webview->RequestFocus(); in TEST_F()
64 ui::TextInputClient* client1 = webview->GetTextInputClient(); in TEST_F()
72 webview->SetWebContents(web_contents.get()); in TEST_F()
73 ui::TextInputClient* client2 = webview->GetTextInputClient(); in TEST_F()
DBUILD.gn5 component("webview") {
13 "webview.cc",
14 "webview.h",
51 ":webview",
Dwebview.gyp11 # GN version: //ui/views/controls/webview
12 'target_name': 'webview',
40 'webview.cc',
41 'webview.h',
Dwebview_tests.gyp11 # GN version: //ui/views/controls/webview:test_support
27 'webview.gyp:webview',
Dwebview_unittest.cc141 views::WebView* webview = new views::WebView(browser_context()); in TEST_F() local
142 widget->SetContentsView(webview); in TEST_F()
153 webview->SetWebContents(web_contents1.get()); in TEST_F()
171 webview->SetWebContents(web_contents2.get()); in TEST_F()
/external/chromium_org/content/renderer/
Drender_view_impl.cc755 g_view_map.Get().insert(std::make_pair(webview(), this)); in Initialize()
757 webview()->setDeviceScaleFactor(device_scale_factor_); in Initialize()
758 webview()->settings()->setPreferCompositingToLCDTextEnabled( in Initialize()
760 webview()->settings()->setAcceleratedCompositingForTransitionEnabled( in Initialize()
762 webview()->settings()->setThreadedScrollingEnabled( in Initialize()
765 ApplyWebPreferences(webkit_preferences_, webview()); in Initialize()
767 webview()->settings()->setAllowConnectingInsecureWebSocket( in Initialize()
781 webview()->setMainFrame(proxy->web_frame()); in Initialize()
783 webview()->setMainFrame(main_render_frame_->GetWebFrame()); in Initialize()
788 webview()->settings()->setTouchDragDropEnabled(true); in Initialize()
[all …]
Dtext_input_client_observer.cc44 blink::WebView* TextInputClientObserver::webview() { in webview() function in content::TextInputClientObserver
52 webview(), point, baselinePoint); in OnStringAtPoint()
65 size_t index = webview()->focusedFrame()->characterIndexForPoint(web_point); in OnCharacterIndexForPoint()
78 blink::WebFrame* frame = webview()->focusedFrame(); in OnFirstRectForCharacterRange()
92 blink::WebLocalFrame* frame = webview()->focusedFrame()->toWebLocalFrame(); in OnStringForRange()
Drenderer_webapplicationcachehost_impl.cc32 if (!render_view || !render_view->webview() || in OnLogMessage()
33 !render_view->webview()->mainFrame()) in OnLogMessage()
36 blink::WebFrame* frame = render_view->webview()->mainFrame(); in OnLogMessage()
/external/chromium_org/extensions/browser/api/web_view/
Dweb_view_internal_api.cc19 namespace webview = extensions::core_api::web_view_internal;
63 scoped_ptr<webview::Navigate::Params> params( in RunAsyncSafe()
64 webview::Navigate::Params::Create(*args_)); in RunAsyncSafe()
184 scoped_ptr<webview::SetName::Params> params( in RunAsyncSafe()
185 webview::SetName::Params::Create(*args_)); in RunAsyncSafe()
202 scoped_ptr<webview::SetAllowTransparency::Params> params( in RunAsyncSafe()
203 webview::SetAllowTransparency::Params::Create(*args_)); in RunAsyncSafe()
217 scoped_ptr<webview::SetZoom::Params> params( in RunAsyncSafe()
218 webview::SetZoom::Params::Create(*args_)); in RunAsyncSafe()
233 scoped_ptr<webview::GetZoom::Params> params( in RunAsyncSafe()
[all …]
/external/chromium_org/extensions/browser/guest_view/web_view/
Dweb_view_guest.cc103 return (persist_storage ? webview::kPersistPrefix : "") + partition_id; in GetStoragePartitionIdFromSiteURL()
110 if (!create_params.GetString(webview::kStoragePartitionId, &partition_str)) { in ParsePartitionParam()
179 return webview::kAPINamespace; in GetAPINamespace()
257 if (attach_params()->GetString(webview::kAttributeName, &name)) { in DidAttachToEmbedder()
267 if (attach_params()->GetString(webview::kParameterUserAgentOverride, in DidAttachToEmbedder()
275 if (attach_params()->GetString(webview::kAttributeSrc, &src) && !src.empty()) in DidAttachToEmbedder()
299 attach_params()->GetBoolean(webview::kAttributeAllowTransparency, in DidAttachToEmbedder()
335 new GuestViewBase::Event(webview::kEventLoadStop, args.Pass())); in DidStopLoading()
366 args->SetInteger(webview::kOldHeight, old_size.height()); in GuestSizeChangedDueToAutoSize()
367 args->SetInteger(webview::kOldWidth, old_size.width()); in GuestSizeChangedDueToAutoSize()
[all …]
Dweb_view_permission_helper.cc25 return webview::kPermissionTypeDownload; in PermissionTypeToString()
27 return webview::kPermissionTypeFileSystem; in PermissionTypeToString()
29 return webview::kPermissionTypeGeolocation; in PermissionTypeToString()
31 return webview::kPermissionTypeDialog; in PermissionTypeToString()
33 return webview::kPermissionTypeLoadPlugin; in PermissionTypeToString()
35 return webview::kPermissionTypeMedia; in PermissionTypeToString()
37 return webview::kPermissionTypeNewWindow; in PermissionTypeToString()
39 return webview::kPermissionTypePointerLock; in PermissionTypeToString()
301 webview::kMaxOutstandingPermissionRequests) { in RequestPermission()
312 return webview::kInvalidPermissionRequestID; in RequestPermission()
[all …]
Dweb_view_find_helper.cc37 args->SetBoolean(webview::kFindCanceled, canceled); in DispatchFindUpdateEvent()
38 args->SetBoolean(webview::kFindFinalUpdate, final_update); in DispatchFindUpdateEvent()
41 new GuestViewBase::Event(webview::kEventFindReply, args.Pass())); in DispatchFindUpdateEvent()
207 results->SetInteger(webview::kFindNumberOfMatches, number_of_matches_); in PrepareResults()
208 results->SetInteger(webview::kFindActiveMatchOrdinal, active_match_ordinal_); in PrepareResults()
210 rect.SetInteger(webview::kFindRectLeft, selection_rect_.x()); in PrepareResults()
211 rect.SetInteger(webview::kFindRectTop, selection_rect_.y()); in PrepareResults()
212 rect.SetInteger(webview::kFindRectWidth, selection_rect_.width()); in PrepareResults()
213 rect.SetInteger(webview::kFindRectHeight, selection_rect_.height()); in PrepareResults()
214 results->Set(webview::kFindSelectionRect, rect.DeepCopy()); in PrepareResults()
[all …]
Djavascript_dialog_helper.cc54 webview::kDefaultPromptText, in RunJavaScriptDialog()
56 request_info.Set(webview::kMessageText, in RunJavaScriptDialog()
58 request_info.Set(webview::kMessageType, in RunJavaScriptDialog()
/external/chromium_org/chrome/browser/extensions/api/web_view/
Dchrome_web_view_internal_api.cc14 namespace webview = extensions::api::chrome_web_view_internal;
21 scoped_ptr<webview::ContextMenusCreate::Params> params( in RunAsync()
22 webview::ContextMenusCreate::Params::Create(*args_)); in RunAsync()
51 scoped_ptr<webview::ContextMenusUpdate::Params> params( in RunAsync()
52 webview::ContextMenusUpdate::Params::Create(*args_)); in RunAsync()
74 scoped_ptr<webview::ContextMenusRemove::Params> params( in RunAsync()
75 webview::ContextMenusRemove::Params::Create(*args_)); in RunAsync()
110 scoped_ptr<webview::ContextMenusRemoveAll::Params> params( in RunAsync()
111 webview::ContextMenusRemoveAll::Params::Create(*args_)); in RunAsync()
134 scoped_ptr<webview::ShowContextMenu::Params> params( in RunAsyncSafe()
[all …]
/external/chromium_org/chrome/browser/resources/identity_scope_approval_dialog/
Dscope_approval_dialog.js5 var webview; variable
17 webview.addEventListener('newwindow', function(e) {
23 webview.request.onBeforeSendHeaders.addListener(function(details) {
35 webview.src = url;
37 webview.addEventListener('loadstop', function() {
44 webview = document.querySelector('webview');
/external/chromium_org/ui/file_manager/file_manager/foreground/css/
Dshare_dialog.css11 .share-dialog-webview-wrapper {
19 .share-dialog-webview-wrapper:not(.loaded) {
23 .share-dialog-webview {
28 .share-dialog-webview-wrapper:not(.loaded) .share-dialog-webview {
/external/chromium_org/chromecast/shell/renderer/
Dcast_content_renderer_client.cc43 blink::WebView* webview = render_view->GetWebView(); in RenderViewCreated() local
44 if (webview) { in RenderViewCreated()
45 webview->setBaseBackgroundColor(kColorBlack); in RenderViewCreated()
46 webview->settings()->setShrinksViewportContentToFit(false); in RenderViewCreated()
/external/chromium_org/chrome/browser/resources/inspect/
Dinspect.js416 var webview;
418 webview = JSON.parse(data['description']);
422 addWebViewDescription(row, webview);
425 row, webview, data.adbScreenWidth, data.adbScreenHeight);
428 function addWebViewDescription(row, webview) { argument
430 if (!webview.empty) {
431 if (webview.attached && !webview.visible)
433 else if (!webview.attached)
435 viewStatus.size = 'size ' + webview.width + ' \u00d7 ' + webview.height;
439 if (webview.attached) {
[all …]
/external/chromium_org/chrome/browser/guest_view/web_view/
Dchrome_web_view_guest_delegate.cc70 args->Set(webview::kContextMenuItems, items.release()); in HandleContextMenu()
71 args->SetInteger(webview::kRequestId, request_id); in HandleContextMenu()
74 webview::kEventContextMenu, args.Pass())); in HandleContextMenu()
185 item_value->SetInteger(webview::kMenuItemCommandId, in MenuModelToValue()
187 item_value->SetString(webview::kMenuItemLabel, menu_model.GetLabelAt(i)); in MenuModelToValue()
201 args->SetDouble(webview::kOldZoomFactor, current_zoom_factor_); in OnSetZoom()
202 args->SetDouble(webview::kNewZoomFactor, zoom_factor); in OnSetZoom()
205 webview::kEventZoomChange, args.Pass())); in OnSetZoom()
/external/chromium_org/third_party/android_webview_glue/
DREADME.chromium4 URL: https://android.googlesource.com/platform/frameworks/webview
5 SOURCE CODE: git clone https://android.googlesource.com/platform/frameworks/webview.git
11 The AOSP Android WebView glue layer from frameworks/webview.
Dandroid_webview_glue.gypi15 'android_sdk_jar': '../third_party/android_platform/webview/frameworks.jar',
23 'R_package': 'com.android.webview.chromium',
24 'R_package_relpath': 'com/android/webview/chromium',
/external/chromium_org/chrome/browser/devtools/device/adb/
Dadb_client_socket_browsertest.cc84 scoped_refptr<DevToolsAndroidBridge::RemoteBrowser> webview = in CheckDevices() local
86 ASSERT_TRUE(webview.get()); in CheckDevices()
94 ASSERT_EQ("4.0", webview->version()); in CheckDevices()
101 webview->CreatePages(); in CheckDevices()
/external/chromium_org/chrome/common/extensions/api/
DOWNERS9 per-file webview*.json=fsamuel@chromium.org
10 per-file webview*.json=lazyboy@chromium.org
/external/chromium_org/third_party/WebKit/Source/web/
DFrameLoaderClientImpl.cpp137 WebViewImpl* webview = m_webFrame->viewImpl(); in didCreateScriptContext() local
138 if (webview->devToolsAgentPrivate()) in didCreateScriptContext()
139 webview->devToolsAgentPrivate()->didCreateScriptContext(m_webFrame, worldId); in didCreateScriptContext()
174 WebViewImpl* webview = m_webFrame->viewImpl(); in didRemoveAllPendingStylesheet() local
175 if (webview) in didRemoveAllPendingStylesheet()
176 webview->didRemoveAllPendingStylesheet(m_webFrame); in didRemoveAllPendingStylesheet()
539 WebViewImpl* webview = m_webFrame->viewImpl(); in navigateBackForward() local
540 if (!webview->client()) in navigateBackForward()
544 offset = std::min(offset, webview->client()->historyForwardListCount()); in navigateBackForward()
545 offset = std::max(offset, -webview->client()->historyBackListCount()); in navigateBackForward()
[all …]

1234