Searched refs:web_contents (Results 151 - 175 of 1244) sorted by relevance

1234567891011>>

/external/chromium_org/chrome/browser/ui/find_bar/
H A Dfind_backend_unittest.cc14 #include "content/public/browser/web_contents.h"
24 FindTabHelper::CreateForWebContents(web_contents());
41 FindTabHelper::FromWebContents(web_contents());
43 EXPECT_EQ(base::string16(), FindPrepopulateText(web_contents()));
54 EXPECT_EQ(base::string16(), FindPrepopulateText(web_contents()));
69 EXPECT_EQ(search_term1, FindPrepopulateText(web_contents()));
80 EXPECT_EQ(search_term2, FindPrepopulateText(web_contents()));
91 EXPECT_EQ(search_term3, FindPrepopulateText(web_contents()));
/external/chromium_org/chrome/browser/ui/views/location_bar/
H A Dzoom_bubble_view_browsertest.cc27 content::WebContents* web_contents = browser_view->GetActiveWebContents(); local
30 ZoomBubbleView::ShowBubble(web_contents, true);
43 web_contents, true);
51 ZoomBubbleView::ShowBubble(web_contents, true);
71 content::WebContents* web_contents = browser_view->GetActiveWebContents(); local
89 ZoomBubbleView::ShowBubble(web_contents, true);
103 ZoomBubbleView::ShowBubble(web_contents, true);
/external/chromium_org/content/test/
H A Daccessibility_browser_test_utils.cc13 #include "content/browser/web_contents/web_contents_impl.h"
15 #include "content/public/browser/web_contents.h"
28 WebContents* web_contents = shell->web_contents(); local
30 web_contents->GetMainFrame());
44 WebContentsImpl* web_contents = static_cast<WebContentsImpl*>( local
45 shell->web_contents());
47 web_contents->GetMainFrame());
51 web_contents->AddAccessibilityMode(accessibility_mode);
/external/chromium_org/chrome/browser/extensions/
H A Dactive_script_controller.cc27 #include "content/public/browser/web_contents.h"
61 content::WebContents* web_contents)
62 : content::WebContentsObserver(web_contents),
65 CHECK(web_contents);
67 ExtensionRegistry::Get(web_contents->GetBrowserContext()));
76 content::WebContents* web_contents) {
77 if (!web_contents)
79 TabHelper* tab_helper = TabHelper::FromWebContents(web_contents);
108 const GURL& url = web_contents()->GetVisibleURL();
133 PermissionsUpdater(web_contents()
60 ActiveScriptController( content::WebContents* web_contents) argument
75 GetForWebContents( content::WebContents* web_contents) argument
[all...]
H A Dwebstore_reinstaller.cc11 #include "content/public/browser/web_contents.h"
22 content::WebContents* web_contents,
27 Profile::FromBrowserContext(web_contents->GetBrowserContext()),
29 content::WebContentsObserver(web_contents) {
40 return web_contents() != NULL;
68 return web_contents();
21 WebstoreReinstaller( content::WebContents* web_contents, const std::string& extension_id, const WebstoreStandaloneInstaller::Callback& callback) argument
/external/chromium_org/chrome/browser/translate/
H A Dtranslate_browsertest.cc80 content::WebContents* web_contents = local
82 if (web_contents)
83 infobar_service_ = InfoBarService::FromWebContents(web_contents);
145 content::WebContents* web_contents = local
147 ASSERT_TRUE(web_contents);
148 content::TitleWatcher watcher(web_contents, base::ASCIIToUTF16("PASS"));
207 content::WebContents* web_contents = local
209 ASSERT_TRUE(web_contents);
210 content::TitleWatcher watcher(web_contents, base::ASCIIToUTF16("PASS"));
241 content::WebContents* web_contents local
274 content::WebContents* web_contents = local
307 content::WebContents* web_contents = local
340 content::WebContents* web_contents = local
[all...]
/external/chromium_org/content/browser/web_contents/
H A Dweb_contents_impl_browsertest.cc8 #include "content/browser/web_contents/web_contents_impl.h"
9 #include "content/browser/web_contents/web_contents_view.h"
43 static_cast<WebContentsImpl*>(shell->web_contents())->GetView()->
89 : WebContentsObserver(shell->web_contents()),
118 WebContents* web_contents) const OVERRIDE {
119 gfx::Size size(web_contents->GetContainerBounds().size());
131 : WebContentsObserver(shell->web_contents()),
193 &shell()->web_contents()->GetController());
199 EXPECT_EQ(&shell()->web_contents()->GetController(),
220 &shell()->web_contents()
[all...]
H A Dopened_by_dom_browsertest.cc7 #include "content/public/browser/web_contents.h"
50 bool AttemptCloseFromJavaScript(WebContents* web_contents) { argument
52 WebContentsDelegate* old_delegate = web_contents->GetDelegate();
53 web_contents->SetDelegate(&close_tracking_delegate);
64 CHECK(ExecuteScriptAndExtractInt(web_contents, kCloseWindowScript, &dummy));
66 web_contents->SetDelegate(old_delegate);
76 shell->web_contents(),
97 EXPECT_FALSE(AttemptCloseFromJavaScript(shell()->web_contents()));
112 EXPECT_TRUE(AttemptCloseFromJavaScript(popup->web_contents()));
137 EXPECT_TRUE(AttemptCloseFromJavaScript(popup->web_contents()));
[all...]
/external/chromium_org/content/public/test/
H A Dbrowser_test_utils.cc19 #include "content/browser/web_contents/web_contents_view.h"
29 #include "content/public/browser/web_contents.h"
61 Source<WebContents>(web_contents()));
154 void InjectRawKeyEvent(WebContents* web_contents, argument
161 web_contents->GetRenderViewHost()->ForwardKeyboardEvent(event);
215 void WaitForLoadStop(WebContents* web_contents) { argument
218 if (web_contents->IsLoading()) {
221 Source<NavigationController>(&web_contents->GetController()));
226 void CrashTab(WebContents* web_contents) { argument
227 RenderProcessHost* rph = web_contents
241 WaitForResizeComplete(WebContents* web_contents) argument
260 SimulateMouseClick(WebContents* web_contents, int modifiers, blink::WebMouseEvent::Button button) argument
268 SimulateMouseClickAt(WebContents* web_contents, int modifiers, blink::WebMouseEvent::Button button, const gfx::Point& point) argument
288 SimulateMouseEvent(WebContents* web_contents, blink::WebInputEvent::Type type, const gfx::Point& point) argument
298 SimulateTapAt(WebContents* web_contents, const gfx::Point& point) argument
308 SimulateKeyPress(WebContents* web_contents, ui::KeyboardCode key_code, bool control, bool shift, bool alt, bool command) argument
318 SimulateKeyPressWithCode(WebContents* web_contents, ui::KeyboardCode key_code, const char* code, bool control, bool shift, bool alt, bool command) argument
430 ToRenderFrameHost(WebContents* web_contents) argument
498 FrameMatchingPredicate( WebContents* web_contents, const base::Callback<bool(RenderFrameHost*)>& predicate) argument
520 ExecuteWebUIResourceTest(WebContents* web_contents, const std::vector<int>& js_resource_ids) argument
596 TitleWatcher(WebContents* web_contents, const base::string16& expected_title) argument
641 WebContentsDestroyedWatcher( WebContents* web_contents) argument
667 RenderProcessHostWatcher( WebContents* web_contents, WatchType type) argument
[all...]
/external/chromium_org/chrome/browser/ui/webui/interstitials/
H A Dinterstitial_ui.cc15 #include "content/public/browser/web_contents.h"
29 content::WebContents* web_contents);
48 SSLBlockingPage* CreateSSLBlockingPage(content::WebContents* web_contents) { argument
55 if (net::GetValueForKeyInQuery(web_contents->GetURL(),
62 if (net::GetValueForKeyInQuery(web_contents->GetURL(),
68 if (net::GetValueForKeyInQuery(web_contents->GetURL(),
82 return new SSLBlockingPage(web_contents,
91 content::WebContents* web_contents) {
95 if (net::GetValueForKeyInQuery(web_contents->GetURL(),
102 if (net::GetValueForKeyInQuery(web_contents
90 CreateSafeBrowsingBlockingPage( content::WebContents* web_contents) argument
148 InterstitialHTMLSource( Profile* profile, content::WebContents* web_contents) argument
[all...]
/external/chromium_org/content/browser/manifest/
H A Dmanifest_browsertest.cc6 #include "content/public/browser/web_contents.h"
24 shell()->web_contents()->GetManifest(
53 TestNavigationObserver navigation_observer(shell()->web_contents(), 1);
66 TestNavigationObserver navigation_observer(shell()->web_contents(), 1);
79 TestNavigationObserver navigation_observer(shell()->web_contents(), 1);
92 TestNavigationObserver navigation_observer(shell()->web_contents(), 1);
105 TestNavigationObserver navigation_observer(shell()->web_contents(), 1);
118 TestNavigationObserver navigation_observer(shell()->web_contents(), 1);
131 shell()->web_contents(), "setManifestTo('" + manifest_url + "')"));
141 shell()->web_contents(), "setManifestT
[all...]
/external/chromium_org/chrome/browser/content_settings/
H A Dpermission_context_base_unittest.cc16 #include "content/public/browser/web_contents.h"
30 InfoBarService::CreateForWebContents(web_contents());
87 content::WebContentsTester::For(web_contents())->NavigateAndCommit(url);
90 web_contents()->GetRenderProcessHost()->GetID(),
91 web_contents()->GetRenderViewHost()->GetRoutingID(),
94 web_contents(),
118 content::WebContentsTester::For(web_contents())->NavigateAndCommit(url);
121 web_contents()->GetRenderProcessHost()->GetID(),
122 web_contents()->GetRenderViewHost()->GetRoutingID(),
125 web_contents(),
[all...]
/external/chromium_org/chrome/browser/history/
H A Dhistory_tab_helper.cc18 #include "content/public/browser/web_contents.h"
32 HistoryTabHelper::HistoryTabHelper(WebContents* web_contents) argument
33 : content::WebContentsObserver(web_contents),
61 params.url, timestamp, web_contents(), params.page_id,
100 web_contents()->GetURL(), details.entry->GetTimestamp(),
105 Profile::FromBrowserContext(web_contents()->GetBrowserContext()));
108 prerender_manager->GetPrerenderContents(web_contents());
117 Browser* browser = chrome::FindBrowserWithWebContents(web_contents());
137 Profile::FromBrowserContext(web_contents()->GetBrowserContext());
147 WebContents* tab = web_contents();
[all...]
/external/chromium_org/chrome/browser/ssl/
H A Dssl_add_certificate.cc18 #include "content/public/browser/web_contents.h"
75 WebContents* web_contents = variable
77 ShowCertificateViewer(web_contents,
78 web_contents->GetTopLevelNativeWindow(),
94 WebContents* web_contents = WebContents::FromRenderFrameHost( local
96 if (!web_contents)
102 InfoBarService::FromWebContents(web_contents),
114 WebContents* web_contents = WebContents::FromRenderFrameHost( local
116 if (!web_contents)
120 InfoBarService::FromWebContents(web_contents), cer
[all...]
/external/chromium_org/chrome/browser/ui/blocked_content/
H A Dpopup_blocker_tab_helper.cc19 #include "content/public/browser/web_contents.h"
43 content::WebContents* web_contents)
44 : content::WebContentsObserver(web_contents) {
67 if (!web_contents()->IsBeingDestroyed()) {
68 TabSpecificContentSettings::FromWebContents(web_contents())->
84 web_contents()->GetController().GetLastCommittedEntry();
87 Profile::FromBrowserContext(web_contents()->GetBrowserContext());
97 TabSpecificContentSettings::FromWebContents(web_contents())->
106 params.CreateNavigateParams(web_contents());
110 TabSpecificContentSettings::FromWebContents(web_contents())
42 PopupBlockerTabHelper( content::WebContents* web_contents) argument
[all...]
H A Dblocked_window_params.cc10 #include "content/public/browser/web_contents.h"
34 content::WebContents* web_contents) const {
36 web_contents->GetRenderProcessHost()->FilterURL(false, &popup_url);
38 Profile::FromBrowserContext(web_contents->GetBrowserContext()),
42 nav_params.source_contents = web_contents;
48 nav_params.window_bounds = web_contents->GetContainerBounds();
/external/chromium_org/chrome/browser/ui/fullscreen/
H A Dfullscreen_controller.cc29 #include "content/public/browser/web_contents.h"
85 const WebContents* web_contents) const {
86 if (web_contents == fullscreened_tab_) {
87 DCHECK(web_contents == browser_->tab_strip_model()->GetActiveWebContents());
88 DCHECK(web_contents->GetCapturerCount() == 0);
91 return IsFullscreenForCapturedTab(web_contents);
98 void FullscreenController::ToggleFullscreenModeForTab(WebContents* web_contents, argument
100 if (MaybeToggleFullscreenForCapturedTab(web_contents, enter_fullscreen)) {
106 if (web_contents != fullscreened_tab_)
109 web_contents !
227 RequestToLockMouse(WebContents* web_contents, bool user_gesture, bool last_unlocked_by_target) argument
280 OnTabDeactivated(WebContents* web_contents) argument
317 OnTabClosing(WebContents* web_contents) argument
722 MaybeToggleFullscreenForCapturedTab( WebContents* web_contents, bool enter_fullscreen) argument
[all...]
/external/chromium_org/chrome/browser/ui/omnibox/
H A Domnibox_current_page_delegate_impl.cc22 #include "content/public/browser/web_contents.h"
103 content::WebContents* web_contents = controller_->GetWebContents(); local
104 gfx::Rect container_bounds = web_contents->GetContainerBounds();
108 if (prerenderer && prerenderer->IsAllowed(match, web_contents)) {
110 web_contents->GetController().GetSessionStorageNamespaceMap(),
118 web_contents->GetController().GetSessionStorageNamespaceMap(),
125 content::WebContents* web_contents = controller_->GetWebContents(); local
126 if (web_contents &&
127 SearchTabHelper::FromWebContents(web_contents)->IsSearchResultsPage()) {
129 SearchTabHelper::FromWebContents(web_contents)
[all...]
/external/chromium_org/chrome/browser/ui/
H A Dnavigation_correction_tab_observer.cc19 #include "content/public/browser/web_contents.h"
29 WebContents* web_contents)
30 : content::WebContentsObserver(web_contents),
31 profile_(Profile::FromBrowserContext(web_contents->GetBrowserContext())) {
73 UpdateNavigationCorrectionInfo(web_contents()->GetRenderViewHost());
88 UpdateNavigationCorrectionInfo(web_contents()->GetRenderViewHost());
28 NavigationCorrectionTabObserver( WebContents* web_contents) argument
/external/chromium_org/extensions/browser/guest_view/web_view/
H A Djavascript_dialog_helper.h21 content::WebContents* web_contents,
30 content::WebContents* web_contents,
35 content::WebContents* web_contents,
39 content::WebContents* web_contents) OVERRIDE;
41 content::WebContents* web_contents) OVERRIDE;
/external/chromium_org/chrome/browser/chromeos/attestation/
H A Dplatform_verification_flow.cc32 #include "content/public/browser/web_contents.h"
73 content::WebContents* web_contents,
76 PlatformVerificationDialog::ShowDialog(web_contents, callback);
79 virtual PrefService* GetPrefs(content::WebContents* web_contents) OVERRIDE {
80 return user_prefs::UserPrefs::Get(web_contents->GetBrowserContext());
83 virtual const GURL& GetURL(content::WebContents* web_contents) OVERRIDE {
84 const GURL& url = web_contents->GetLastCommittedURL();
86 return web_contents->GetVisibleURL();
91 content::WebContents* web_contents) OVERRIDE {
93 Profile::FromBrowserContext(web_contents
112 ChallengeContext( content::WebContents* web_contents, const std::string& service_id, const std::string& challenge, const ChallengeCallback& callback) argument
161 ChallengePlatformKey( content::WebContents* web_contents, const std::string& service_id, const std::string& challenge, const ChallengeCallback& callback) argument
361 IsAttestationEnabled( content::WebContents* web_contents) argument
401 UpdateSettings( content::WebContents* web_contents, ConsentResponse consent_response) argument
[all...]
/external/chromium_org/chrome/browser/devtools/
H A Ddevtools_target_impl.cc20 #include "content/public/browser/web_contents.h"
49 WebContentsTarget(WebContents* web_contents, bool is_tab);
62 WebContentsTarget::WebContentsTarget(WebContents* web_contents, bool is_tab) argument
63 : DevToolsTargetImpl(DevToolsAgentHost::GetOrCreateFor(web_contents)),
68 web_contents->GetRenderViewHost()->GetMainFrame();
79 content::NavigationController& controller = web_contents->GetController();
83 set_last_activity_time(web_contents->GetLastActiveTime());
86 extensions::GuestViewBase::FromWebContents(web_contents);
96 tab_id_ = extensions::ExtensionTabUtil::GetTabId(web_contents);
101 web_contents
143 WebContents* web_contents = GetWebContents(); local
259 CreateForWebContents( content::WebContents* web_contents, bool is_tab) argument
[all...]
/external/chromium_org/chrome/browser/ui/apps/
H A Dchrome_app_delegate.cc30 #include "content/public/browser/web_contents.h"
169 void ChromeAppDelegate::InitWebContents(content::WebContents* web_contents) { argument
170 FaviconTabHelper::CreateForWebContents(web_contents);
174 printing::PrintViewManager::CreateForWebContents(web_contents);
175 printing::PrintPreviewMessageHandler::CreateForWebContents(web_contents);
177 printing::PrintViewManagerBasic::CreateForWebContents(web_contents);
181 web_contents);
185 ZoomController::CreateForWebContents(web_contents);
188 void ChromeAppDelegate::ResizeWebContents(content::WebContents* web_contents, argument
190 ::ResizeWebContents(web_contents, siz
229 ShowColorChooser( content::WebContents* web_contents, SkColor initial_color) argument
241 RequestMediaAccessPermission( content::WebContents* web_contents, const content::MediaStreamRequest& request, const content::MediaResponseCallback& callback, const extensions::Extension* extension) argument
250 CheckMediaAccessPermission( content::WebContents* web_contents, const GURL& security_origin, content::MediaStreamType type, const extensions::Extension* extension) argument
268 SetWebContentsBlocked( content::WebContents* web_contents, bool blocked) argument
279 IsWebContentsVisible( content::WebContents* web_contents) argument
[all...]
/external/chromium_org/chrome/browser/ui/panels/
H A Dpanel_extension_browsertest.cc22 #include "content/public/browser/web_contents.h"
144 content::WebContents* web_contents = panel->GetWebContents(); local
145 ASSERT_TRUE(web_contents);
152 params.page_url = web_contents->GetURL();
154 EXPECT_FALSE(web_contents->GetDelegate()->HandleContextMenu(params));
157 new PanelContextMenu(web_contents->GetMainFrame(), params));
173 params.page_url = web_contents->GetURL();
175 EXPECT_FALSE(web_contents->GetDelegate()->HandleContextMenu(params));
178 new PanelContextMenu(web_contents->GetMainFrame(), params));
193 params.page_url = web_contents
247 content::WebContents* web_contents = panel->GetWebContents(); local
[all...]
/external/chromium_org/apps/
H A Dcustom_launcher_page_contents.cc13 #include "content/public/browser/web_contents.h"
40 Observe(web_contents());
49 extensions::SetViewType(web_contents(), extensions::VIEW_TYPE_LAUNCHER_PAGE);
55 web_contents());
101 content::WebContents* web_contents,
104 return app_delegate_->ShowColorChooser(web_contents, initial_color);
114 content::WebContents* web_contents,
117 DCHECK_EQ(web_contents_.get(), web_contents);
122 content::WebContents* web_contents,
125 DCHECK_EQ(web_contents_.get(), web_contents);
100 OpenColorChooser( content::WebContents* web_contents, SkColor initial_color, const std::vector<content::ColorSuggestion>& suggestionss) argument
113 RequestToLockMouse( content::WebContents* web_contents, bool user_gesture, bool last_unlocked_by_target) argument
121 RequestMediaAccessPermission( content::WebContents* web_contents, const content::MediaStreamRequest& request, const content::MediaResponseCallback& callback) argument
129 CheckMediaAccessPermission( content::WebContents* web_contents, const GURL& security_origin, content::MediaStreamType type) argument
[all...]

Completed in 1872 milliseconds

1234567891011>>