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

Unified Diff: ash/metrics/user_metrics_recorder.cc

Issue 2285633002: Add WM_EVENT_TRUSTED_PIN and WINDOW_STATE_TYPE_TRUSTED_PINNED to Ash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 4 years, 3 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/common/wm/wm_types.cc ('k') | ash/shelf/shelf_layout_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/metrics/user_metrics_recorder.cc
diff --git a/ash/metrics/user_metrics_recorder.cc b/ash/metrics/user_metrics_recorder.cc
index 54290d68167ef5d543d80e712ce342b76e1c73e4..1149707a2a4b6ea647913d7595b79456393c8284 100644
--- a/ash/metrics/user_metrics_recorder.cc
+++ b/ash/metrics/user_metrics_recorder.cc
@@ -66,6 +66,7 @@ ActiveWindowStateType GetActiveWindowState() {
case wm::WINDOW_STATE_TYPE_END:
case wm::WINDOW_STATE_TYPE_AUTO_POSITIONED:
case wm::WINDOW_STATE_TYPE_PINNED:
+ case wm::WINDOW_STATE_TYPE_TRUSTED_PINNED:
// TODO: We probably want to recorde PINNED state.
active_window_state_type = ACTIVE_WINDOW_STATE_TYPE_OTHER;
break;
« no previous file with comments | « ash/common/wm/wm_types.cc ('k') | ash/shelf/shelf_layout_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698