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

Side by Side Diff: ash/shell_delegate.h

Issue 24096024: Add UMA metrics for window selection and overview. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Improve the wording of histogram descriptions and fix selection uma count. Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | ash/wm/overview/window_overview.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_SHELL_DELEGATE_H_ 5 #ifndef ASH_SHELL_DELEGATE_H_
6 #define ASH_SHELL_DELEGATE_H_ 6 #define ASH_SHELL_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 UMA_WINDOW_MAXIMIZE_BUTTON_CLICK_EXIT_FULLSCREEN, 82 UMA_WINDOW_MAXIMIZE_BUTTON_CLICK_EXIT_FULLSCREEN,
83 UMA_WINDOW_MAXIMIZE_BUTTON_CLICK_MAXIMIZE, 83 UMA_WINDOW_MAXIMIZE_BUTTON_CLICK_MAXIMIZE,
84 UMA_WINDOW_MAXIMIZE_BUTTON_CLICK_MINIMIZE, 84 UMA_WINDOW_MAXIMIZE_BUTTON_CLICK_MINIMIZE,
85 UMA_WINDOW_MAXIMIZE_BUTTON_CLICK_RESTORE, 85 UMA_WINDOW_MAXIMIZE_BUTTON_CLICK_RESTORE,
86 UMA_WINDOW_MAXIMIZE_BUTTON_MAXIMIZE, 86 UMA_WINDOW_MAXIMIZE_BUTTON_MAXIMIZE,
87 UMA_WINDOW_MAXIMIZE_BUTTON_MAXIMIZE_LEFT, 87 UMA_WINDOW_MAXIMIZE_BUTTON_MAXIMIZE_LEFT,
88 UMA_WINDOW_MAXIMIZE_BUTTON_MAXIMIZE_RIGHT, 88 UMA_WINDOW_MAXIMIZE_BUTTON_MAXIMIZE_RIGHT,
89 UMA_WINDOW_MAXIMIZE_BUTTON_MINIMIZE, 89 UMA_WINDOW_MAXIMIZE_BUTTON_MINIMIZE,
90 UMA_WINDOW_MAXIMIZE_BUTTON_RESTORE, 90 UMA_WINDOW_MAXIMIZE_BUTTON_RESTORE,
91 UMA_WINDOW_MAXIMIZE_BUTTON_SHOW_BUBBLE, 91 UMA_WINDOW_MAXIMIZE_BUTTON_SHOW_BUBBLE,
92
93 // Thumbnail sized overview of windows triggered. This is a subset of
94 // UMA_WINDOW_SELECTION triggered by lingering during alt+tab cycles or
95 // pressing the overview key.
96 UMA_WINDOW_OVERVIEW,
97
98 // Window selection started by beginning an alt+tab cycle or pressing the
99 // overview key. This does not count each step through an alt+tab cycle.
100 UMA_WINDOW_SELECTION,
92 }; 101 };
93 102
94 enum AccessibilityNotificationVisibility { 103 enum AccessibilityNotificationVisibility {
95 A11Y_NOTIFICATION_NONE, 104 A11Y_NOTIFICATION_NONE,
96 A11Y_NOTIFICATION_SHOW, 105 A11Y_NOTIFICATION_SHOW,
97 }; 106 };
98 107
99 // Delegate of the Shell. 108 // Delegate of the Shell.
100 class ASH_EXPORT ShellDelegate { 109 class ASH_EXPORT ShellDelegate {
101 public: 110 public:
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 // value. 257 // value.
249 virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0; 258 virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0;
250 259
251 // Get the product name. 260 // Get the product name.
252 virtual base::string16 GetProductName() const = 0; 261 virtual base::string16 GetProductName() const = 0;
253 }; 262 };
254 263
255 } // namespace ash 264 } // namespace ash
256 265
257 #endif // ASH_SHELL_DELEGATE_H_ 266 #endif // ASH_SHELL_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | ash/wm/overview/window_overview.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698