/external/chromium_org/content/browser/devtools/ |
D | render_view_devtools_agent_host.cc | 38 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 …]
|
D | devtools_manager_unittest.cc | 104 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/ |
D | web_contents_tracker.cc | 50 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/ |
D | browser_plugin_geolocation_permission_context.cc | 50 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()
|
D | browser_plugin_host_browsertest.cc | 270 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/ |
D | accessibility_ui.cc | 66 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/ |
D | test_renderer_host.cc | 47 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/ |
D | devtools_manager_unittest.cc | 81 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/ |
D | devtools_target_impl.cc | 40 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/ |
D | app_window_contents.cc | 116 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/ |
D | pepper_output_protection_message_filter.cc | 75 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/ |
D | balloon_host.cc | 196 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/ |
D | test_web_contents.cc | 133 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()
|
D | webui_resource_browsertest.cc | 30 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/ |
D | render_widget_snapshot_taker_unittest.cc | 39 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/ |
D | web_contents_unittest.cc | 240 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/ |
D | web_contents_impl.cc | 170 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/ |
D | print_preview_handler.cc | 252 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/ |
D | file_manager_jstest.cc | 22 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/ |
D | shell_devtools_delegate.cc | 120 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/ |
D | nacl_infobar_delegate.cc | 18 content::RenderViewHost* rvh = in Create() local 20 if (!rvh) in Create() 23 content::WebContents::FromRenderViewHost(rvh); in Create()
|
/external/chromium_org/content/public/browser/ |
D | devtools_agent_host.h | 29 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/ |
D | intercept_navigation_resource_throttle.cc | 39 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/ |
D | web_contents_drag_source.mm | 106 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/ |
D | safe_browsing_tab_observer.cc | 77 content::RenderViewHost* rvh = web_contents_->GetRenderViewHost(); in UpdateSafebrowsingDetectionHost() local 78 rvh->Send(new ChromeViewMsg_SetClientSidePhishingDetection( in UpdateSafebrowsingDetectionHost() 79 rvh->GetRoutingID(), safe_browsing)); in UpdateSafebrowsingDetectionHost()
|