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

Unified Diff: ash/magnifier/magnification_controller_unittest.cc

Issue 1900443002: Removes aura dependencies from WindowPositioner (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nuke GetWorkAreaForWindowInParent and fix windows Created 4 years, 8 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
« no previous file with comments | « ash/magnifier/magnification_controller.cc ('k') | ash/rotator/screen_rotation_animator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/magnifier/magnification_controller_unittest.cc
diff --git a/ash/magnifier/magnification_controller_unittest.cc b/ash/magnifier/magnification_controller_unittest.cc
index 3f8e0491f6c7588e9af76db73eb0924925337b81..4df32b7a37fa009717618b2aacfebae6f489f293 100644
--- a/ash/magnifier/magnification_controller_unittest.cc
+++ b/ash/magnifier/magnification_controller_unittest.cc
@@ -124,7 +124,7 @@ class MagnificationControllerTest: public test::AshTestBase {
// Convert origin to screen coordinates.
views::View::ConvertPointToScreen(text_input_view_, &origin);
// Convert origin to root_window_ coordinates.
- wm::ConvertPointFromScreen(GetRootWindow(), &origin);
+ ::wm::ConvertPointFromScreen(GetRootWindow(), &origin);
return gfx::Rect(origin.x(), origin.y(), bounds.width(), bounds.height());
}
@@ -133,7 +133,7 @@ class MagnificationControllerTest: public test::AshTestBase {
gfx::Rect caret_bounds =
GetInputMethod()->GetTextInputClient()->GetCaretBounds();
gfx::Point origin = caret_bounds.origin();
- wm::ConvertPointFromScreen(GetRootWindow(), &origin);
+ ::wm::ConvertPointFromScreen(GetRootWindow(), &origin);
return gfx::Rect(
origin.x(), origin.y(), caret_bounds.width(), caret_bounds.height());
}
« no previous file with comments | « ash/magnifier/magnification_controller.cc ('k') | ash/rotator/screen_rotation_animator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698