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