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

Unified Diff: chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc

Issue 126513004: Rename RootWindowHost to WindowTreeHost (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 11 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/ui/views/omnibox/omnibox_view_views_browsertest.cc
diff --git a/chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc b/chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc
index e52aa118cfa4540084eaff0c78dfd4543540714e..b999221c1fd45e59427b42d6afaca220e58eaca1 100644
--- a/chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc
+++ b/chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc
@@ -66,9 +66,9 @@ class OmniboxViewViewsTest : public InProcessBrowserTest {
#if defined(USE_AURA)
// Tap the center of the browser window.
void TapBrowserWindowCenter() {
- aura::RootWindowHostDelegate* rwhd =
+ aura::WindowTreeHostDelegate* rwhd =
browser()->window()->GetNativeWindow()->GetRootWindow()->
- GetDispatcher()->AsRootWindowHostDelegate();
+ GetDispatcher()->AsWindowTreeHostDelegate();
gfx::Point center = BrowserView::GetBrowserViewForBrowser(
browser())->GetBoundsInScreen().CenterPoint();
@@ -84,9 +84,9 @@ class OmniboxViewViewsTest : public InProcessBrowserTest {
// Touch down and release at the specified locations.
void Tap(const gfx::Point& press_location,
const gfx::Point& release_location) {
- aura::RootWindowHostDelegate* rwhd =
+ aura::WindowTreeHostDelegate* rwhd =
browser()->window()->GetNativeWindow()->GetRootWindow()->
- GetDispatcher()->AsRootWindowHostDelegate();
+ GetDispatcher()->AsWindowTreeHostDelegate();
ui::TouchEvent press(ui::ET_TOUCH_PRESSED, press_location,
5, base::TimeDelta::FromMilliseconds(0));
« no previous file with comments | « chrome/browser/ui/views/frame/minimize_button_metrics_win.h ('k') | chrome/browser/ui/views/tabs/dock_info_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698