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

Unified Diff: ash/wm/gestures/overview_gesture_handler.cc

Issue 2775973002: Promotes more accessors from WmShell to Shell (Closed)
Patch Set: feedback Created 3 years, 9 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/virtual_keyboard_controller_unittest.cc ('k') | ash/wm/gestures/overview_gesture_handler_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/gestures/overview_gesture_handler.cc
diff --git a/ash/wm/gestures/overview_gesture_handler.cc b/ash/wm/gestures/overview_gesture_handler.cc
index 8d84fee41eb4d863ae45e812088c7ec33e7d08db..940d8445b45c8b6d130b27b2bbbd02c05dced024 100644
--- a/ash/wm/gestures/overview_gesture_handler.cc
+++ b/ash/wm/gestures/overview_gesture_handler.cc
@@ -6,6 +6,7 @@
#include "ash/common/wm/overview/window_selector_controller.h"
#include "ash/common/wm_shell.h"
+#include "ash/shell.h"
#include "ui/events/event.h"
#include "ui/events/event_constants.h"
@@ -33,7 +34,7 @@ bool OverviewGestureHandler::ProcessScrollEvent(const ui::ScrollEvent& event) {
scroll_y_ += event.y_offset();
WindowSelectorController* window_selector_controller =
- WmShell::Get()->window_selector_controller();
+ Shell::Get()->window_selector_controller();
// Horizontal 3-finger scroll moves selection when already in overview mode.
if (std::fabs(scroll_x_) >= std::fabs(scroll_y_)) {
« no previous file with comments | « ash/virtual_keyboard_controller_unittest.cc ('k') | ash/wm/gestures/overview_gesture_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698