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

Unified Diff: ash/screen_ash.cc

Issue 10835047: Allow the cursor to warp even when a window is dragged (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments 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
Index: ash/screen_ash.cc
diff --git a/ash/screen_ash.cc b/ash/screen_ash.cc
index 34ce7c65ad4c47b69ec80a3618b3f79a39cef813..231b806e9fa5cae4383940e2c2c7ab64662859e8 100644
--- a/ash/screen_ash.cc
+++ b/ash/screen_ash.cc
@@ -5,6 +5,7 @@
#include "ash/screen_ash.h"
#include "ash/shell.h"
+#include "ash/wm/coordinate_conversion.h"
#include "ash/wm/shelf_layout_manager.h"
#include "base/logging.h"
#include "ui/aura/client/screen_position_client.h"
@@ -83,7 +84,7 @@ gfx::Point ScreenAsh::GetCursorScreenPoint() {
gfx::NativeWindow ScreenAsh::GetWindowAtCursorScreenPoint() {
const gfx::Point point = gfx::Screen::GetCursorScreenPoint();
- return Shell::GetRootWindowAt(point)->GetTopWindowContainingPoint(point);
+ return wm::GetRootWindowAt(point)->GetTopWindowContainingPoint(point);
}
int ScreenAsh::GetNumDisplays() {

Powered by Google App Engine
This is Rietveld 408576698