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 ASH_SHELL_SHELL_DELEGATE_IMPL_H_ | 5 #ifndef ASH_SHELL_SHELL_DELEGATE_IMPL_H_ |
6 #define ASH_SHELL_SHELL_DELEGATE_IMPL_H_ | 6 #define ASH_SHELL_SHELL_DELEGATE_IMPL_H_ |
7 | 7 |
8 #include "ash/shell_delegate.h" | 8 #include "ash/shell_delegate.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 | 10 |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 virtual void HandleMediaNextTrack() OVERRIDE; | 63 virtual void HandleMediaNextTrack() OVERRIDE; |
64 virtual void HandleMediaPlayPause() OVERRIDE; | 64 virtual void HandleMediaPlayPause() OVERRIDE; |
65 virtual void HandleMediaPrevTrack() OVERRIDE; | 65 virtual void HandleMediaPrevTrack() OVERRIDE; |
66 virtual string16 GetTimeRemainingString(base::TimeDelta delta) OVERRIDE; | 66 virtual string16 GetTimeRemainingString(base::TimeDelta delta) OVERRIDE; |
67 virtual string16 GetTimeDurationLongString(base::TimeDelta delta) OVERRIDE; | 67 virtual string16 GetTimeDurationLongString(base::TimeDelta delta) OVERRIDE; |
68 virtual void SaveScreenMagnifierScale(double scale) OVERRIDE; | 68 virtual void SaveScreenMagnifierScale(double scale) OVERRIDE; |
69 virtual double GetSavedScreenMagnifierScale() OVERRIDE; | 69 virtual double GetSavedScreenMagnifierScale() OVERRIDE; |
70 virtual ui::MenuModel* CreateContextMenu( | 70 virtual ui::MenuModel* CreateContextMenu( |
71 aura::RootWindow* root_window) OVERRIDE; | 71 aura::RootWindow* root_window) OVERRIDE; |
72 virtual RootWindowHostFactory* CreateRootWindowHostFactory() OVERRIDE; | 72 virtual RootWindowHostFactory* CreateRootWindowHostFactory() OVERRIDE; |
| 73 virtual string16 GetProductName() const OVERRIDE; |
73 | 74 |
74 private: | 75 private: |
75 // Used to update Launcher. Owned by main. | 76 // Used to update Launcher. Owned by main. |
76 WindowWatcher* watcher_; | 77 WindowWatcher* watcher_; |
77 | 78 |
78 LauncherDelegateImpl* launcher_delegate_; | 79 LauncherDelegateImpl* launcher_delegate_; |
79 | 80 |
80 bool locked_; | 81 bool locked_; |
81 bool spoken_feedback_enabled_; | 82 bool spoken_feedback_enabled_; |
82 bool high_contrast_enabled_; | 83 bool high_contrast_enabled_; |
83 bool screen_magnifier_enabled_; | 84 bool screen_magnifier_enabled_; |
84 MagnifierType screen_magnifier_type_; | 85 MagnifierType screen_magnifier_type_; |
85 | 86 |
86 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); | 87 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); |
87 }; | 88 }; |
88 | 89 |
89 } // namespace shell | 90 } // namespace shell |
90 } // namespace ash | 91 } // namespace ash |
91 | 92 |
92 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ | 93 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ |
OLD | NEW |