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

Unified Diff: ash/display/screen_position_controller.cc

Issue 10827145: Convert Aura to use ui::Event. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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/display/mouse_cursor_event_filter.cc ('k') | ash/drag_drop/drag_drop_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/screen_position_controller.cc
===================================================================
--- ash/display/screen_position_controller.cc (revision 150582)
+++ ash/display/screen_position_controller.cc (working copy)
@@ -56,7 +56,7 @@
const aura::Window* window,
gfx::Point* point) {
const aura::RootWindow* root = window->GetRootWindow();
- aura::Window::ConvertPointToWindow(window, root, point);
+ aura::Window::ConvertPointToTarget(window, root, point);
if (DisplayController::IsExtendedDesktopEnabled()) {
const gfx::Point display_origin =
gfx::Screen::GetDisplayNearestWindow(
@@ -75,7 +75,7 @@
const_cast<aura::RootWindow*>(root)).bounds().origin();
point->Offset(-display_origin.x(), -display_origin.y());
}
- aura::Window::ConvertPointToWindow(root, window, point);
+ aura::Window::ConvertPointToTarget(root, window, point);
}
void ScreenPositionController::SetBounds(
« no previous file with comments | « ash/display/mouse_cursor_event_filter.cc ('k') | ash/drag_drop/drag_drop_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698