OLD | NEW |
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 CHROME_BROWSER_UI_VIEWS_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 class Profile; | 44 class Profile; |
45 class TabContents; | 45 class TabContents; |
46 | 46 |
47 // ChromeLauncherController manages the launcher items needed for tabbed | 47 // ChromeLauncherController manages the launcher items needed for tabbed |
48 // browsers (BrowserLauncherItemController) and browser shortcuts. | 48 // browsers (BrowserLauncherItemController) and browser shortcuts. |
49 class ChromeLauncherController | 49 class ChromeLauncherController |
50 : public ash::LauncherDelegate, | 50 : public ash::LauncherDelegate, |
51 public ash::LauncherModelObserver, | 51 public ash::LauncherModelObserver, |
52 public ash::ShellObserver, | 52 public ash::ShellObserver, |
53 public content::NotificationObserver, | 53 public content::NotificationObserver, |
54 public ShellWindowRegistry::Observer, | 54 public extensions::ShellWindowRegistry::Observer, |
55 public aura::client::ActivationChangeObserver, | 55 public aura::client::ActivationChangeObserver, |
56 public aura::WindowObserver { | 56 public aura::WindowObserver { |
57 public: | 57 public: |
58 // Indicates if a launcher item is incognito or not. | 58 // Indicates if a launcher item is incognito or not. |
59 enum IncognitoState { | 59 enum IncognitoState { |
60 STATE_INCOGNITO, | 60 STATE_INCOGNITO, |
61 STATE_NOT_INCOGNITO, | 61 STATE_NOT_INCOGNITO, |
62 }; | 62 }; |
63 | 63 |
64 // Used to update the state of non plaform apps, as tab contents change. | 64 // Used to update the state of non plaform apps, as tab contents change. |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 | 351 |
352 content::NotificationRegistrar notification_registrar_; | 352 content::NotificationRegistrar notification_registrar_; |
353 | 353 |
354 PrefChangeRegistrar pref_change_registrar_; | 354 PrefChangeRegistrar pref_change_registrar_; |
355 aura::client::ActivationClient* activation_client_; | 355 aura::client::ActivationClient* activation_client_; |
356 | 356 |
357 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherController); | 357 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherController); |
358 }; | 358 }; |
359 | 359 |
360 #endif // CHROME_BROWSER_UI_VIEWS_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_H_ | 360 #endif // CHROME_BROWSER_UI_VIEWS_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_H_ |
OLD | NEW |