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

Side by Side Diff: chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h

Issue 2331093002: UMA stats for stylus usage (Closed)
Patch Set: Incorporate comments from xiyuan@ and mpearson@ 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 unified diff | Download patch
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 CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_IMPL_H_ 5 #ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_IMPL_H_
6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_IMPL_H_ 6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_IMPL_H_
7 7
8 #include <list> 8 #include <list>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 13 matching lines...) Expand all
24 #include "components/prefs/pref_change_registrar.h" 24 #include "components/prefs/pref_change_registrar.h"
25 #include "ui/aura/window_observer.h" 25 #include "ui/aura/window_observer.h"
26 26
27 class AppSyncUIState; 27 class AppSyncUIState;
28 class BrowserStatusMonitor; 28 class BrowserStatusMonitor;
29 class LauncherControllerHelper; 29 class LauncherControllerHelper;
30 class Profile; 30 class Profile;
31 class AppWindowLauncherController; 31 class AppWindowLauncherController;
32 class TabContents; 32 class TabContents;
33 33
34 #if defined(OS_CHROMEOS)
35 namespace chromeos {
36 class StylusMetricsRecorder;
37 }
38 #endif
39
34 namespace ash { 40 namespace ash {
35 class ShelfModel; 41 class ShelfModel;
36 namespace launcher { 42 namespace launcher {
37 class ChromeLauncherPrefsObserver; 43 class ChromeLauncherPrefsObserver;
38 } 44 }
39 } 45 }
40 46
41 namespace aura { 47 namespace aura {
42 class Window; 48 class Window;
43 } 49 }
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 367
362 // If true, incoming pinned state changes should be ignored. 368 // If true, incoming pinned state changes should be ignored.
363 bool ignore_persist_pinned_state_change_ = false; 369 bool ignore_persist_pinned_state_change_ = false;
364 370
365 // The list of running & un-pinned applications for different users on hidden 371 // The list of running & un-pinned applications for different users on hidden
366 // desktops. 372 // desktops.
367 typedef std::vector<std::string> RunningAppListIds; 373 typedef std::vector<std::string> RunningAppListIds;
368 typedef std::map<std::string, RunningAppListIds> RunningAppListIdMap; 374 typedef std::map<std::string, RunningAppListIds> RunningAppListIdMap;
369 RunningAppListIdMap last_used_running_application_order_; 375 RunningAppListIdMap last_used_running_application_order_;
370 376
377 #if defined(OS_CHROMEOS)
378 // Record stylus metrics for down event.
379 std::unique_ptr<chromeos::StylusMetricsRecorder> stylus_metrics_recorder_;
380 #endif
381
371 base::WeakPtrFactory<ChromeLauncherControllerImpl> weak_ptr_factory_; 382 base::WeakPtrFactory<ChromeLauncherControllerImpl> weak_ptr_factory_;
372 383
373 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherControllerImpl); 384 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherControllerImpl);
374 }; 385 };
375 386
376 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_IMPL_H_ 387 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698