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

Unified Diff: content/browser/tab_contents/interstitial_page_impl.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/interstitial_page_impl.cc
diff --git a/content/browser/tab_contents/interstitial_page_impl.cc b/content/browser/tab_contents/interstitial_page_impl.cc
index 8a91f424ba7648759dc351cf3b1fc03a7b21eccb..0894673ace1f9b7b6f9ab7e632dc0a1cd54fd339 100644
--- a/content/browser/tab_contents/interstitial_page_impl.cc
+++ b/content/browser/tab_contents/interstitial_page_impl.cc
@@ -42,6 +42,7 @@ using content::NavigationController;
using content::NavigationEntry;
using content::NavigationEntryImpl;
using content::RenderViewHostDelegate;
+using content::RenderWidgetHostViewPort;
using content::SiteInstance;
using content::WebContents;
using content::WebContentsView;
@@ -273,7 +274,7 @@ void InterstitialPageImpl::Hide() {
// (Note that in unit-tests the RVH may not have a view).
if (render_view_host_->view() && render_view_host_->view()->HasFocus() &&
tab_->GetRenderViewHost()->view()) {
- RenderWidgetHostViewBase::FromRWHV(
+ RenderWidgetHostViewPort::FromRWHV(
tab_->GetRenderViewHost()->view())->Focus();
}
@@ -595,7 +596,7 @@ void InterstitialPageImpl::SetSize(const gfx::Size& size) {
void InterstitialPageImpl::Focus() {
// Focus the native window.
- RenderWidgetHostViewBase::FromRWHV(render_view_host_->view())->Focus();
+ RenderWidgetHostViewPort::FromRWHV(render_view_host_->view())->Focus();
}
void InterstitialPageImpl::FocusThroughTabTraversal(bool reverse) {
« no previous file with comments | « content/browser/renderer_host/test_render_view_host.cc ('k') | content/browser/tab_contents/render_view_host_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698