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_ASH_CHROME_SHELL_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ |
6 #define CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ | 6 #define CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "ash/launcher/launcher_types.h" | 10 #include "ash/launcher/launcher_types.h" |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 ash::ShelfModel* model) OVERRIDE; | 51 ash::ShelfModel* model) OVERRIDE; |
52 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate() OVERRIDE; | 52 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate() OVERRIDE; |
53 virtual ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; | 53 virtual ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; |
54 virtual ash::CapsLockDelegate* CreateCapsLockDelegate() OVERRIDE; | 54 virtual ash::CapsLockDelegate* CreateCapsLockDelegate() OVERRIDE; |
55 virtual ash::SessionStateDelegate* CreateSessionStateDelegate() OVERRIDE; | 55 virtual ash::SessionStateDelegate* CreateSessionStateDelegate() OVERRIDE; |
56 virtual ash::AccessibilityDelegate* CreateAccessibilityDelegate() OVERRIDE; | 56 virtual ash::AccessibilityDelegate* CreateAccessibilityDelegate() OVERRIDE; |
57 virtual ash::NewWindowDelegate* CreateNewWindowDelegate() OVERRIDE; | 57 virtual ash::NewWindowDelegate* CreateNewWindowDelegate() OVERRIDE; |
58 virtual ash::MediaDelegate* CreateMediaDelegate() OVERRIDE; | 58 virtual ash::MediaDelegate* CreateMediaDelegate() OVERRIDE; |
59 virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE; | 59 virtual aura::client::UserActionClient* CreateUserActionClient() OVERRIDE; |
60 virtual ui::MenuModel* CreateContextMenu(aura::Window* root) OVERRIDE; | 60 virtual ui::MenuModel* CreateContextMenu(aura::Window* root) OVERRIDE; |
61 virtual ash::RootWindowHostFactory* CreateRootWindowHostFactory() OVERRIDE; | 61 virtual ash::WindowTreeHostFactory* CreateWindowTreeHostFactory() OVERRIDE; |
62 virtual base::string16 GetProductName() const OVERRIDE; | 62 virtual base::string16 GetProductName() const OVERRIDE; |
63 | 63 |
64 // content::NotificationObserver override: | 64 // content::NotificationObserver override: |
65 virtual void Observe(int type, | 65 virtual void Observe(int type, |
66 const content::NotificationSource& source, | 66 const content::NotificationSource& source, |
67 const content::NotificationDetails& details) OVERRIDE; | 67 const content::NotificationDetails& details) OVERRIDE; |
68 | 68 |
69 private: | 69 private: |
70 void PlatformInit(); | 70 void PlatformInit(); |
71 | 71 |
72 static ChromeShellDelegate* instance_; | 72 static ChromeShellDelegate* instance_; |
73 | 73 |
74 content::NotificationRegistrar registrar_; | 74 content::NotificationRegistrar registrar_; |
75 | 75 |
76 ChromeLauncherController* shelf_delegate_; | 76 ChromeLauncherController* shelf_delegate_; |
77 | 77 |
78 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); | 78 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); |
79 }; | 79 }; |
80 | 80 |
81 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ | 81 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ |
OLD | NEW |