Searched defs:web_contents (Results 126 - 150 of 683) sorted by last modified time

1234567891011>>

/external/chromium_org/content/public/browser/
H A Dweb_contents_delegate.h310 WebContents* web_contents,
352 WebContents* web_contents,
357 virtual void RunFileChooser(WebContents* web_contents, argument
363 virtual void EnumerateDirectory(WebContents* web_contents, argument
374 virtual void ToggleFullscreenModeForTab(WebContents* web_contents, argument
377 const WebContents* web_contents) const;
382 virtual void RegisterProtocolHandler(WebContents* web_contents, argument
390 virtual void UnregisterProtocolHandler(WebContents* web_contents, argument
398 virtual void FindReply(WebContents* web_contents, argument
408 virtual void FindMatchRectsReply(WebContents* web_contents, argument
415 UpdatePreferredSize(WebContents* web_contents, const gfx::Size& pref_size) argument
419 ResizeDueToAutoResize(WebContents* web_contents, const gfx::Size& new_size) argument
423 WebUISend(WebContents* web_contents, const GURL& source_url, const std::string& name, const base::ListValue& args) argument
431 RequestToLockMouse(WebContents* web_contents, bool user_gesture, bool last_unlocked_by_target) argument
473 ShowValidationMessage(WebContents* web_contents, const gfx::Rect& anchor_in_root_view, const base::string16& main_text, const base::string16& sub_text) argument
480 HideValidationMessage(WebContents* web_contents) argument
484 MoveValidationMessage(WebContents* web_contents, const gfx::Rect& anchor_in_root_view) argument
[all...]
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);
/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...]
H A Dcontent_browser_test_utils.cc11 #include "content/browser/web_contents/web_contents_impl.h"
14 #include "content/public/browser/web_contents.h"
39 WaitForLoadStop(window->web_contents());
40 TestNavigationObserver same_tab_observer(window->web_contents(),
49 WaitForLoadStop(window->web_contents());
50 TestNavigationObserver same_tab_observer(window->web_contents(),
59 WaitForLoadStop(window->web_contents());
60 TestNavigationObserver same_tab_observer(window->web_contents(), 1);
107 explicit RenderViewCreatedObserver(WebContents* web_contents) argument
108 : WebContentsObserver(web_contents),
133 WebContentsCreated(WebContents* web_contents) argument
[all...]
H A Djavascript_test_observer.cc10 #include "content/public/browser/web_contents.h"
32 WebContents* web_contents, TestMessageHandler* handler)
39 Source<WebContents>(web_contents));
31 JavascriptTestObserver( WebContents* web_contents, TestMessageHandler* handler) argument
H A Dtest_navigation_observer.cc11 #include "content/browser/web_contents/web_contents_impl.h"
21 WebContents* web_contents)
22 : WebContentsObserver(web_contents),
30 parent_->OnNavigationEntryCommitted(this, web_contents(), load_details);
34 parent_->OnDidAttachInterstitialPage(web_contents());
38 parent_->OnWebContentsDestroyed(this, web_contents());
42 parent_->OnDidStartLoading(web_contents());
46 parent_->OnDidStopLoading(web_contents());
55 WebContents* web_contents,
65 if (web_contents)
20 TestWebContentsObserver(TestNavigationObserver* parent, WebContents* web_contents) argument
54 TestNavigationObserver( WebContents* web_contents, int number_of_navigations) argument
69 TestNavigationObserver( WebContents* web_contents) argument
102 RegisterAsObserver(WebContents* web_contents) argument
107 OnWebContentsCreated(WebContents* web_contents) argument
111 OnWebContentsDestroyed( TestWebContentsObserver* observer, WebContents* web_contents) argument
118 OnNavigationEntryCommitted( TestWebContentsObserver* observer, WebContents* web_contents, const LoadCommittedDetails& load_details) argument
125 OnDidAttachInterstitialPage( WebContents* web_contents) argument
132 OnDidStartLoading(WebContents* web_contents) argument
136 OnDidStopLoading(WebContents* web_contents) argument
[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/test/base/
H A Dui_test_utils.cc63 #include "content/public/browser/web_contents.h"
142 WebContents* web_contents = local
144 if (!web_contents)
146 NavigationEntry* last_entry = web_contents->GetController().GetActiveEntry();
217 WebContents* web_contents = NULL; local
221 web_contents = tab_strip->GetWebContentsAt(tab_strip->active_index() + 1);
222 EXPECT_TRUE(web_contents != NULL)
225 if (!web_contents)
231 web_contents = browser->tab_strip_model()->GetActiveWebContents();
236 } else if (web_contents) {
[all...]
H A Dweb_ui_browser_test.cc26 #include "content/public/browser/web_contents.h"
65 WebUIJsInjectionReadyObserver(content::WebContents* web_contents, argument
69 : content::WebContentsObserver(web_contents),
211 content::WebContents* web_contents = local
214 web_contents, this, preload_test_fixture_, preload_test_name_);
215 content::TestNavigationObserver navigation_observer(web_contents);
246 content::WebContents* web_contents) OVERRIDE {
247 preview_dialog_ = web_contents;
/external/chromium_org/chrome/test/ppapi/
H A Dppapi_test.cc27 #include "content/public/browser/web_contents.h"
102 content::WebContents* web_contents = local
104 ASSERT_TRUE(web_contents != NULL);
106 InfoBarService::FromWebContents(web_contents);
/external/chromium_org/chrome/test/remoting/
H A Dqunit_browser_test_runner.cc16 void QUnitBrowserTestRunner::QUnitStart(content::WebContents* web_contents) { argument
22 web_contents, "browserTestHarness.run();", &result));
47 content::WebContents* web_contents = local
49 ASSERT_TRUE(web_contents);
52 QUnitStart(web_contents);
H A Dremote_desktop_browsertest.cc194 content::WebContents* web_contents = controller->GetWebContents(); local
195 if (web_contents != active_web_contents())
196 web_contents_stack_.push_back(web_contents);
198 app_web_content_ = web_contents;
621 content::WebContents* web_contents, const std::string& script) {
624 web_contents,
633 content::WebContents* web_contents, const std::string& script) {
636 web_contents,
645 content::WebContents* web_contents, const std::string& script) {
648 web_contents,
620 ExecuteScriptAndExtractBool( content::WebContents* web_contents, const std::string& script) argument
632 ExecuteScriptAndExtractInt( content::WebContents* web_contents, const std::string& script) argument
644 ExecuteScriptAndExtractString( content::WebContents* web_contents, const std::string& script) argument
656 LoadScript( content::WebContents* web_contents, const base::FilePath::StringType& path) argument
673 RunJavaScriptTest( content::WebContents* web_contents, const std::string& testName, const std::string& testData) argument
802 IsAuthenticatedInWindow( content::WebContents* web_contents) argument
[all...]
/external/chromium_org/chromecast/shell/browser/android/
H A Dcast_window_android.cc33 CastWindowAndroid::CastWindowAndroid(content::WebContents* web_contents) argument
34 : content::WebContentsObserver(web_contents),
47 content::WebContents* web_contents = local
50 web_contents,
59 content::WebContents* web_contents,
61 CastWindowAndroid* shell = new CastWindowAndroid(web_contents);
68 shell->web_contents_.reset(web_contents);
69 web_contents->SetDelegate(shell);
72 env, shell->java_object_.obj(), reinterpret_cast<jint>(web_contents));
75 web_contents
58 CreateCastWindowAndroid( content::WebContents* web_contents, const gfx::Size& initial_size) argument
[all...]
/external/chromium_org/chromecast/shell/browser/test/
H A Dchromecast_browser_test.h43 content::WebContents* web_contents() const { return web_contents_.get(); } function in class:chromecast::shell::ChromecastBrowserTest
/external/chromium_org/components/autofill/content/browser/
H A Dcontent_autofill_driver.cc20 #include "content/public/browser/web_contents.h"
56 content::WebContents* web_contents,
60 : content::WebContentsObserver(web_contents),
73 return web_contents()->GetBrowserContext()->IsOffTheRecord();
77 return web_contents()->GetBrowserContext()->GetRequestContext();
85 return (web_contents()->GetRenderViewHost() != NULL);
94 content::RenderViewHost* host = web_contents()->GetRenderViewHost();
110 content::RenderViewHost* host = web_contents()->GetRenderViewHost();
122 content::RenderViewHost* host = web_contents()->GetRenderViewHost();
134 content::RenderViewHost* host = web_contents()
55 ContentAutofillDriver( content::WebContents* web_contents, AutofillClient* client, const std::string& app_locale, AutofillManager::AutofillDownloadManagerState enable_download_manager) argument
[all...]
/external/chromium_org/components/autofill/content/browser/risk/
H A Dfingerprint.cc36 #include "content/public/browser/web_contents.h"
470 content::WebContents* web_contents,
478 gfx::Rect content_bounds = web_contents->GetContainerBounds();
482 web_contents->GetRenderWidgetHostView();
467 GetFingerprint( uint64 obfuscated_gaia_id, const gfx::Rect& window_bounds, content::WebContents* web_contents, const std::string& version, const std::string& charset, const std::string& accept_languages, const base::Time& install_time, const std::string& app_locale, const std::string& user_agent, const base::Callback<void(scoped_ptr<Fingerprint>)>& callback) argument
/external/chromium_org/components/dom_distiller/content/
H A Ddistiller_page_web_contents.cc17 #include "content/public/browser/web_contents.h"
25 scoped_ptr<content::WebContents> web_contents)
26 : web_contents_(web_contents.Pass()) {
121 content::WebContents* web_contents) const {
124 size = web_contents->GetContainerBounds().size();
24 SourcePageHandleWebContents( scoped_ptr<content::WebContents> web_contents) argument
H A Ddistiller_page_web_contents_browsertest.cc112 content::WebContents* web_contents = web_contents_.release(); variable
113 web_contents->GetLastCommittedURL();
120 content::WebContents* web_contents = web_contents_.release(); local
121 web_contents->GetLastCommittedURL();
138 WebContentsMainFrameHelper(content::WebContents* web_contents, argument
141 : WebContentsObserver(web_contents),
170 shell()->web_contents()->GetBrowserContext(),
171 shell()->web_contents()->GetContainerBounds().size(),
190 shell()->web_contents()->GetBrowserContext(),
191 shell()->web_contents()
[all...]
H A Ddom_distiller_viewer_source.cc26 #include "content/public/browser/web_contents.h"
42 content::WebContents* web_contents,
112 content::WebContents* web_contents,
123 content::WebContentsObserver::Observe(web_contents);
136 if (web_contents()) {
137 web_contents()->GetMainFrame()->ExecuteJavaScript(
186 web_contents()->GetMainFrame()->ExecuteJavaScript(base::UTF8ToUTF16(buffer_));
294 content::WebContents* web_contents = local
296 DCHECK(web_contents);
302 web_contents, scheme
111 RequestViewerHandle( content::WebContents* web_contents, const std::string& expected_scheme, const std::string& expected_request_path, const content::URLDataSource::GotDataCallback& callback, DistilledPagePrefs* distilled_page_prefs) argument
[all...]
H A Dweb_contents_main_frame_observer.cc9 #include "content/public/browser/web_contents.h"
18 content::WebContents* web_contents)
20 content::WebContentsObserver::Observe(web_contents);
17 WebContentsMainFrameObserver( content::WebContents* web_contents) argument
/external/chromium_org/chrome/browser/media/
H A Dmedia_capture_devices_dispatcher.cc42 #include "content/public/browser/web_contents.h"
138 base::string16 GetApplicationTitle(content::WebContents* web_contents, argument
146 GURL url = web_contents->GetURL();
194 // Find browser or app window from a given |web_contents|.
196 content::WebContents* web_contents) {
197 Browser* browser = chrome::FindBrowserWithWebContents(web_contents);
203 web_contents->GetBrowserContext())->app_windows();
207 if ((*iter)->web_contents() == web_contents)
325 content::WebContents* web_contents local
195 FindParentWindowForWebContents( content::WebContents* web_contents) argument
331 ProcessMediaAccessRequest( content::WebContents* web_contents, const content::MediaStreamRequest& request, const content::MediaResponseCallback& callback, const extensions::Extension* extension) argument
406 CheckMediaAccessPermission( content::WebContents* web_contents, const GURL& security_origin, content::MediaStreamType type) argument
448 CheckMediaAccessPermission( content::WebContents* web_contents, const GURL& security_origin, content::MediaStreamType type, const extensions::Extension* extension) argument
469 ProcessDesktopCaptureAccessRequest( content::WebContents* web_contents, const content::MediaStreamRequest& request, const content::MediaResponseCallback& callback, const extensions::Extension* extension) argument
538 ProcessScreenCaptureAccessRequest( content::WebContents* web_contents, const content::MediaStreamRequest& request, const content::MediaResponseCallback& callback, const extensions::Extension* extension) argument
649 ProcessTabCaptureAccessRequest( content::WebContents* web_contents, const content::MediaStreamRequest& request, const content::MediaResponseCallback& callback, const extensions::Extension* extension) argument
701 ProcessMediaAccessRequestFromPlatformAppOrExtension( content::WebContents* web_contents, const content::MediaStreamRequest& request, const content::MediaResponseCallback& callback, const extensions::Extension* extension) argument
784 ProcessRegularMediaAccessRequest( content::WebContents* web_contents, const content::MediaStreamRequest& request, const content::MediaResponseCallback& callback) argument
798 ProcessQueuedAccessRequest( content::WebContents* web_contents) argument
836 OnAccessRequestResponse( content::WebContents* web_contents, const content::MediaStreamDevices& devices, content::MediaStreamRequestResult result, scoped_ptr<content::MediaStreamUI> ui) argument
[all...]
H A Dmedia_stream_capture_indicator.cc24 #include "content/public/browser/web_contents.h"
45 const extensions::Extension* GetExtension(WebContents* web_contents) { argument
48 if (!web_contents)
52 extensions::ExtensionRegistry::Get(web_contents->GetBrowserContext());
54 web_contents->GetURL());
75 base::string16 GetSecurityOrigin(WebContents* web_contents) { argument
78 if (!web_contents)
81 std::string security_origin = web_contents->GetURL().GetOrigin().spec();
93 base::string16 GetTitle(WebContents* web_contents) { argument
96 if (!web_contents)
133 WebContentsDeviceUsage( scoped_refptr<MediaStreamCaptureIndicator> indicator, WebContents* web_contents) argument
290 RegisterMediaStream( content::WebContents* web_contents, const content::MediaStreamDevices& devices) argument
307 WebContents* const web_contents = command_targets_[index]; local
347 UnregisterWebContents( WebContents* web_contents) argument
426 WebContents* const web_contents = iter->first; local
[all...]
H A Dmedia_stream_devices_controller.cc100 content::WebContents* web_contents,
103 : web_contents_(web_contents),
106 profile_ = Profile::FromBrowserContext(web_contents->GetBrowserContext());
107 content_settings_ = TabSpecificContentSettings::FromWebContents(web_contents);
99 MediaStreamDevicesController( content::WebContents* web_contents, const content::MediaStreamRequest& request, const content::MediaResponseCallback& callback) argument
H A Dmedia_stream_infobar_delegate.cc15 #include "content/public/browser/web_contents.h"
38 content::WebContents* web_contents,
42 new MediaStreamDevicesController(web_contents, request, callback));
47 InfoBarService::FromWebContents(web_contents);
37 Create( content::WebContents* web_contents, const content::MediaStreamRequest& request, const content::MediaResponseCallback& callback) argument
H A Dprotected_media_identifier_infobar_delegate.cc28 infobar_service->web_contents()->GetController().GetLastCommittedEntry();
65 content::WebContents* web_contents = local
68 web_contents->GetLastCommittedURL(),

Completed in 299 milliseconds

1234567891011>>