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

Unified Diff: chrome/browser/browser_focus_uitest.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/browser_focus_uitest.cc
diff --git a/chrome/browser/browser_focus_uitest.cc b/chrome/browser/browser_focus_uitest.cc
index 42b20ffad831556b79bb54db74ecdf53e7fb064e..9d68a7b600822975c58acbff2afb86fc3d5fca98 100644
--- a/chrome/browser/browser_focus_uitest.cc
+++ b/chrome/browser/browser_focus_uitest.cc
@@ -212,7 +212,7 @@ class TestInterstitialPage : public content::InterstitialPageDelegate {
}
bool HasFocus() {
- return render_view_host()->view()->HasFocus();
+ return render_view_host()->GetView()->HasFocus();
}
private:
@@ -742,8 +742,8 @@ IN_PROC_BROWSER_TEST_F(BrowserFocusTest, InterstitialFocus) {
// Page should have focus.
ASSERT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER_FOCUS_VIEW));
- EXPECT_TRUE(browser()->GetSelectedWebContents()->GetRenderViewHost()->view()->
- HasFocus());
+ EXPECT_TRUE(browser()->GetSelectedWebContents()->GetRenderViewHost()->
+ GetView()->HasFocus());
// Let's show an interstitial.
TestInterstitialPage* interstitial_page =
« no previous file with comments | « chrome/browser/bookmarks/bookmark_manager_extension_api.cc ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698