Chromium Code Reviews| Index: ash/shell.h |
| diff --git a/ash/shell.h b/ash/shell.h |
| index f8649dc657c28234e7e25b94b46070ba76c56770..ab1da3973492d89465590ad6148e8229e2dc2a7a 100644 |
| --- a/ash/shell.h |
| +++ b/ash/shell.h |
| @@ -462,6 +462,14 @@ class ASH_EXPORT Shell |
| // Returns the launcher delegate, creating if necesary. |
| LauncherDelegate* GetLauncherDelegate(); |
| + void SetTouchHudProjectionEnabled(bool enabled); |
| + |
| + void ToggleTouchHudProjection(); |
|
sky
2013/06/26 21:07:44
Can't the caller trivially implement this rather t
mohsen
2013/06/27 00:44:31
Yes, it can. Removed this function.
|
| + |
| + bool is_touch_hud_projection_enabled() const { |
|
sky
2013/06/26 21:07:44
Style guide says function should match member. So
mohsen
2013/06/27 00:44:31
Done.
|
| + return touch_hud_projection_enabled_; |
| + } |
| + |
| private: |
| FRIEND_TEST_ALL_PREFIXES(ExtendedDesktopTest, TestCursor); |
| FRIEND_TEST_ALL_PREFIXES(WindowManagerTest, MouseEventCursors); |
| @@ -604,6 +612,8 @@ class ASH_EXPORT Shell |
| // For testing only: simulate that a modal window is open |
| bool simulate_modal_window_open_for_testing_; |
| + bool touch_hud_projection_enabled_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(Shell); |
| }; |