OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |