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

Unified Diff: ash/shell.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/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index 2e55736b903a3985b311134fa9362708403d9e08..73ad5b973a9aa4b6e22cc3cdc7b332478d3007ef 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -332,20 +332,6 @@ aura::RootWindow* Shell::GetActiveRootWindow() {
}
// static
-aura::RootWindow* Shell::GetRootWindowAt(const gfx::Point& point) {
- const gfx::Display& display = gfx::Screen::GetDisplayNearestPoint(point);
- return Shell::GetInstance()->display_controller()->
- GetRootWindowForDisplayId(display.id());
-}
-
-// static
-aura::RootWindow* Shell::GetRootWindowMatching(const gfx::Rect& rect) {
- const gfx::Display& display = gfx::Screen::GetDisplayMatching(rect);
- return Shell::GetInstance()->display_controller()->
- GetRootWindowForDisplayId(display.id());
-}
-
-// static
Shell::RootWindowList Shell::GetAllRootWindows() {
return Shell::GetInstance()->display_controller()->
GetAllRootWindows();

Powered by Google App Engine
This is Rietveld 408576698