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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 virtual void HandleMediaNextTrack() OVERRIDE; | 88 virtual void HandleMediaNextTrack() OVERRIDE; |
89 virtual void HandleMediaPlayPause() OVERRIDE; | 89 virtual void HandleMediaPlayPause() OVERRIDE; |
90 virtual void HandleMediaPrevTrack() OVERRIDE; | 90 virtual void HandleMediaPrevTrack() OVERRIDE; |
91 virtual string16 GetTimeRemainingString(base::TimeDelta delta) OVERRIDE; | 91 virtual string16 GetTimeRemainingString(base::TimeDelta delta) OVERRIDE; |
92 virtual string16 GetTimeDurationLongString(base::TimeDelta delta) OVERRIDE; | 92 virtual string16 GetTimeDurationLongString(base::TimeDelta delta) OVERRIDE; |
93 virtual void SaveScreenMagnifierScale(double scale) OVERRIDE; | 93 virtual void SaveScreenMagnifierScale(double scale) OVERRIDE; |
94 virtual double GetSavedScreenMagnifierScale() OVERRIDE; | 94 virtual double GetSavedScreenMagnifierScale() OVERRIDE; |
95 virtual ui::MenuModel* CreateContextMenu(aura::RootWindow* root) OVERRIDE; | 95 virtual ui::MenuModel* CreateContextMenu(aura::RootWindow* root) OVERRIDE; |
96 virtual ash::RootWindowHostFactory* CreateRootWindowHostFactory() OVERRIDE; | 96 virtual ash::RootWindowHostFactory* CreateRootWindowHostFactory() OVERRIDE; |
97 virtual string16 GetProductName() const OVERRIDE; | 97 virtual string16 GetProductName() const OVERRIDE; |
| 98 virtual bool IsTouchHudProjectionEnabled() const OVERRIDE; |
| 99 virtual void ToggleTouchHudProjection() OVERRIDE; |
98 | 100 |
99 // content::NotificationObserver override: | 101 // content::NotificationObserver override: |
100 virtual void Observe(int type, | 102 virtual void Observe(int type, |
101 const content::NotificationSource& source, | 103 const content::NotificationSource& source, |
102 const content::NotificationDetails& details) OVERRIDE; | 104 const content::NotificationDetails& details) OVERRIDE; |
103 | 105 |
104 private: | 106 private: |
105 class TabRestoreHelper; | 107 class TabRestoreHelper; |
106 | 108 |
107 void PlatformInit(); | 109 void PlatformInit(); |
(...skipping 11 matching lines...) Expand all Loading... |
119 base::WeakPtrFactory<ChromeShellDelegate> weak_factory_; | 121 base::WeakPtrFactory<ChromeShellDelegate> weak_factory_; |
120 | 122 |
121 ChromeLauncherController* launcher_delegate_; | 123 ChromeLauncherController* launcher_delegate_; |
122 | 124 |
123 scoped_ptr<TabRestoreHelper> tab_restore_helper_; | 125 scoped_ptr<TabRestoreHelper> tab_restore_helper_; |
124 | 126 |
125 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); | 127 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); |
126 }; | 128 }; |
127 | 129 |
128 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ | 130 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ |
OLD | NEW |