Searched refs:web_contents (Results 26 - 50 of 1244) sorted by relevance

1234567891011>>

/external/chromium_org/chrome/browser/ui/views/tab_contents/
H A Dchrome_web_contents_view_delegate_views_unittest.cc9 #include "content/public/browser/web_contents.h"
14 // Test that makes sure ShowContextMenu does not crash if web_contents() does
18 chrome::CreateWebContentsViewDelegate(web_contents()));
19 EXPECT_FALSE(web_contents()->GetFocusedFrame());
21 delegate_view->ShowContextMenu(web_contents()->GetMainFrame(), params);
/external/chromium_org/chrome/browser/ui/app_modal_dialogs/
H A Djavascript_dialog_manager.cc19 #include "content/public/browser/web_contents.h"
41 // Returns the ProcessManager for the browser context from |web_contents|.
43 WebContents* web_contents) {
45 web_contents->GetBrowserContext())->process_manager();
48 // Returns the extension associated with |web_contents| or NULL if there is no
50 const Extension* GetExtensionForWebContents(WebContents* web_contents) { argument
51 extensions::ProcessManager* pm = GetExtensionsProcessManager(web_contents);
52 return pm->GetExtensionForRenderViewHost(web_contents->GetRenderViewHost());
59 void IncrementLazyKeepaliveCount(WebContents* web_contents) { argument
61 const Extension* extension = GetExtensionForWebContents(web_contents);
42 GetExtensionsProcessManager( WebContents* web_contents) argument
74 DecrementLazyKeepaliveCount(WebContents* web_contents) argument
156 RunJavaScriptDialog( WebContents* web_contents, const GURL& origin_url, const std::string& accept_lang, content::JavaScriptMessageType message_type, const base::string16& message_text, const base::string16& default_prompt_text, const DialogClosedCallback& callback, bool* did_suppress_message) argument
208 RunBeforeUnloadDialog( WebContents* web_contents, const base::string16& message_text, bool is_reload, const DialogClosedCallback& callback) argument
237 HandleJavaScriptDialog( WebContents* web_contents, bool accept, const base::string16* prompt_override) argument
259 WebContentsDestroyed( WebContents* web_contents) argument
265 GetTitle( WebContents* web_contents, const GURL& origin_url, const std::string& accept_lang, bool is_alert) argument
296 CancelActiveAndPendingDialogs( WebContents* web_contents) argument
309 OnDialogClosed( WebContents* web_contents, DialogClosedCallback callback, bool success, const base::string16& user_input) argument
[all...]
/external/chromium_org/chrome/browser/ui/find_bar/
H A Dfind_bar_host_interactive_uitest.cc14 #include "content/public/browser/web_contents.h"
33 int FindInPageWchar(WebContents* web_contents, argument
39 Browser* browser = chrome::FindBrowserWithWebContents(web_contents);
43 web_contents, search_str16, forward, case_sensitive, ordinal, NULL);
50 bool FocusedOnPage(WebContents* web_contents, std::string* result)
53 bool FocusedOnPage(WebContents* web_contents, std::string* result) { argument
55 web_contents,
74 WebContents* web_contents = local
76 ASSERT_TRUE(NULL != web_contents);
78 FindTabHelper::FromWebContents(web_contents);
[all...]
/external/chromium_org/content/browser/accessibility/
H A Daccessibility_mode_browsertest.cc9 #include "content/browser/web_contents/web_contents_impl.h"
13 #include "content/public/browser/web_contents.h"
28 WebContentsImpl* web_contents() { function in class:content::AccessibilityModeTest
29 return static_cast<WebContentsImpl*>(shell()->web_contents());
37 web_contents()->GetRootBrowserAccessibilityManager()) << message;
41 web_contents()->GetRootBrowserAccessibilityManager()) << message;
69 web_contents()->GetAccessibilityMode());
77 web_contents()->GetAccessibilityMode());
80 web_contents()->AddAccessibilityMode(AccessibilityModeComplete);
81 EXPECT_EQ(AccessibilityModeComplete, web_contents()
[all...]
/external/chromium_org/android_webview/browser/
H A Daw_contents_client_bridge_base.cc9 #include "content/public/browser/web_contents.h"
25 content::WebContents* web_contents) {
26 if (!web_contents)
29 web_contents->GetUserData(kAwContentsClientBridgeBase));
44 WebContents* web_contents,
46 web_contents->SetUserData(kAwContentsClientBridgeBase,
51 WebContents* web_contents) {
52 web_contents->RemoveUserData(kAwContentsClientBridgeBase);
57 WebContents* web_contents) {
58 return UserData::GetContents(web_contents);
24 GetContents( content::WebContents* web_contents) argument
43 Associate( WebContents* web_contents, AwContentsClientBridgeBase* handler) argument
50 Disassociate( WebContents* web_contents) argument
56 FromWebContents( WebContents* web_contents) argument
68 content::WebContents* web_contents = local
[all...]
H A Daw_javascript_dialog_manager.cc9 #include "content/public/browser/web_contents.h"
18 content::WebContents* web_contents,
27 AwContentsClientBridgeBase::FromWebContents(web_contents);
41 content::WebContents* web_contents,
46 AwContentsClientBridgeBase::FromWebContents(web_contents);
52 bridge->RunBeforeUnloadDialog(web_contents->GetURL(),
58 content::WebContents* web_contents) {
62 content::WebContents* web_contents) {
17 RunJavaScriptDialog( content::WebContents* web_contents, const GURL& origin_url, const std::string& accept_lang, content::JavaScriptMessageType message_type, const base::string16& message_text, const base::string16& default_prompt_text, const DialogClosedCallback& callback, bool* did_suppress_message) argument
40 RunBeforeUnloadDialog( content::WebContents* web_contents, const base::string16& message_text, bool is_reload, const DialogClosedCallback& callback) argument
57 CancelActiveAndPendingDialogs( content::WebContents* web_contents) argument
61 WebContentsDestroyed( content::WebContents* web_contents) argument
/external/chromium_org/chrome/browser/renderer_context_menu/
H A Dcontext_menu_content_type_factory.cc10 #include "content/public/browser/web_contents.h"
42 content::WebContents* web_contents,
44 return SetInternalResourcesURLChecker(CreateInternal(web_contents, params));
58 content::WebContents* web_contents,
61 if (extensions::WebViewGuest::FromWebContents(web_contents))
62 return new ContextMenuContentTypeWebView(web_contents, params);
65 return new ContextMenuContentTypeAppMode(web_contents, params);
67 const extensions::ViewType view_type = extensions::GetViewType(web_contents);
71 return new ContextMenuContentTypePlatformApp(web_contents, params);
74 return new ContextMenuContentTypeExtensionPopup(web_contents, param
41 Create( content::WebContents* web_contents, const content::ContextMenuParams& params) argument
57 CreateInternal( content::WebContents* web_contents, const content::ContextMenuParams& params) argument
[all...]
/external/chromium_org/chrome/browser/ui/search/
H A Dinstant_page.cc19 #include "content/public/browser/web_contents.h"
26 if (web_contents()) {
27 SearchTabHelper::FromWebContents(web_contents())->model()->RemoveObserver(
33 return web_contents() &&
34 SearchTabHelper::FromWebContents(web_contents())->SupportsInstant();
42 return web_contents() &&
43 web_contents()->GetURL() == GURL(chrome::kChromeSearchLocalNtpUrl);
62 SearchTabHelper::FromWebContents(web_contents())->model();
80 delegate_->InstantPageAboutToNavigateMainFrame(web_contents(), url);
90 delegate_->InstantSupportDetermined(web_contents(), supports_instan
[all...]
H A Dsearch_delegate_unittest.cc21 content::WebContents* web_contents = local
23 SearchTabHelper::FromWebContents(web_contents)->model()->
31 web_contents = browser()->tab_strip_model()->GetWebContentsAt(1);
32 SearchTabHelper::FromWebContents(web_contents)->model()->
38 web_contents = browser()->tab_strip_model()->GetWebContentsAt(0);
39 SearchTabHelper::FromWebContents(web_contents)->model()->
H A Dsearch_delegate.h35 void OnTabActivated(content::WebContents* web_contents);
39 void OnTabDeactivated(content::WebContents* web_contents);
43 void OnTabDetached(content::WebContents* web_contents);
47 void StopObservingTab(content::WebContents* web_contents);
/external/chromium_org/chrome/browser/ui/webui/
H A Dconstrained_web_dialog_ui_browsertest.cc14 #include "content/public/browser/web_contents.h"
50 bool IsShowingWebContentsModalDialog(WebContents* web_contents) const {
52 WebContentsModalDialogManager::FromWebContents(web_contents);
62 WebContents* web_contents = local
64 ASSERT_TRUE(web_contents);
67 CreateConstrainedWebDialog(browser()->profile(), delegate, web_contents);
70 EXPECT_TRUE(IsShowingWebContentsModalDialog(web_contents));
79 WebContents* web_contents = local
81 ASSERT_TRUE(web_contents);
84 CreateConstrainedWebDialog(browser()->profile(), delegate, web_contents);
[all...]
/external/chromium_org/chrome/browser/download/
H A Ddownload_request_limiter_unittest.cc16 #include "content/public/browser/web_contents.h"
68 InfoBarService::CreateForWebContents(web_contents());
70 PermissionBubbleManager::CreateForWebContents(web_contents());
73 PermissionBubbleManager::FromWebContents(web_contents());
124 CanDownloadFor(web_contents());
127 void CanDownloadFor(WebContents* web_contents) { argument
129 web_contents,
137 OnUserGestureFor(web_contents());
140 void OnUserGestureFor(WebContents* web_contents) { argument
142 download_request_limiter_->GetDownloadState(web_contents, NUL
[all...]
H A Ddownload_permission_request.cc8 #include "content/public/browser/web_contents.h"
37 const content::WebContents* web_contents = host_->web_contents(); local
38 if (web_contents) {
39 return web_contents->GetURL();
/external/chromium_org/chrome/browser/ui/bookmarks/
H A Dbookmark_tab_helper.cc19 #include "content/public/browser/web_contents.h"
23 bool IsNTPWebUI(content::WebContents* web_contents) { argument
27 if (web_contents->GetController().GetLastCommittedEntry())
28 web_ui = web_contents->GetCommittedWebUI();
30 web_ui = web_contents->GetWebUI();
34 bool IsInstantNTP(content::WebContents* web_contents) { argument
38 web_contents->GetController().GetLastCommittedEntry();
40 entry = web_contents->GetController().GetVisibleEntry();
41 return chrome::NavEntryIsInstantNTP(web_contents, entry);
54 if (web_contents()
79 BookmarkTabHelper(content::WebContents* web_contents) argument
[all...]
/external/chromium_org/chrome/browser/extensions/
H A Dextension_action_test_util.cc14 #include "content/public/browser/web_contents.h"
23 size_t GetPageActionCount(content::WebContents* web_contents, argument
25 DCHECK(web_contents);
27 int tab_id = SessionTabHelper::IdForTab(web_contents);
34 TabHelper::FromWebContents(web_contents)->
48 Profile::FromBrowserContext(web_contents->GetBrowserContext()));
51 ExtensionActionManager::Get(web_contents->GetBrowserContext());
66 size_t GetVisiblePageActionCount(content::WebContents* web_contents) { argument
67 return GetPageActionCount(web_contents, true);
70 size_t GetTotalPageActionCount(content::WebContents* web_contents) { argument
[all...]
/external/chromium_org/athena/extensions/shell/
H A Dathena_shell_app_delegate.cc7 #include "content/public/browser/web_contents.h"
19 content::WebContents* web_contents) {
26 content::WebContents* web_contents,
39 content::WebContents* web_contents,
44 web_contents, request, callback, extension);
48 content::WebContents* web_contents,
57 content::WebContents* web_contents,
18 InitWebContents( content::WebContents* web_contents) argument
25 ShowColorChooser( content::WebContents* web_contents, SkColor initial_color) argument
38 RequestMediaAccessPermission( content::WebContents* web_contents, const content::MediaStreamRequest& request, const content::MediaResponseCallback& callback, const extensions::Extension* extension) argument
47 CheckMediaAccessPermission( content::WebContents* web_contents, const GURL& security_origin, content::MediaStreamType type, const extensions::Extension* extension) argument
56 SetWebContentsBlocked( content::WebContents* web_contents, bool blocked) argument
/external/chromium_org/chrome/browser/predictors/
H A Dresource_prefetch_predictor_tab_helper.cc21 content::WebContents* web_contents)
22 : content::WebContentsObserver(web_contents) {
33 web_contents()->GetBrowserContext());
37 NavigationID navigation_id(web_contents());
47 web_contents()->GetBrowserContext());
52 summary.navigation_id = NavigationID(web_contents());
20 ResourcePrefetchPredictorTabHelper( content::WebContents* web_contents) argument
/external/chromium_org/content/public/browser/
H A Dweb_contents_observer.cc7 #include "content/browser/web_contents/web_contents_impl.h"
13 WebContentsObserver::WebContentsObserver(WebContents* web_contents) argument
15 Observe(web_contents);
27 WebContents* WebContentsObserver::web_contents() const { function in class:content::WebContentsObserver
31 void WebContentsObserver::Observe(WebContents* web_contents) { argument
32 if (web_contents == web_contents_) {
38 web_contents_ = static_cast<WebContentsImpl*>(web_contents);
H A Ddownload_url_parameters.cc12 #include "content/public/browser/web_contents.h"
38 WebContents* web_contents,
42 web_contents->GetRenderProcessHost()->GetID(),
43 web_contents->GetRenderViewHost()->GetRoutingID(),
44 web_contents->GetBrowserContext()->GetResourceContext());
37 FromWebContents( WebContents* web_contents, const GURL& url) argument
/external/chromium_org/extensions/shell/browser/
H A Dshell_extension_host_delegate.cc20 content::WebContents* web_contents) {
21 ShellExtensionWebContentsObserver::CreateForWebContents(web_contents);
36 void ShellExtensionHostDelegate::CreateTab(content::WebContents* web_contents, argument
46 content::WebContents* web_contents,
52 web_contents, request, callback, extension);
56 content::WebContents* web_contents,
19 OnExtensionHostCreated( content::WebContents* web_contents) argument
45 ProcessMediaAccessRequest( content::WebContents* web_contents, const content::MediaStreamRequest& request, const content::MediaResponseCallback& callback, const Extension* extension) argument
55 CheckMediaAccessPermission( content::WebContents* web_contents, const GURL& security_origin, content::MediaStreamType type, const Extension* extension) argument
/external/chromium_org/ui/views/controls/webview/
H A Dwebview.cc12 #include "content/public/browser/web_contents.h"
48 if (!web_contents()) {
53 return web_contents();
57 if (replacement == web_contents())
61 // web_contents() now returns |replacement| from here onwards.
62 SetFocusable(!!web_contents());
67 web_contents() && web_contents()->GetFullscreenRenderWidgetHostView();
76 DCHECK(!web_contents())
91 void WebView::OnWebContentsFocused(content::WebContents* web_contents) { argument
237 WebContentsFocused(content::WebContents* web_contents) argument
[all...]
/external/chromium_org/chrome/browser/ui/
H A Dweb_contents_sizer.cc7 #include "content/public/browser/web_contents.h"
15 void ResizeWebContents(content::WebContents* web_contents, argument
18 aura::Window* window = web_contents->GetNativeView();
21 content::RenderWidgetHostView* view = web_contents->GetRenderWidgetHostView();
/external/chromium_org/android_webview/native/
H A Daw_web_contents_view_delegate.cc8 #include "content/public/browser/web_contents.h"
15 content::WebContents* web_contents) {
16 return new AwWebContentsViewDelegate(web_contents);
20 content::WebContents* web_contents)
21 : web_contents_(web_contents) {
14 Create( content::WebContents* web_contents) argument
19 AwWebContentsViewDelegate( content::WebContents* web_contents) argument
/external/chromium_org/chrome/browser/android/
H A Dvoice_search_tab_helper.cc10 #include "content/public/browser/web_contents.h"
32 WebContents* web_contents = WebContents::FromJavaWebContents(j_web_contents);
33 content::RenderViewHost* host = web_contents->GetRenderViewHost();
37 !google_util::IsGoogleSearchUrl(web_contents->GetLastCommittedURL());
43 !google_util::IsGoogleSearchUrl(web_contents->GetLastCommittedURL());
/external/chromium_org/components/renderer_context_menu/
H A Dcontext_menu_delegate.cc7 #include "content/public/browser/web_contents.h"
26 ContextMenuDelegate::ContextMenuDelegate(content::WebContents* web_contents) { argument
27 web_contents->SetUserData(&kMenuDelegateUserDataKey,
36 content::WebContents* web_contents) {
39 web_contents->GetUserData(&kMenuDelegateUserDataKey));
35 FromWebContents( content::WebContents* web_contents) argument

Completed in 4249 milliseconds

1234567891011>>