Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(273)

Unified Diff: chrome/browser/automation/testing_automation_provider.cc

Issue 9473001: Extract minimal RenderViewHost interface for embedders, leaving (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to LKGR. Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/automation/testing_automation_provider.cc
diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc
index b10ba5e5b75418331d0ae00cef0c2df23a67c2a3..11f239a16bc1a5c7a6413a4efb27bbf50b565d39 100644
--- a/chrome/browser/automation/testing_automation_provider.cc
+++ b/chrome/browser/automation/testing_automation_provider.cc
@@ -2968,7 +2968,7 @@ void TestingAutomationProvider::GetBrowserInfo(
ex_host->render_process_host()->GetID());
view->SetInteger(
"render_view_id",
- ex_host->render_view_host()->routing_id());
+ ex_host->render_view_host()->GetRoutingID());
item->Set("view", view);
std::string type;
switch (ex_host->extension_host_type()) {
@@ -6132,7 +6132,7 @@ void TestingAutomationProvider::GetV8HeapStats(
// This observer will delete itself.
new V8HeapStatsObserver(
this, reply_message,
- base::GetProcId(render_view->process()->GetHandle()));
+ base::GetProcId(render_view->GetProcess()->GetHandle()));
render_view->Send(new ChromeViewMsg_GetV8HeapStats);
}
@@ -6162,12 +6162,12 @@ void TestingAutomationProvider::GetFPS(
}
RenderViewHost* render_view = web_contents->GetRenderViewHost();
- int routing_id = render_view->routing_id();
+ int routing_id = render_view->GetRoutingID();
// This observer will delete itself.
new FPSObserver(
this, reply_message,
- base::GetProcId(render_view->process()->GetHandle()),
+ base::GetProcId(render_view->GetProcess()->GetHandle()),
routing_id);
render_view->Send(new ChromeViewMsg_GetFPS(routing_id));
}
@@ -6926,7 +6926,7 @@ void TestingAutomationProvider::LoadBlockedPlugins(int tab_handle,
if (!contents)
return;
RenderViewHost* host = contents->GetRenderViewHost();
- host->Send(new ChromeViewMsg_LoadBlockedPlugins(host->routing_id()));
+ host->Send(new ChromeViewMsg_LoadBlockedPlugins(host->GetRoutingID()));
*success = true;
}
}
« no previous file with comments | « chrome/browser/automation/automation_util.cc ('k') | chrome/browser/bookmarks/bookmark_manager_extension_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698