| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 #include "content/public/browser/notification_registrar.h" | 23 #include "content/public/browser/notification_registrar.h" |
| 24 | 24 |
| 25 namespace ash { | 25 namespace ash { |
| 26 class LauncherModel; | 26 class LauncherModel; |
| 27 } | 27 } |
| 28 | 28 |
| 29 class BrowserLauncherItemController; | 29 class BrowserLauncherItemController; |
| 30 class BrowserLauncherItemControllerTest; | 30 class BrowserLauncherItemControllerTest; |
| 31 class PrefService; | 31 class PrefService; |
| 32 class Profile; | 32 class Profile; |
| 33 class TabContentsWrapper; | 33 class TabContents; |
| 34 typedef TabContents TabContentsWrapper; |
| 34 | 35 |
| 35 // ChromeLauncherController manages the launcher items needed for tabbed | 36 // ChromeLauncherController manages the launcher items needed for tabbed |
| 36 // browsers (BrowserLauncherItemController) and browser shortcuts. | 37 // browsers (BrowserLauncherItemController) and browser shortcuts. |
| 37 class ChromeLauncherController : public ash::LauncherDelegate, | 38 class ChromeLauncherController : public ash::LauncherDelegate, |
| 38 public ash::LauncherModelObserver, | 39 public ash::LauncherModelObserver, |
| 39 public content::NotificationObserver, | 40 public content::NotificationObserver, |
| 40 public ShellWindowRegistry::Observer { | 41 public ShellWindowRegistry::Observer { |
| 41 public: | 42 public: |
| 42 // Indicates if a launcher item is incognito or not. | 43 // Indicates if a launcher item is incognito or not. |
| 43 enum IncognitoState { | 44 enum IncognitoState { |
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 scoped_ptr<AppIconLoader> app_icon_loader_; | 257 scoped_ptr<AppIconLoader> app_icon_loader_; |
| 257 | 258 |
| 258 content::NotificationRegistrar notification_registrar_; | 259 content::NotificationRegistrar notification_registrar_; |
| 259 | 260 |
| 260 PrefChangeRegistrar pref_change_registrar_; | 261 PrefChangeRegistrar pref_change_registrar_; |
| 261 | 262 |
| 262 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherController); | 263 DISALLOW_COPY_AND_ASSIGN(ChromeLauncherController); |
| 263 }; | 264 }; |
| 264 | 265 |
| 265 #endif // CHROME_BROWSER_UI_VIEWS_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_H_ | 266 #endif // CHROME_BROWSER_UI_VIEWS_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_H_ |
| OLD | NEW |