/external/chromium_org/content/public/browser/ |
H A D | web_contents_delegate.h | 310 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 D | web_contents_observer.cc | 7 #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 D | browser_test_utils.cc | 19 #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 D | content_browser_test_utils.cc | 11 #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 D | javascript_test_observer.cc | 10 #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 D | test_navigation_observer.cc | 11 #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 D | test_renderer_host.cc | 13 #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 D | ui_test_utils.cc | 63 #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 D | web_ui_browser_test.cc | 26 #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 D | ppapi_test.cc | 27 #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 D | qunit_browser_test_runner.cc | 16 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 D | remote_desktop_browsertest.cc | 194 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 D | cast_window_android.cc | 33 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 D | chromecast_browser_test.h | 43 content::WebContents* web_contents() const { return web_contents_.get(); } function in class:chromecast::shell::ChromecastBrowserTest
|
/external/chromium_org/components/autofill/content/browser/ |
H A D | content_autofill_driver.cc | 20 #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 D | fingerprint.cc | 36 #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 D | distiller_page_web_contents.cc | 17 #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 D | distiller_page_web_contents_browsertest.cc | 112 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 D | dom_distiller_viewer_source.cc | 26 #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 D | web_contents_main_frame_observer.cc | 9 #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 D | media_capture_devices_dispatcher.cc | 42 #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 D | media_stream_capture_indicator.cc | 24 #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 D | media_stream_devices_controller.cc | 100 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 D | media_stream_infobar_delegate.cc | 15 #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 D | protected_media_identifier_infobar_delegate.cc | 28 infobar_service->web_contents()->GetController().GetLastCommittedEntry(); 65 content::WebContents* web_contents = local 68 web_contents->GetLastCommittedURL(),
|