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

Side by Side Diff: ash/wm/overview/window_overview.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 | « ash/shell_delegate.h ('k') | ash/wm/overview/window_overview.cc » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_WM_OVERVIEW_WINDOW_OVERVIEW_H_ 5 #ifndef ASH_WM_OVERVIEW_WINDOW_OVERVIEW_H_
6 #define ASH_WM_OVERVIEW_WINDOW_OVERVIEW_H_ 6 #define ASH_WM_OVERVIEW_WINDOW_OVERVIEW_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/scoped_vector.h" 10 #include "base/memory/scoped_vector.h"
11 #include "base/time/time.h"
11 #include "ui/events/event_handler.h" 12 #include "ui/events/event_handler.h"
12 13
13 namespace aura { 14 namespace aura {
14 class Window; 15 class Window;
15 class RootWindow; 16 class RootWindow;
16 } 17 }
17 18
18 namespace ui { 19 namespace ui {
19 class LocatedEvent; 20 class LocatedEvent;
20 } 21 }
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 WindowSelectorItemList* windows_; 85 WindowSelectorItemList* windows_;
85 86
86 // Widget indicating which window is currently selected. 87 // Widget indicating which window is currently selected.
87 scoped_ptr<views::Widget> selection_widget_; 88 scoped_ptr<views::Widget> selection_widget_;
88 89
89 // If NULL, each root window displays an overview of the windows in that 90 // If NULL, each root window displays an overview of the windows in that
90 // display. Otherwise, all windows are in a single overview on 91 // display. Otherwise, all windows are in a single overview on
91 // |single_root_window_|. 92 // |single_root_window_|.
92 aura::RootWindow* single_root_window_; 93 aura::RootWindow* single_root_window_;
93 94
95 // The time when overview was started.
96 base::Time overview_start_time_;
97
94 DISALLOW_COPY_AND_ASSIGN(WindowOverview); 98 DISALLOW_COPY_AND_ASSIGN(WindowOverview);
95 }; 99 };
96 100
97 } // namespace ash 101 } // namespace ash
98 102
99 #endif // ASH_WM_OVERVIEW_WINDOW_OVERVIEW_H_ 103 #endif // ASH_WM_OVERVIEW_WINDOW_OVERVIEW_H_
OLDNEW
« no previous file with comments | « ash/shell_delegate.h ('k') | ash/wm/overview/window_overview.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698