| 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/shelf/shelf_item_types.h" | 10 #include "ash/shelf/shelf_item_types.h" |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 ash::SystemTrayDelegate* CreateSystemTrayDelegate() override; | 68 ash::SystemTrayDelegate* CreateSystemTrayDelegate() override; |
| 69 ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() override; | 69 ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() override; |
| 70 ash::SessionStateDelegate* CreateSessionStateDelegate() override; | 70 ash::SessionStateDelegate* CreateSessionStateDelegate() override; |
| 71 ash::AccessibilityDelegate* CreateAccessibilityDelegate() override; | 71 ash::AccessibilityDelegate* CreateAccessibilityDelegate() override; |
| 72 ash::NewWindowDelegate* CreateNewWindowDelegate() override; | 72 ash::NewWindowDelegate* CreateNewWindowDelegate() override; |
| 73 ash::MediaDelegate* CreateMediaDelegate() override; | 73 ash::MediaDelegate* CreateMediaDelegate() override; |
| 74 ui::MenuModel* CreateContextMenu(aura::Window* root, | 74 ui::MenuModel* CreateContextMenu(aura::Window* root, |
| 75 ash::ShelfItemDelegate* item_delegate, | 75 ash::ShelfItemDelegate* item_delegate, |
| 76 ash::ShelfItem* item) override; | 76 ash::ShelfItem* item) override; |
| 77 ash::GPUSupport* CreateGPUSupport() override; | 77 ash::GPUSupport* CreateGPUSupport() override; |
| 78 ash::UserMetricsRecorderProxy* CreateUserMetricsRecorderProxy() override; |
| 78 base::string16 GetProductName() const override; | 79 base::string16 GetProductName() const override; |
| 79 | 80 |
| 80 // content::NotificationObserver override: | 81 // content::NotificationObserver override: |
| 81 void Observe(int type, | 82 void Observe(int type, |
| 82 const content::NotificationSource& source, | 83 const content::NotificationSource& source, |
| 83 const content::NotificationDetails& details) override; | 84 const content::NotificationDetails& details) override; |
| 84 | 85 |
| 85 private: | 86 private: |
| 86 void PlatformInit(); | 87 void PlatformInit(); |
| 87 | 88 |
| 88 static ChromeShellDelegate* instance_; | 89 static ChromeShellDelegate* instance_; |
| 89 | 90 |
| 90 content::NotificationRegistrar registrar_; | 91 content::NotificationRegistrar registrar_; |
| 91 | 92 |
| 92 ChromeLauncherController* shelf_delegate_; | 93 ChromeLauncherController* shelf_delegate_; |
| 93 | 94 |
| 94 ObserverList<ash::VirtualKeyboardStateObserver> keyboard_state_observer_list_; | 95 ObserverList<ash::VirtualKeyboardStateObserver> keyboard_state_observer_list_; |
| 95 | 96 |
| 96 #if defined(OS_CHROMEOS) | 97 #if defined(OS_CHROMEOS) |
| 97 scoped_ptr<chromeos::DisplayConfigurationObserver> | 98 scoped_ptr<chromeos::DisplayConfigurationObserver> |
| 98 display_configuration_observer_; | 99 display_configuration_observer_; |
| 99 #endif | 100 #endif |
| 100 | 101 |
| 101 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); | 102 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); |
| 102 }; | 103 }; |
| 103 | 104 |
| 104 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ | 105 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ |
| OLD | NEW |