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

Unified Diff: athena/wm/window_manager_impl.h

Issue 601333002: ESC accelerator and consistent overview mode for Athena homecard (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comments Created 6 years, 2 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
« no previous file with comments | « athena/input/public/accelerator_manager.h ('k') | athena/wm/window_manager_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/wm/window_manager_impl.h
diff --git a/athena/wm/window_manager_impl.h b/athena/wm/window_manager_impl.h
index e4d1698213cc085330682d3b186588b13969e5f7..da1c920570614bcfc9446bf613b4f8f0f1e0c7ca 100644
--- a/athena/wm/window_manager_impl.h
+++ b/athena/wm/window_manager_impl.h
@@ -52,10 +52,17 @@ class ATHENA_EXPORT WindowManagerImpl : public WindowManager,
friend class AthenaContainerLayoutManager;
enum Command {
+ CMD_EXIT_OVERVIEW,
CMD_TOGGLE_OVERVIEW,
CMD_TOGGLE_SPLIT_VIEW,
};
+ const AcceleratorData kEscAcceleratorData = {TRIGGER_ON_PRESS,
+ ui::VKEY_ESCAPE,
+ ui::EF_NONE,
+ CMD_EXIT_OVERVIEW,
+ AF_NONE};
+
// Exits overview mode without changing activation. The caller should
// ensure that a window is active after exiting overview mode.
void ExitOverviewNoActivate();
« no previous file with comments | « athena/input/public/accelerator_manager.h ('k') | athena/wm/window_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698