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

Unified Diff: ash/common/metrics/pointer_metrics_recorder.cc

Issue 2766543002: Move even more from WmShell to Shell (Closed)
Patch Set: 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
Index: ash/common/metrics/pointer_metrics_recorder.cc
diff --git a/ash/common/metrics/pointer_metrics_recorder.cc b/ash/common/metrics/pointer_metrics_recorder.cc
index be9e91cb366f2259da032867b64ca5a1c8db9abe..4970c8e123997be11aa5d41c333fd77a19b5ce94 100644
--- a/ash/common/metrics/pointer_metrics_recorder.cc
+++ b/ash/common/metrics/pointer_metrics_recorder.cc
@@ -8,6 +8,7 @@
#include "ash/common/wm_shell.h"
#include "ash/common/wm_window.h"
#include "ash/shared/app_types.h"
+#include "ash/shell.h"
#include "base/metrics/histogram_macros.h"
#include "ui/events/event_constants.h"
#include "ui/views/widget/widget.h"
@@ -45,7 +46,7 @@ int GetDestination(views::Widget* target) {
void RecordUMA(ui::EventPointerType type, views::Widget* target) {
DownEventFormFactor form_factor = DownEventFormFactor::CLAMSHELL;
- if (ash::WmShell::Get()
+ if (Shell::Get()
->maximize_mode_controller()
->IsMaximizeModeWindowManagerEnabled()) {
form_factor = DownEventFormFactor::TOUCH_VIEW;
« no previous file with comments | « ash/common/frame/custom_frame_view_ash_unittest.cc ('k') | ash/common/metrics/pointer_metrics_recorder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698