Searched refs:web_contents (Results 276 - 300 of 1244) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/chrome/browser/extensions/
H A Dextension_infobar_delegate.cc23 void ExtensionInfoBarDelegate::Create(content::WebContents* web_contents, argument
28 InfoBarService::FromWebContents(web_contents)->AddInfoBar(
31 browser, extension, url, web_contents, height))));
38 content::WebContents* web_contents,
49 extension_view_host_->SetAssociatedWebContents(web_contents);
34 ExtensionInfoBarDelegate( Browser* browser, const extensions::Extension* extension, const GURL& url, content::WebContents* web_contents, int height) argument
H A Dactive_tab_permission_granter.cc11 #include "content/public/browser/web_contents.h"
26 content::WebContents* web_contents,
29 : WebContentsObserver(web_contents),
52 web_contents()->GetVisibleURL().GetOrigin());
66 web_contents()->GetController().GetVisibleEntry();
78 ActiveScriptController::GetForWebContents(web_contents())
101 web_contents()->GetController().GetVisibleEntry();
25 ActiveTabPermissionGranter( content::WebContents* web_contents, int tab_id, Profile* profile) argument
/external/chromium_org/chrome/browser/ui/autofill/
H A Dnew_credit_card_bubble_controller.cc23 #include "content/public/browser/web_contents.h"
38 content::WebContents* web_contents,
41 (new NewCreditCardBubbleController(web_contents))->SetupAndShow(
69 content::WebContents* web_contents)
70 : profile_(Profile::FromBrowserContext(web_contents->GetBrowserContext())),
71 web_contents_(web_contents),
37 Show( content::WebContents* web_contents, scoped_ptr<CreditCard> new_card, scoped_ptr<AutofillProfile> billing_profile) argument
68 NewCreditCardBubbleController( content::WebContents* web_contents) argument
H A Dpassword_generation_popup_controller_impl.cc27 #include "content/public/browser/web_contents.h"
43 content::WebContents* web_contents,
47 previous->web_contents() == web_contents &&
62 web_contents,
73 content::WebContents* web_contents,
80 controller_common_(bounds, container_view, web_contents),
149 web_contents()->GetRenderViewHost()->Send(
151 web_contents()->GetRenderViewHost()->GetRoutingID(),
217 chrome::FindBrowserWithWebContents(controller_common_.web_contents()),
36 GetOrCreate( base::WeakPtr<PasswordGenerationPopupControllerImpl> previous, const gfx::RectF& bounds, const PasswordForm& form, int max_length, password_manager::PasswordManager* password_manager, PasswordGenerationPopupObserver* observer, content::WebContents* web_contents, gfx::NativeView container_view) argument
67 PasswordGenerationPopupControllerImpl( const gfx::RectF& bounds, const PasswordForm& form, int max_length, password_manager::PasswordManager* password_manager, PasswordGenerationPopupObserver* observer, content::WebContents* web_contents, gfx::NativeView container_view) argument
[all...]
/external/chromium_org/chrome/browser/ui/zoom/
H A Dzoom_controller.h52 ZoomChangedEventData(content::WebContents* web_contents, argument
57 : web_contents(web_contents),
62 content::WebContents* web_contents; member in struct:ZoomController::ZoomChangedEventData
131 explicit ZoomController(content::WebContents* web_contents);
/external/chromium_org/chrome/browser/prerender/
H A Dprerender_tab_helper.cc20 #include "content/public/browser/web_contents.h"
34 WebContents* web_contents) {
41 local_predictor->OnTabHelperURLSeen(url, web_contents);
48 content::WebContents* web_contents,
50 if (!FromWebContents(web_contents)) {
51 web_contents->SetUserData(UserDataKey(),
52 new PrerenderTabHelper(web_contents,
58 content::WebContents* web_contents,
60 : content::WebContentsObserver(web_contents),
75 prerender_manager->IsWebContentsPrerendering(web_contents,
31 ReportTabHelperURLSeenToLocalPredictor( PrerenderManager* prerender_manager, const GURL& url, WebContents* web_contents) argument
47 CreateForWebContentsWithPasswordManager( content::WebContents* web_contents, password_manager::PasswordManager* password_manager) argument
57 PrerenderTabHelper( content::WebContents* web_contents, password_manager::PasswordManager* password_manager) argument
[all...]
/external/chromium_org/chrome/browser/ui/tab_contents/
H A Dcore_tab_helper.cc26 #include "content/public/browser/web_contents.h"
37 CoreTabHelper::CoreTabHelper(WebContents* web_contents) argument
38 : content::WebContentsObserver(web_contents),
51 if (!web_contents()->IsLoading() ||
52 web_contents()->GetLoadState().state == net::LOAD_STATE_IDLE) {
56 switch (web_contents()->GetLoadState().state) {
61 if (!web_contents()->GetLoadState().param.empty()) {
63 web_contents()->GetLoadState().param);
89 if (web_contents()->GetUploadSize()) {
92 static_cast<int>((100 * web_contents()
[all...]
/external/chromium_org/content/public/test/
H A Dbrowser_test_utils.h56 // Waits for a load stop for the specified |web_contents|'s controller, if the
57 // tab is currently web_contents. Otherwise returns immediately.
58 void WaitForLoadStop(WebContents* web_contents);
65 void WaitForResizeComplete(WebContents* web_contents);
68 // Causes the specified web_contents to crash. Blocks until it is crashed.
69 void CrashTab(WebContents* web_contents);
73 void SimulateMouseClick(WebContents* web_contents,
79 void SimulateMouseClickAt(WebContents* web_contents,
85 void SimulateMouseEvent(WebContents* web_contents,
90 void SimulateTapAt(WebContents* web_contents, cons
[all...]
H A Dtest_renderer_host.cc13 #include "content/public/browser/web_contents.h"
51 WebContentsImpl* web_contents = static_cast<WebContentsImpl*>( local
53 return web_contents->GetRenderManagerForTesting()->pending_render_view_host();
95 return web_contents()->GetController();
98 WebContents* RenderViewHostTestHarness::web_contents() { function in class:content::RenderViewHostTestHarness
103 RenderViewHost* result = web_contents()->GetRenderViewHost();
104 CHECK_EQ(result, web_contents()->GetMainFrame()->GetRenderViewHost());
117 return web_contents()->GetMainFrame();
121 return WebContentsTester::For(web_contents())->GetPendingMainFrame();
156 static_cast<TestWebContents*>(web_contents())
[all...]
/external/chromium_org/chrome/browser/chromeos/login/ui/
H A Dsimple_web_view_dialog.cc28 #include "content/public/browser/web_contents.h"
110 content::WebContents* web_contents) OVERRIDE {
143 if (web_view_ && web_view_->web_contents())
144 web_view_->web_contents()->SetDelegate(NULL);
155 WebContents* web_contents = web_view_->GetWebContents(); local
156 DCHECK(web_contents);
160 web_contents,
161 autofill::ChromeAutofillClient::FromWebContents(web_contents));
232 UpdateReload(web_view_->web_contents()->IsLoading(), true);
307 content::WebContents* web_contents,
306 ShowWebsiteSettings( content::WebContents* web_contents, const GURL& url, const content::SSLStatus& ssl) argument
334 WebContents* web_contents = web_view_->web_contents(); local
[all...]
/external/chromium_org/android_webview/native/
H A Daw_settings.cc17 #include "content/public/browser/web_contents.h"
61 static AwSettings* GetSettings(content::WebContents* web_contents) { argument
62 if (!web_contents)
65 web_contents->GetUserData(kAwSettingsUserDataKey));
73 AwSettings::AwSettings(JNIEnv* env, jobject obj, jlong web_contents) argument
75 reinterpret_cast<content::WebContents*>(web_contents)),
78 reinterpret_cast<content::WebContents*>(web_contents)->
83 if (web_contents()) {
84 web_contents()->SetUserData(kAwSettingsUserDataKey, NULL);
99 AwSettings* AwSettings::FromWebContents(content::WebContents* web_contents) { argument
409 Init(JNIEnv* env, jobject obj, jlong web_contents) argument
[all...]
/external/chromium_org/content/shell/browser/
H A Dshell.cc19 #include "content/public/browser/web_contents.h"
43 DevToolsWebContentsObserver(Shell* shell, WebContents* web_contents) argument
44 : WebContentsObserver(web_contents),
59 Shell::Shell(WebContents* web_contents) argument
60 : WebContentsObserver(web_contents),
95 Shell* Shell::CreateShell(WebContents* web_contents, argument
97 Shell* shell = new Shell(web_contents);
100 shell->web_contents_.reset(web_contents);
101 web_contents->SetDelegate(shell);
108 web_contents
161 WebContents* web_contents = WebContents::Create(create_params); local
288 ToggleFullscreenModeForTab(WebContents* web_contents, bool enter_fullscreen) argument
309 RequestToLockMouse(WebContents* web_contents, bool user_gesture, bool last_unlocked_by_target) argument
327 DidNavigateMainFramePostCommit(WebContents* web_contents) argument
[all...]
/external/chromium_org/chrome/browser/renderer_context_menu/
H A Dcontext_menu_content_type_unittest.cc19 content::WebContents* web_contents,
22 new ContextMenuContentType(web_contents, params, true));
69 scoped_ptr<ContextMenuContentType> content_type(Create(web_contents(),
81 scoped_ptr<ContextMenuContentType> content_type(Create(web_contents(),
95 scoped_ptr<ContextMenuContentType> content_type(Create(web_contents(),
107 scoped_ptr<ContextMenuContentType> content_type(Create(web_contents(),
126 scoped_ptr<ContextMenuContentType> content_type(Create(web_contents(),
141 scoped_ptr<ContextMenuContentType> content_type(Create(web_contents(),
156 scoped_ptr<ContextMenuContentType> content_type(Create(web_contents(),
18 Create( content::WebContents* web_contents, content::ContextMenuParams& params) argument
/external/chromium_org/chrome/browser/task_manager/
H A Dbackground_information.cc25 #include "content/public/browser/web_contents.h"
72 background_contents->web_contents()->GetRenderProcessHost()->
74 background_contents->web_contents()->GetRenderViewHost()),
114 bool BackgroundInformation::CheckOwnership(WebContents* web_contents) { argument
115 extensions::ViewType view_type = extensions::GetViewType(web_contents);
138 callback.Run((*iterator)->web_contents());
144 WebContents* web_contents) {
146 Profile::FromBrowserContext(web_contents->GetBrowserContext());
156 if ((*iterator)->web_contents() == web_contents) {
143 MakeResource( WebContents* web_contents) argument
[all...]
/external/chromium_org/chrome/browser/ui/find_bar/
H A Dfind_tab_helper.cc15 #include "content/public/browser/web_contents.h"
28 FindTabHelper::FindTabHelper(WebContents* web_contents) argument
29 : content::WebContentsObserver(web_contents),
51 Profile::FromBrowserContext(web_contents()->GetBrowserContext());
88 Profile::FromBrowserContext(web_contents()->GetBrowserContext());
96 web_contents()->Find(current_find_request_id_, find_text_, options);
130 web_contents()->StopFinding(action);
136 web_contents()->GetRenderViewHost()->ActivateNearestFindResult(
143 web_contents()->GetRenderViewHost()->RequestFindMatchRects(current_version);
175 content::Source<WebContents>(web_contents()),
[all...]
/external/chromium_org/chrome/browser/ui/passwords/
H A Dmanage_passwords_bubble_model.cc54 content::WebContents* web_contents)
55 : content::WebContentsObserver(web_contents),
60 ManagePasswordsUIController::FromWebContents(web_contents);
133 ManagePasswordsUIController::FromWebContents(web_contents());
141 ManagePasswordsUIController::FromWebContents(web_contents());
149 ManagePasswordsUIController::FromWebContents(web_contents());
166 ManagePasswordsUIController::FromWebContents(web_contents())
173 if (!web_contents())
176 Profile::FromBrowserContext(web_contents()->GetBrowserContext());
53 ManagePasswordsBubbleModel( content::WebContents* web_contents) argument
/external/chromium_org/chrome/browser/ui/
H A Dunload_controller.cc17 #include "content/public/browser/web_contents.h"
288 content::WebContents* web_contents = local
292 if (web_contents->GetRenderViewHost()) {
293 // If there's a devtools window attached to |web_contents|,
295 // and then call beforeunload handlers for |web_contents|.
297 if (!DevToolsWindow::InterceptPageBeforeUnload(web_contents))
298 web_contents->DispatchBeforeUnload(false);
300 ClearUnloadState(web_contents, true);
319 content::WebContents* web_contents = *(tabs_needing_unload_fired_.begin()); local
322 if (web_contents
338 RemoveFromSet(UnloadListenerSet* set, content::WebContents* web_contents) argument
351 ClearUnloadState(content::WebContents* web_contents, bool process_now) argument
[all...]
/external/chromium_org/chrome/browser/android/
H A Dchrome_web_contents_delegate_android.cc30 #include "content/public/browser/web_contents.h"
99 WebContents* web_contents,
101 FileSelectHelper::RunFileChooser(web_contents, params);
105 WebContents* web_contents) {
109 content::Source<WebContents>(web_contents))) {
112 content::Source<WebContents>(web_contents));
115 WebContentsDelegateAndroid::CloseContents(web_contents);
135 WebContents* web_contents,
143 content::Source<WebContents>(web_contents))) {
146 content::Source<WebContents>(web_contents));
98 RunFileChooser( WebContents* web_contents, const FileChooserParams& params) argument
104 CloseContents( WebContents* web_contents) argument
134 FindReply( WebContents* web_contents, int request_id, int number_of_matches, const gfx::Rect& selection_rect, int active_match_ordinal, bool final_update) argument
157 OnFindResultAvailable( WebContents* web_contents, const FindNotificationDetails* find_result) argument
183 FindMatchRectsReply( WebContents* web_contents, int version, const std::vector<gfx::RectF>& rects, const gfx::RectF& active_rect) argument
221 RequestMediaAccessPermission( content::WebContents* web_contents, const content::MediaStreamRequest& request, const content::MediaResponseCallback& callback) argument
229 CheckMediaAccessPermission( content::WebContents* web_contents, const GURL& security_origin, content::MediaStreamType type) argument
237 RequestPpapiBrokerPermission( WebContents* web_contents, const GURL& url, const base::FilePath& plugin_path, const base::Callback<void(bool)>& callback) argument
[all...]
/external/chromium_org/chrome/browser/ui/views/
H A Dselect_file_dialog_extension.cc102 content::WebContents** web_contents) {
104 *web_contents = GetWebContentsForWindow(owner_window);
108 // |web_contents| and |profile|.
111 content::WebContents** web_contents) {
113 *web_contents = NULL;
134 *web_contents = app_window->web_contents();
144 *web_contents = owner_browser->tab_strip_model()->GetActiveWebContents();
151 if (chrome::IsRunningInForcedAppMode() && !(*web_contents))
152 *web_contents
100 FindRuntimeContext(gfx::NativeWindow owner_window, ui::BaseWindow** base_window, content::WebContents** web_contents) argument
109 FindRuntimeContext(gfx::NativeWindow owner_window, ui::BaseWindow** base_window, content::WebContents** web_contents) argument
164 GetRoutingIDFromWebContents( const content::WebContents* web_contents) argument
344 content::WebContents* web_contents = NULL; local
[all...]
/external/chromium_org/athena/content/
H A Dweb_contents_view_delegate_factory_impl.cc13 #include "content/public/browser/web_contents.h"
25 explicit WebContentsViewDelegateImpl(content::WebContents* web_contents) argument
26 : web_contents_(web_contents) {}
66 content::WebContents* web_contents,
69 content::RenderFrameHost* focused_frame = web_contents->GetFocusedFrame();
149 content::WebContents* web_contents) {
150 return new WebContentsViewDelegateImpl(web_contents);
65 BuildMenu( content::WebContents* web_contents, const content::ContextMenuParams& params) argument
148 CreateWebContentsViewDelegate( content::WebContents* web_contents) argument
/external/chromium_org/chrome/browser/autofill/
H A Dcontent_autofill_driver_browsertest.cc18 #include "content/public/browser/web_contents.h"
61 TestContentAutofillDriver(content::WebContents* web_contents, argument
64 web_contents,
83 content::WebContents* web_contents = variable
85 ASSERT_TRUE(web_contents != NULL);
86 Observe(web_contents); variable
90 new TestContentAutofillDriver(web_contents, &autofill_client_));
/external/chromium_org/chrome/browser/infobars/
H A Dinfobar_service.cc15 #include "content/public/browser/web_contents.h"
58 return infobar_service->web_contents();
61 InfoBarService::InfoBarService(content::WebContents* web_contents) argument
62 : content::WebContentsObserver(web_contents),
64 DCHECK(web_contents);
73 web_contents()->GetController().GetActiveEntry();
120 web_contents()->RemoveUserData(UserDataKey());
/external/chromium_org/chrome/browser/ui/webui/options/
H A Dadvanced_options_utils_linux.cc20 #include "content/public/browser/web_contents.h"
57 WebContents* web_contents = local
59 if (web_contents)
60 web_contents->OpenURL(params);
150 WebContents* web_contents) {
153 web_contents->GetRenderProcessHost()->GetID(),
154 web_contents->GetRenderViewHost()->GetRoutingID()));
149 ShowNetworkProxySettings( WebContents* web_contents) argument
/external/chromium_org/content/browser/battery_status/
H A Dbattery_status_browsertest.cc9 #include "content/public/browser/web_contents.h"
115 EXPECT_EQ("pass", shell()->web_contents()->GetLastCommittedURL().ref());
133 EXPECT_EQ("pass", shell()->web_contents()->GetLastCommittedURL().ref());
147 TestNavigationObserver same_tab_observer(shell()->web_contents(), 2);
152 EXPECT_EQ("resolved", shell()->web_contents()->GetLastCommittedURL().ref());
154 TestNavigationObserver same_tab_observer2(shell()->web_contents(), 1);
159 EXPECT_EQ("pass", shell()->web_contents()->GetLastCommittedURL().ref());
/external/chromium_org/chrome/browser/extensions/api/web_navigation/
H A Dweb_navigation_api_helpers.cc20 #include "content/public/browser/web_contents.h"
70 void DispatchOnBeforeNavigate(content::WebContents* web_contents, argument
75 dict->SetInteger(keys::kTabIdKey, ExtensionTabUtil::GetTabId(web_contents));
84 DispatchEvent(web_contents->GetBrowserContext(),
93 content::WebContents* web_contents,
99 dict->SetInteger(keys::kTabIdKey, ExtensionTabUtil::GetTabId(web_contents));
124 DispatchEvent(web_contents->GetBrowserContext(), event_name, args.Pass(),
129 void DispatchOnDOMContentLoaded(content::WebContents* web_contents, argument
135 ExtensionTabUtil::GetTabId(web_contents));
142 DispatchEvent(web_contents
92 DispatchOnCommitted(const std::string& event_name, content::WebContents* web_contents, content::RenderFrameHost* frame_host, const GURL& url, ui::PageTransition transition_type) argument
149 DispatchOnCompleted(content::WebContents* web_contents, content::RenderFrameHost* frame_host, const GURL& url) argument
168 DispatchOnCreatedNavigationTarget( content::WebContents* web_contents, content::BrowserContext* browser_context, content::RenderFrameHost* source_frame_host, content::WebContents* target_web_contents, const GURL& target_url) argument
201 DispatchOnErrorOccurred(content::WebContents* web_contents, content::RenderFrameHost* frame_host, const GURL& url, int error_code) argument
[all...]

Completed in 1955 milliseconds

<<11121314151617181920>>