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

Unified Diff: ash/metrics/pointer_metrics_recorder.cc

Issue 2909763002: Revert of Rename MaximizeMode to TabletMode (Closed)
Patch Set: Created 3 years, 7 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/frame/header_view.cc ('k') | ash/metrics/pointer_metrics_recorder_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/metrics/pointer_metrics_recorder.cc
diff --git a/ash/metrics/pointer_metrics_recorder.cc b/ash/metrics/pointer_metrics_recorder.cc
index 39584bc2aad72031b41c59b105c2dffcde8df136..65d6f5457e907b1d31355dce9f004bba5bcdc847 100644
--- a/ash/metrics/pointer_metrics_recorder.cc
+++ b/ash/metrics/pointer_metrics_recorder.cc
@@ -7,7 +7,7 @@
#include "ash/shared/app_types.h"
#include "ash/shell.h"
#include "ash/shell_port.h"
-#include "ash/wm/tablet_mode/tablet_mode_controller.h"
+#include "ash/wm/maximize_mode/maximize_mode_controller.h"
#include "ash/wm_window.h"
#include "base/metrics/histogram_macros.h"
#include "ui/events/event_constants.h"
@@ -47,8 +47,8 @@
void RecordUMA(ui::EventPointerType type, views::Widget* target) {
DownEventFormFactor form_factor = DownEventFormFactor::CLAMSHELL;
if (Shell::Get()
- ->tablet_mode_controller()
- ->IsTabletModeWindowManagerEnabled()) {
+ ->maximize_mode_controller()
+ ->IsMaximizeModeWindowManagerEnabled()) {
form_factor = DownEventFormFactor::TOUCH_VIEW;
}
UMA_HISTOGRAM_ENUMERATION(
« no previous file with comments | « ash/frame/header_view.cc ('k') | ash/metrics/pointer_metrics_recorder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698