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

Unified Diff: ash/shell.h

Issue 17063013: Separate projection mode from rest of touch HUD (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Renamed TouchHudDebug and applied some more reviews Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
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);
};

Powered by Google App Engine
This is Rietveld 408576698