Searched refs:web_contents_ (Results 1 - 25 of 215) sorted by relevance

123456789

/external/chromium_org/content/public/browser/
H A Dweb_contents_observer.cc14 : web_contents_(NULL) {
19 : web_contents_(NULL) {
23 if (web_contents_)
24 web_contents_->RemoveObserver(this);
28 return web_contents_;
32 if (web_contents == web_contents_) {
36 if (web_contents_)
37 web_contents_->RemoveObserver(this);
38 web_contents_ = static_cast<WebContentsImpl*>(web_contents);
39 if (web_contents_) {
[all...]
/external/chromium_org/chrome/browser/sync/glue/
H A Dsynced_tab_delegate_android.cc23 : web_contents_(NULL), tab_android_(tab_android) {}
28 return TabContentsSyncedTabDelegate::FromWebContents(web_contents_)
37 return TabContentsSyncedTabDelegate::FromWebContents(web_contents_)
42 return TabContentsSyncedTabDelegate::FromWebContents(web_contents_)
47 return TabContentsSyncedTabDelegate::FromWebContents(web_contents_)
52 return TabContentsSyncedTabDelegate::FromWebContents(web_contents_)
57 return TabContentsSyncedTabDelegate::FromWebContents(web_contents_)
62 return TabContentsSyncedTabDelegate::FromWebContents(web_contents_)
67 return TabContentsSyncedTabDelegate::FromWebContents(web_contents_)
72 return TabContentsSyncedTabDelegate::FromWebContents(web_contents_)
[all...]
/external/chromium_org/chrome/browser/ui/search/
H A Dsearch_ipc_router_policy_impl.cc13 : web_contents_(web_contents),
18 Profile::FromBrowserContext(web_contents_->GetBrowserContext());
30 return is_active_tab && !is_incognito_ && chrome::IsInstantNTP(web_contents_);
34 return is_active_tab && !is_incognito_ && chrome::IsInstantNTP(web_contents_);
38 return !is_incognito_ && chrome::IsInstantNTP(web_contents_);
42 return !is_incognito_ && chrome::IsInstantNTP(web_contents_);
46 return !is_incognito_ && chrome::IsInstantNTP(web_contents_);
50 return !is_incognito_ && chrome::IsInstantNTP(web_contents_);
55 return is_active_tab && !is_incognito_ && chrome::IsInstantNTP(web_contents_);
59 return !is_incognito_ && chrome::IsInstantNTP(web_contents_);
[all...]
/external/chromium_org/chrome/browser/ui/sync/
H A Dtab_contents_synced_tab_delegate.cc30 : web_contents_(web_contents), sync_session_id_(0) {}
35 return SessionTabHelper::FromWebContents(web_contents_)->window_id().id();
39 return SessionTabHelper::FromWebContents(web_contents_)->session_id().id();
43 return web_contents_->IsBeingDestroyed();
47 return Profile::FromBrowserContext(web_contents_->GetBrowserContext());
53 extensions::TabHelper::FromWebContents(web_contents_)->extension_app());
61 return web_contents_->GetController().GetCurrentEntryIndex();
65 return web_contents_->GetController().GetEntryCount();
69 return web_contents_->GetController().GetPendingEntryIndex();
73 return web_contents_
[all...]
/external/chromium_org/chrome/browser/ui/webui/
H A Dconstrained_web_dialog_delegate_base.cc33 web_contents_.reset(
37 web_contents_->SetDelegate(tab_delegate);
39 web_contents_->SetDelegate(this);
42 web_contents_->GetMutableRendererPrefs(),
44 web_contents_->GetRenderViewHost()->SyncRendererPrefs();
47 ConstrainedWebDialogUI::SetConstrainedDelegate(web_contents_.get(), this);
49 web_contents_->GetController().LoadURL(delegate->GetDialogContentURL(),
57 ignore_result(web_contents_.release());
72 CloseContents(web_contents_.get());
90 return web_contents_
[all...]
/external/chromium_org/extensions/browser/app_window/
H A Dapp_window_contents.cc34 web_contents_.reset(
38 Observe(web_contents_.get());
39 web_contents_->GetMutableRendererPrefs()->
41 web_contents_->GetRenderViewHost()->SyncRendererPrefs();
49 if (web_contents_->GetRenderViewHost()->GetProcess()->GetID() ==
51 SuspendRenderViewHost(web_contents_->GetRenderViewHost());
54 << web_contents_->GetRenderViewHost()->GetProcess()->GetID()
58 web_contents_->GetController().LoadURL(
70 content::RenderViewHost* rvh = web_contents_->GetRenderViewHost();
80 content::RenderViewHost* rvh = web_contents_
[all...]
/external/chromium_org/components/dom_distiller/content/
H A Ddistiller_page_web_contents.cc26 : web_contents_(web_contents.Pass()) {
27 DCHECK(web_contents_);
34 return web_contents_.Pass();
63 web_contents_ = optional_web_contents_handle->GetWebContents().Pass();
65 render_view_size_ = web_contents_->GetContainerBounds().size();
70 if (web_contents_)
71 web_contents_->SetDelegate(NULL);
81 if (web_contents_ && web_contents_->GetLastCommittedURL() == url) {
83 WebContentsMainFrameObserver::FromWebContents(web_contents_
[all...]
/external/chromium_org/content/shell/browser/
H A Dshell_web_contents_view_delegate_win.cc66 : web_contents_(web_contents) {
95 web_contents_->GetController().CanGoBack());
101 web_contents_->GetController().CanGoForward());
177 ClientToScreen(web_contents_->GetNativeView(), &point);
184 web_contents_->GetContentNativeView(),
195 web_contents_->Cut();
198 web_contents_->Copy();
201 web_contents_->Paste();
204 web_contents_->Delete();
217 web_contents_
[all...]
H A Dshell_web_contents_view_delegate_android.cc23 : web_contents_(web_contents) {
34 ContentViewCore::FromWebContents(web_contents_);
/external/chromium_org/athena/content/
H A Dweb_contents_view_delegate_factory_impl.cc26 : web_contents_(web_contents) {}
36 web_modal::PopupManager::FromWebContents(web_contents_);
38 popup_manager->WasFocused(web_contents_);
118 return web_contents_->GetFullscreenRenderWidgetHostView()
119 ? web_contents_->GetFullscreenRenderWidgetHostView()
121 : web_contents_->GetNativeView();
134 if (web_contents_->FocusLocationBarByDefault()) {
135 if (web_contents_->GetDelegate())
136 web_contents_->GetDelegate()->SetFocusToLocationBar(false);
138 web_contents_
142 content::WebContents* web_contents_; member in class:athena::__anon2116::WebContentsViewDelegateImpl
[all...]
/external/chromium_org/content/browser/web_contents/
H A Dweb_contents_android.cc71 : web_contents_(web_contents),
93 web_contents_->GetTitle());
99 env, web_contents_->GetVisibleURL().spec());
103 web_contents_->Stop();
108 web_contents_->InsertCSS(base::android::ConvertJavaStringToUTF8(env, jcss));
114 rwhv = web_contents_->GetRenderWidgetHostView();
115 if (web_contents_->ShowingInterstitialPage()) {
117 web_contents_->GetInterstitialPage())->
132 return ConvertUTF8ToJavaString(env, web_contents_->GetURL().spec());
136 return web_contents_
[all...]
H A Dweb_contents_view_android.cc30 : web_contents_(web_contents),
42 web_contents_->GetRenderWidgetHostView());
46 if (web_contents_->ShowingInterstitialPage()) {
49 web_contents_->GetInterstitialPage())->
80 RenderWidgetHostView* rwhv = web_contents_->GetRenderWidgetHostView();
86 if (web_contents_->ShowingInterstitialPage())
87 web_contents_->GetInterstitialPage()->Focus();
89 web_contents_->GetRenderWidgetHostView()->Focus();
93 if (web_contents_->FocusLocationBarByDefault())
94 web_contents_
[all...]
/external/chromium_org/extensions/browser/guest_view/web_view/
H A Dtest_guest_view_manager.cc25 web_contents_(NULL) {
32 if (web_contents_)
33 return web_contents_;
37 return web_contents_;
51 web_contents_ = guest_web_contents;
60 web_contents_ = NULL;
/external/chromium_org/chrome/browser/ui/panels/
H A Dpanel_host.cc55 web_contents_.reset(content::WebContents::Create(create_params));
56 extensions::SetViewType(web_contents_.get(), extensions::VIEW_TYPE_PANEL);
57 web_contents_->SetDelegate(this);
58 // web_contents_ may be passed to chrome_page_zoom::Zoom(), so it needs
60 ZoomController::CreateForWebContents(web_contents_.get());
61 content::WebContentsObserver::Observe(web_contents_.get());
65 SessionTabHelper::CreateForWebContents(web_contents_.get());
66 SessionTabHelper::FromWebContents(web_contents_.get())->SetWindowID(
69 FaviconTabHelper::CreateForWebContents(web_contents_.get());
70 PrefsTabHelper::CreateForWebContents(web_contents_
[all...]
/external/chromium_org/chrome/browser/chromeos/login/test/
H A Djs_checker.cc22 JSChecker::JSChecker() : web_contents_(NULL) {}
25 : web_contents_(web_contents) {
29 CHECK(web_contents_);
30 ASSERT_TRUE(content::ExecuteScript(web_contents_, expression));
78 CHECK(web_contents_);
79 ASSERT_TRUE(content::ExecuteScriptAndExtractBool(web_contents_,
85 CHECK(web_contents_);
86 ASSERT_TRUE(content::ExecuteScriptAndExtractInt(web_contents_,
93 CHECK(web_contents_);
94 ASSERT_TRUE(content::ExecuteScriptAndExtractString(web_contents_,
[all...]
/external/chromium_org/chrome/browser/google/
H A Dgoogle_url_tracker_navigation_helper_impl.cc19 web_contents_(web_contents) {
23 web_contents_ = NULL;
30 &web_contents_->GetController());
43 &web_contents_->GetController());
52 content::Source<content::WebContents>(web_contents_);
68 content::Source<content::WebContents>(web_contents_));
77 web_contents_->OpenURL(content::OpenURLParams(
89 DCHECK_EQ(web_contents_, controller->GetWebContents());
94 InfoBarService::FromWebContents(web_contents_);
104 DCHECK_EQ(web_contents_,
[all...]
/external/chromium_org/chrome/browser/tab_contents/
H A Dbackground_contents.cc41 web_contents_.reset(WebContents::CreateWithSessionStorage(
44 web_contents_.reset(WebContents::Create(create_params));
47 web_contents_.get(), extensions::VIEW_TYPE_BACKGROUND_CONTENTS);
48 web_contents_->SetDelegate(this);
49 content::WebContentsObserver::Observe(web_contents_.get());
51 web_contents_.get());
71 if (!web_contents_.get()) // Will be null for unit tests.
86 return web_contents_.get() ? web_contents_->GetURL() : GURL::EmptyGURL();
/external/chromium_org/chrome/browser/ui/views/
H A Dcolor_chooser_aura.cc16 : web_contents_(web_contents) {
24 if (web_contents_)
25 web_contents_->DidChooseColorInColorChooser(color);
47 if (web_contents_)
48 web_contents_->DidEndColorChooser();
H A Dcolor_chooser_win.cc41 content::WebContents* web_contents_; member in class:ColorChooserWin
59 : web_contents_(web_contents) {
83 if (web_contents_)
84 web_contents_->DidChooseColorInColorChooser(color);
94 if (web_contents_)
95 web_contents_->DidEndColorChooser();
/external/chromium_org/chrome/browser/ui/find_bar/
H A Dfind_bar_controller.cc33 web_contents_(NULL),
38 DCHECK(!web_contents_);
43 FindTabHelper::FromWebContents(web_contents_);
60 // |web_contents_| can be NULL for a number of reasons, for example when the
62 if (web_contents_) {
64 FindTabHelper::FromWebContents(web_contents_);
80 if (web_contents_) {
85 FindTabHelper::FromWebContents(web_contents_);
90 web_contents_ = contents;
92 web_contents_
[all...]
/external/chromium_org/chrome/browser/ui/android/tab_contents/
H A Dchrome_web_contents_view_delegate_android.cc16 : web_contents_(web_contents) {
36 content::ContentViewCore::FromWebContents(web_contents_);
46 ContextMenuHelper* helper = ContextMenuHelper::FromWebContents(web_contents_);
/external/chromium_org/chrome/browser/ui/app_modal_dialogs/
H A Dapp_modal_dialog.cc23 web_contents_(web_contents) {
31 web_contents_->GetDelegate()->ActivateContents(web_contents_);
/external/chromium_org/chrome/browser/task_manager/
H A Dprinting_information.cc42 content::WebContents* web_contents_; member in class:task_manager::PrintingResource
50 web_contents_(web_contents) {}
59 util::GetTitleFromWebContents(web_contents_));
63 FaviconTabHelper::CreateForWebContents(web_contents_);
64 return FaviconTabHelper::FromWebContents(web_contents_)->
68 WebContents* PrintingResource::GetWebContents() const { return web_contents_; }
/external/chromium_org/android_webview/native/
H A Daw_web_contents_view_delegate.cc21 : web_contents_(web_contents) {
45 content::ContentViewCore::FromWebContents(web_contents_);
/external/chromium_org/chrome/browser/ui/ash/launcher/
H A Dlauncher_favicon_loader.h43 return web_contents_;
54 content::WebContents* web_contents_; member in class:LauncherFaviconLoader

Completed in 574 milliseconds

123456789