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

Unified Diff: ash/wm/window_selector_delegate.h

Issue 20415002: Add window overview mode behind --ash-enable-overview-mode flag to F5 key. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Remove implicit cast to bool. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/wm/window_selector_controller.cc ('k') | ash/wm/window_selector_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/window_selector_delegate.h
diff --git a/ash/wm/window_selector_delegate.h b/ash/wm/window_selector_delegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..5430b9d0bdd36c830ed3ce1899d1f27f62a75394
--- /dev/null
+++ b/ash/wm/window_selector_delegate.h
@@ -0,0 +1,31 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef ASH_WM_WINDOW_SELECTOR_DELEGATE_H_
+#define ASH_WM_WINDOW_SELECTOR_DELEGATE_H_
+
+#include "base/compiler_specific.h"
+
+namespace aura {
+class Window;
+}
+
+namespace ash {
+
+// Implement this class to handle the selection event from WindowSelector.
+class WindowSelectorDelegate {
+ public:
+ // Invoked when a window is selected.
+ virtual void OnWindowSelected(aura::Window* window) = 0;
+
+ // Invoked if selection is canceled.
+ virtual void OnSelectionCanceled() = 0;
+
+ protected:
+ virtual ~WindowSelectorDelegate() {}
+};
+
+} // namespace ash
+
+#endif // ASH_WM_WINDOW_SELECTOR_DELEGATE_H_
« no previous file with comments | « ash/wm/window_selector_controller.cc ('k') | ash/wm/window_selector_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698