Home
last modified time | relevance | path

Searched refs:rvh (Results 1 – 25 of 188) sorted by relevance

12345678

/external/chromium_org/content/browser/devtools/
Drender_view_devtools_agent_host.cc38 static RenderViewDevToolsAgentHost* FindAgentHost(RenderViewHost* rvh) { in FindAgentHost() argument
43 if (rvh == (*it)->render_view_host()) in FindAgentHost()
53 DevToolsAgentHost::GetOrCreateFor(RenderViewHost* rvh) { in GetOrCreateFor() argument
54 RenderViewDevToolsAgentHost* result = FindAgentHost(rvh); in GetOrCreateFor()
56 result = new RenderViewDevToolsAgentHost(rvh); in GetOrCreateFor()
61 bool DevToolsAgentHost::HasFor(RenderViewHost* rvh) { in HasFor() argument
62 return FindAgentHost(rvh) != NULL; in HasFor()
76 RenderViewHost* rvh = (*it)->render_view_host_; in IsDebuggerAttached() local
77 if (rvh && rvh->GetDelegate() != delegate) in IsDebuggerAttached()
97 RenderViewHost* rvh = RenderViewHost::From(widget); in GetValidRenderViewHosts() local
[all …]
Ddevtools_manager_unittest.cc104 DevToolsAgentHost::GetOrCreateFor(rvh())); in TEST_F()
124 DevToolsAgentHost::GetOrCreateFor(rvh())); in TEST_F()
129 agent_host = DevToolsAgentHost::GetOrCreateFor(rvh()); in TEST_F()
180 contents()->TestDidNavigate(rvh(), 1, url, PAGE_TRANSITION_TYPED); in TEST_F()
186 DevToolsAgentHost::GetOrCreateFor(rvh()).get(), &client_host); in TEST_F()
199 contents()->TestDidNavigate(rvh(), 1, url, PAGE_TRANSITION_TYPED); in TEST_F()
202 DevToolsAgentHost::GetOrCreateFor(rvh())); in TEST_F()
/external/chromium_org/content/browser/renderer_host/media/
Dweb_contents_tracker.cc50 RenderViewHost* const rvh = wc ? wc->GetRenderViewHost() : NULL; in OnWebContentsChangeEvent() local
51 RenderProcessHost* const rph = rvh ? rvh->GetProcess() : NULL; in OnWebContentsChangeEvent()
54 const int render_view_id = rvh ? rvh->GetRoutingID() : MSG_ROUTING_NONE; in OnWebContentsChangeEvent()
73 RenderViewHost* const rvh = in LookUpAndObserveWebContents() local
75 DVLOG_IF(1, !rvh) << "RenderViewHost::FromID(" in LookUpAndObserveWebContents()
78 Observe(rvh ? WebContents::FromRenderViewHost(rvh) : NULL); in LookUpAndObserveWebContents()
80 << "WebContents::FromRenderViewHost(" << rvh << ") returned NULL."; in LookUpAndObserveWebContents()
89 void WebContentsTracker::AboutToNavigateRenderView(RenderViewHost* rvh) { in AboutToNavigateRenderView() argument
/external/chromium_org/content/browser/browser_plugin/
Dbrowser_plugin_geolocation_permission_context.cc50 RenderViewHost* rvh = RenderViewHost::FromID(render_process_id, in RequestGeolocationPermission() local
52 if (rvh) { in RequestGeolocationPermission()
53 DCHECK(rvh->GetProcess()->IsGuest()); in RequestGeolocationPermission()
55 static_cast<WebContentsImpl*>(rvh->GetDelegate()->GetAsWebContents()); in RequestGeolocationPermission()
82 RenderViewHost* rvh = RenderViewHost::FromID(render_process_id, in CancelGeolocationPermissionRequest() local
84 if (rvh) { in CancelGeolocationPermissionRequest()
85 DCHECK(rvh->GetProcess()->IsGuest()); in CancelGeolocationPermissionRequest()
87 static_cast<WebContentsImpl*>(rvh->GetDelegate()->GetAsWebContents()); in CancelGeolocationPermissionRequest()
Dbrowser_plugin_host_browsertest.cc270 void ExecuteSyncJSFunction(RenderViewHost* rvh, const std::string& jscript) { in ExecuteSyncJSFunction() argument
272 content::ExecuteScriptAndGetValue(rvh, jscript); in ExecuteSyncJSFunction()
275 bool IsAttributeNull(RenderViewHost* rvh, const std::string& attribute) { in IsAttributeNull() argument
276 scoped_ptr<base::Value> value = content::ExecuteScriptAndGetValue(rvh, in IsAttributeNull()
282 void RemoveAttributes(RenderViewHost* rvh, const std::string& attributes) { in RemoveAttributes() argument
287 ExecuteSyncJSFunction(rvh, "document.getElementById('plugin')" in RemoveAttributes()
307 RenderViewHostImpl* rvh = static_cast<RenderViewHostImpl*>( in StartBrowserPluginTest() local
310 rvh->Focus(); in StartBrowserPluginTest()
312 rvh->SetInputMethodActive(true); in StartBrowserPluginTest()
317 ExecuteSyncJSFunction(rvh, embedder_code); in StartBrowserPluginTest()
[all …]
/external/chromium_org/content/browser/accessibility/
Daccessibility_ui.cc66 base::DictionaryValue* BuildTargetDescriptor(RenderViewHost* rvh) { in BuildTargetDescriptor() argument
67 WebContents* web_contents = WebContents::FromRenderViewHost(rvh); in BuildTargetDescriptor()
69 RenderWidgetHostImpl* rwhi = RenderWidgetHostImpl::From(rvh); in BuildTargetDescriptor()
88 rvh->GetProcess()->GetID(), in BuildTargetDescriptor()
89 rvh->GetRoutingID(), in BuildTargetDescriptor()
106 RenderViewHost* rvh = RenderViewHost::From(widget); in SendTargetsData() local
107 rvh_list->Append(BuildTargetDescriptor(rvh)); in SendTargetsData()
181 RenderViewHost* rvh = RenderViewHost::FromID(process_id, route_id); in ToggleAccessibility() local
182 if (!rvh) in ToggleAccessibility()
184 RenderWidgetHostImpl* rwhi = RenderWidgetHostImpl::From(rvh); in ToggleAccessibility()
[all …]
/external/chromium_org/content/public/test/
Dtest_renderer_host.cc47 bool RenderViewHostTester::IsRenderViewHostSwappedOut(RenderViewHost* rvh) { in IsRenderViewHostSwappedOut() argument
48 return static_cast<RenderViewHostImpl*>(rvh)->is_swapped_out(); in IsRenderViewHostSwappedOut()
52 bool RenderViewHostTester::TestOnMessageReceived(RenderViewHost* rvh, in TestOnMessageReceived() argument
54 return static_cast<RenderViewHostImpl*>(rvh)->OnMessageReceived(msg); in TestOnMessageReceived()
58 bool RenderViewHostTester::HasTouchEventHandler(RenderViewHost* rvh) { in HasTouchEventHandler() argument
59 RenderWidgetHostImpl* host_impl = RenderWidgetHostImpl::From(rvh); in HasTouchEventHandler()
91 RenderViewHost* RenderViewHostTestHarness::rvh() { in rvh() function in content::RenderViewHostTestHarness
101 return pending_rvh() ? pending_rvh() : rvh(); in active_rvh()
150 rvh())->SendNavigate(entry->GetPageID(), entry->GetURL()); in Reload()
158 rvh())->SendFailedNavigate(entry->GetPageID(), entry->GetURL()); in FailedReload()
/external/chromium/chrome/browser/debugger/
Ddevtools_manager_unittest.cc81 DevToolsClientHost* host = manager->GetDevToolsClientHostFor(rvh()); in TEST_F()
85 manager->RegisterDevToolsClientHostFor(rvh(), &client_host); in TEST_F()
87 host = manager->GetDevToolsClientHostFor(rvh()); in TEST_F()
92 host = manager->GetDevToolsClientHostFor(rvh()); in TEST_F()
98 host = manager->GetDevToolsClientHostFor(rvh()); in TEST_F()
106 manager->RegisterDevToolsClientHostFor(rvh(), &client_host); in TEST_F()
110 manager->ForwardToDevToolsClient(rvh(), m); in TEST_F()
/external/chromium_org/chrome/browser/devtools/
Ddevtools_target_impl.cc40 explicit RenderViewHostTarget(RenderViewHost* rvh, bool is_tab);
57 RenderViewHostTarget::RenderViewHostTarget(RenderViewHost* rvh, bool is_tab) { in RenderViewHostTarget() argument
58 agent_host_ = DevToolsAgentHost::GetOrCreateFor(rvh); in RenderViewHostTarget()
63 WebContents* web_contents = WebContents::FromRenderViewHost(rvh); in RenderViewHostTarget()
110 RenderViewHost* rvh = GetRenderViewHost(); in Activate() local
111 if (!rvh) in Activate()
113 WebContents* web_contents = WebContents::FromRenderViewHost(rvh); in Activate()
121 RenderViewHost* rvh = GetRenderViewHost(); in Close() local
122 if (!rvh) in Close()
124 rvh->ClosePage(); in Close()
[all …]
/external/chromium_org/apps/
Dapp_window_contents.cc116 content::RenderViewHost* rvh = web_contents_->GetRenderViewHost(); in NativeWindowChanged() local
117 rvh->Send(new ExtensionMsg_MessageInvoke(rvh->GetRoutingID(), in NativeWindowChanged()
126 content::RenderViewHost* rvh = web_contents_->GetRenderViewHost(); in NativeWindowClosed() local
127 rvh->Send(new ExtensionMsg_AppWindowClosed(rvh->GetRoutingID())); in NativeWindowClosed()
187 content::RenderViewHost* rvh) { in SuspendRenderViewHost() argument
188 DCHECK(rvh); in SuspendRenderViewHost()
193 rvh->GetProcess()->GetID(), rvh->GetRoutingID())); in SuspendRenderViewHost()
/external/chromium_org/chrome/browser/renderer_host/pepper/
Dpepper_output_protection_message_filter.cc75 bool GetCurrentDisplayId(content::RenderViewHost* rvh, int64* display_id) { in GetCurrentDisplayId() argument
77 content::RenderWidgetHostView* view = rvh->GetView(); in GetCurrentDisplayId()
140 content::RenderViewHost* rvh = in ~Delegate() local
142 if (rvh) { in ~Delegate()
143 content::RenderWidgetHostView* view = rvh->GetView(); in ~Delegate()
155 content::RenderViewHost* rvh = in GetClientId() local
157 if (!GetCurrentDisplayId(rvh, &display_id_)) in GetClientId()
159 content::RenderWidgetHostView* view = rvh->GetView(); in GetClientId()
178 content::RenderViewHost* rvh = in OnQueryStatus() local
180 if (!rvh) { in OnQueryStatus()
[all …]
/external/chromium/chrome/browser/notifications/
Dballoon_host.cc196 RenderViewHost* rvh = new RenderViewHost( in Init() local
201 rvh, this, balloon_->notification().content_url())); in Init()
204 rvh->AllowBindings(BindingsPolicy::EXTENSION); in Init()
205 rvh->set_is_extension_process(true); in Init()
209 static_cast<BrowserRenderProcessHost*>(rvh->process())->set_installed_app( in Init()
212 rvh->AllowBindings(BindingsPolicy::WEB_UI); in Init()
216 render_view_host_ = rvh; in Init()
220 rvh->set_view(render_widget_host_view()); in Init()
221 rvh->CreateRenderView(string16()); in Init()
226 rvh->NavigateToURL(balloon_->notification().content_url()); in Init()
/external/chromium_org/content/test/
Dtest_web_contents.cc133 TestRenderViewHost* rvh = in CommitPendingNavigation() local
135 if (!rvh) in CommitPendingNavigation()
136 rvh = static_cast<TestRenderViewHost*>(old_rvh); in CommitPendingNavigation()
143 page_id = GetMaxPageIDForSiteInstance(rvh->GetSiteInstance()) + 1; in CommitPendingNavigation()
149 if (old_rvh != rvh) in CommitPendingNavigation()
151 rvh->SendNavigate(page_id, entry->GetURL()); in CommitPendingNavigation()
157 TestRenderViewHost* rvh = static_cast<TestRenderViewHost*>( in ProceedWithCrossSiteNavigation() local
159 rvh->SendShouldCloseACK(true); in ProceedWithCrossSiteNavigation()
Dwebui_resource_browsertest.cc30 RenderViewHost* rvh = shell()->web_contents()->GetRenderViewHost(); in RunTest() local
31 ASSERT_TRUE(rvh); in RunTest()
32 EXPECT_TRUE(ExecuteWebUIResourceTest(rvh, include_libraries_)); in RunTest()
/external/chromium_org/chrome/browser/thumbnails/
Drender_widget_snapshot_taker_unittest.cc39 rvh(), in TEST_F()
47 content::RenderViewHostTestHarness::rvh(), in TEST_F()
71 rvh(), in TEST_F()
81 content::RenderViewHostTestHarness::rvh(), in TEST_F()
/external/chromium/chrome/browser/tab_contents/
Dweb_contents_unittest.cc240 contents()->UpdateTitle(rvh(), 0, L" Lots O' Whitespace\n"); in TEST_F()
252 rvh()->delegate()->RenderViewCreated(rvh()); in TEST_F()
268 TestRenderViewHost* orig_rvh = rvh(); in TEST_F()
297 TestRenderViewHost* orig_rvh = rvh(); in TEST_F()
350 TestRenderViewHost* orig_rvh = rvh(); in TEST_F()
371 TestRenderViewHost* new_rvh = rvh(); in TEST_F()
384 EXPECT_EQ(new_rvh, rvh()); in TEST_F()
393 TestRenderViewHost* orig_rvh = rvh(); in TEST_F()
447 TestRenderViewHost* orig_rvh = rvh(); in TEST_F()
499 TestRenderViewHost* orig_rvh = rvh(); in TEST_F()
[all …]
/external/chromium_org/content/browser/web_contents/
Dweb_contents_impl.cc170 static int StartDownload(content::RenderViewHost* rvh, in StartDownload() argument
175 rvh->Send(new ImageMsg_DownloadImage(rvh->GetRoutingID(), in StartDownload()
320 WebContents* WebContents::FromRenderViewHost(const RenderViewHost* rvh) { in FromRenderViewHost() argument
321 return rvh->GetDelegate()->GetAsWebContents(); in FromRenderViewHost()
965 RenderViewHostImpl* rvh = in WasShown() local
967 if (rvh) { in WasShown()
968 rvh->ResizeRectChanged(GetRootWindowResizerRect()); in WasShown()
1778 RenderViewHostImpl* rvh = GetRenderViewHostImpl(); in SetHistoryLengthAndPrune() local
1779 if (!rvh) { in SetHistoryLengthAndPrune()
1783 if (site_instance && rvh->GetSiteInstance() != site_instance) { in SetHistoryLengthAndPrune()
[all …]
/external/chromium/chrome/browser/ui/webui/
Dprint_preview_handler.cc252 RenderViewHost* rvh = initiator_tab->render_view_host(); in HandleGetPreview() local
253 rvh->Send(new PrintMsg_PrintPreview(rvh->routing_id(), *settings)); in HandleGetPreview()
259 RenderViewHost* rvh = initiator_tab->render_view_host(); in HandlePrint() local
260 rvh->Send(new PrintMsg_ResetScriptedPrintCount(rvh->routing_id())); in HandlePrint()
292 RenderViewHost* rvh = web_ui_->GetRenderViewHost(); in HandlePrint() local
293 rvh->Send(new PrintMsg_PrintForPrintPreview(rvh->routing_id(), *settings)); in HandlePrint()
/external/chromium_org/chrome/browser/chromeos/file_manager/
Dfile_manager_jstest.cc22 content::RenderViewHost* rvh = browser()->tab_strip_model() in RunTest() local
24 ASSERT_TRUE(rvh); in RunTest()
27 EXPECT_TRUE(ExecuteWebUIResourceTest(rvh, empty_libraries)); in RunTest()
/external/chromium_org/content/shell/browser/
Dshell_devtools_delegate.cc120 RenderViewHost* rvh = agent_host_->GetRenderViewHost(); in Activate() local
121 if (!rvh) in Activate()
123 WebContents* web_contents = WebContents::FromRenderViewHost(rvh); in Activate()
131 RenderViewHost* rvh = agent_host_->GetRenderViewHost(); in Close() local
132 if (!rvh) in Close()
134 rvh->ClosePage(); in Close()
/external/chromium_org/chrome/browser/nacl_host/
Dnacl_infobar_delegate.cc18 content::RenderViewHost* rvh = in Create() local
20 if (!rvh) in Create()
23 content::WebContents::FromRenderViewHost(rvh); in Create()
/external/chromium_org/content/public/browser/
Ddevtools_agent_host.h29 static scoped_refptr<DevToolsAgentHost> GetOrCreateFor(RenderViewHost* rvh);
33 static bool HasFor(RenderViewHost* rvh);
67 virtual void ConnectRenderViewHost(RenderViewHost* rvh) = 0;
/external/chromium_org/components/navigation_interception/
Dintercept_navigation_resource_throttle.cc39 RenderViewHost* rvh = in CheckIfShouldIgnoreNavigationOnUIThread() local
42 if (rvh) { in CheckIfShouldIgnoreNavigationOnUIThread()
45 rvh->GetProcess(), false, &validated_params.url()); in CheckIfShouldIgnoreNavigationOnUIThread()
47 should_ignore_navigation = should_ignore_callback.Run(rvh, in CheckIfShouldIgnoreNavigationOnUIThread()
/external/chromium/chrome/browser/ui/cocoa/tab_contents/
Dweb_contents_drag_source.mm106 RenderViewHost* rvh = [contentsView_ tabContents]->render_view_host();
107 if (rvh) {
110 rvh->DragSourceEndedAt(localPoint.x, localPoint.y,
120 RenderViewHost* rvh = [contentsView_ tabContents]->render_view_host();
121 if (rvh) {
124 rvh->DragSourceMovedTo(localPoint.x, localPoint.y,
/external/chromium_org/chrome/browser/safe_browsing/
Dsafe_browsing_tab_observer.cc77 content::RenderViewHost* rvh = web_contents_->GetRenderViewHost(); in UpdateSafebrowsingDetectionHost() local
78 rvh->Send(new ChromeViewMsg_SetClientSidePhishingDetection( in UpdateSafebrowsingDetectionHost()
79 rvh->GetRoutingID(), safe_browsing)); in UpdateSafebrowsingDetectionHost()

12345678