| 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 ash::AccessibilityDelegate* CreateAccessibilityDelegate() override; | 72 ash::AccessibilityDelegate* CreateAccessibilityDelegate() override; |
| 73 ash::NewWindowDelegate* CreateNewWindowDelegate() override; | 73 ash::NewWindowDelegate* CreateNewWindowDelegate() override; |
| 74 ash::MediaDelegate* CreateMediaDelegate() override; | 74 ash::MediaDelegate* CreateMediaDelegate() override; |
| 75 ui::MenuModel* CreateContextMenu(aura::Window* root, | 75 ui::MenuModel* CreateContextMenu(aura::Window* root, |
| 76 ash::ShelfItemDelegate* item_delegate, | 76 ash::ShelfItemDelegate* item_delegate, |
| 77 ash::ShelfItem* item) override; | 77 ash::ShelfItem* item) override; |
| 78 ash::GPUSupport* CreateGPUSupport() override; | 78 ash::GPUSupport* CreateGPUSupport() override; |
| 79 base::string16 GetProductName() const override; | 79 base::string16 GetProductName() const override; |
| 80 void OpenKeyboardShortcutHelpPage() const override; | 80 void OpenKeyboardShortcutHelpPage() const override; |
| 81 gfx::Image GetDeprecatedAcceleratorImage() const override; | 81 gfx::Image GetDeprecatedAcceleratorImage() const override; |
| 82 void ToggleTouchpad() override; |
| 83 void ToggleTouchscreen() override; |
| 82 | 84 |
| 83 // content::NotificationObserver override: | 85 // content::NotificationObserver override: |
| 84 void Observe(int type, | 86 void Observe(int type, |
| 85 const content::NotificationSource& source, | 87 const content::NotificationSource& source, |
| 86 const content::NotificationDetails& details) override; | 88 const content::NotificationDetails& details) override; |
| 87 | 89 |
| 88 private: | 90 private: |
| 89 void PlatformInit(); | 91 void PlatformInit(); |
| 90 | 92 |
| 91 static ChromeShellDelegate* instance_; | 93 static ChromeShellDelegate* instance_; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 102 | 104 |
| 103 #if defined(OS_CHROMEOS) | 105 #if defined(OS_CHROMEOS) |
| 104 scoped_ptr<chromeos::DisplayConfigurationObserver> | 106 scoped_ptr<chromeos::DisplayConfigurationObserver> |
| 105 display_configuration_observer_; | 107 display_configuration_observer_; |
| 106 #endif | 108 #endif |
| 107 | 109 |
| 108 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); | 110 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); |
| 109 }; | 111 }; |
| 110 | 112 |
| 111 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ | 113 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ |
| OLD | NEW |