Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Side by Side Diff: ash/shell/shell_delegate_impl.h

Issue 18163006: Add persisted preference for projection touch HUD (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 <string> 8 #include <string>
9 9
10 #include "ash/shell_delegate.h" 10 #include "ash/shell_delegate.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 virtual void HandleMediaPrevTrack() OVERRIDE; 73 virtual void HandleMediaPrevTrack() OVERRIDE;
74 virtual base::string16 GetTimeRemainingString(base::TimeDelta delta) OVERRIDE; 74 virtual base::string16 GetTimeRemainingString(base::TimeDelta delta) OVERRIDE;
75 virtual base::string16 GetTimeDurationLongString( 75 virtual base::string16 GetTimeDurationLongString(
76 base::TimeDelta delta) OVERRIDE; 76 base::TimeDelta delta) OVERRIDE;
77 virtual void SaveScreenMagnifierScale(double scale) OVERRIDE; 77 virtual void SaveScreenMagnifierScale(double scale) OVERRIDE;
78 virtual double GetSavedScreenMagnifierScale() OVERRIDE; 78 virtual double GetSavedScreenMagnifierScale() OVERRIDE;
79 virtual ui::MenuModel* CreateContextMenu( 79 virtual ui::MenuModel* CreateContextMenu(
80 aura::RootWindow* root_window) OVERRIDE; 80 aura::RootWindow* root_window) OVERRIDE;
81 virtual RootWindowHostFactory* CreateRootWindowHostFactory() OVERRIDE; 81 virtual RootWindowHostFactory* CreateRootWindowHostFactory() OVERRIDE;
82 virtual base::string16 GetProductName() const OVERRIDE; 82 virtual base::string16 GetProductName() const OVERRIDE;
83 virtual bool IsTouchHudProjectionEnabled() const OVERRIDE;
84 virtual void ToggleTouchHudProjection() OVERRIDE;
83 85
84 private: 86 private:
85 // Used to update Launcher. Owned by main. 87 // Used to update Launcher. Owned by main.
86 WindowWatcher* watcher_; 88 WindowWatcher* watcher_;
87 89
88 LauncherDelegateImpl* launcher_delegate_; 90 LauncherDelegateImpl* launcher_delegate_;
89 91
90 bool spoken_feedback_enabled_; 92 bool spoken_feedback_enabled_;
91 bool high_contrast_enabled_; 93 bool high_contrast_enabled_;
92 bool screen_magnifier_enabled_; 94 bool screen_magnifier_enabled_;
93 MagnifierType screen_magnifier_type_; 95 MagnifierType screen_magnifier_type_;
94 bool large_cursor_enabled_; 96 bool large_cursor_enabled_;
95 97
96 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); 98 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl);
97 }; 99 };
98 100
99 } // namespace shell 101 } // namespace shell
100 } // namespace ash 102 } // namespace ash
101 103
102 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ 104 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698