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

Unified Diff: content/browser/tab_contents/render_view_host_manager.cc

Issue 9347042: Introduce content::RenderWidgetHostViewPort (in content/port/browser). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head. 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: content/browser/tab_contents/render_view_host_manager.cc
diff --git a/content/browser/tab_contents/render_view_host_manager.cc b/content/browser/tab_contents/render_view_host_manager.cc
index 3fd25e646914c38a4f5c04481f7535897a80773a..c7e0ff7fa867d6eeffb1e3e797145c6979f0b754 100644
--- a/content/browser/tab_contents/render_view_host_manager.cc
+++ b/content/browser/tab_contents/render_view_host_manager.cc
@@ -30,6 +30,7 @@
using content::NavigationController;
using content::NavigationEntry;
using content::NavigationEntryImpl;
+using content::RenderWidgetHostViewPort;
using content::SiteInstance;
using content::WebUIControllerFactory;
@@ -610,7 +611,7 @@ void RenderViewHostManager::CommitPending() {
if (will_focus_location_bar)
delegate_->SetFocusToLocationBar(false);
else if (focus_render_view && render_view_host_->view())
- RenderWidgetHostViewBase::FromRWHV(render_view_host_->view())->Focus();
+ RenderWidgetHostViewPort::FromRWHV(render_view_host_->view())->Focus();
std::pair<RenderViewHost*, RenderViewHost*> details =
std::make_pair(old_render_view_host, render_view_host_);
« no previous file with comments | « content/browser/tab_contents/interstitial_page_impl.cc ('k') | content/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698