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

Unified Diff: ash/common/wm_shell.h

Issue 2285703003: Moves WorkspaceEventHandler to ash/common (Closed)
Patch Set: merge to tip of tree Created 4 years, 4 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/common/wm_shell.h
diff --git a/ash/common/wm_shell.h b/ash/common/wm_shell.h
index 3db0a06101b8f4178ba92b0bbf246f701d6bb07e..6ec6ba247324872e57f0b2fce21bba0f46ea1723 100644
--- a/ash/common/wm_shell.h
+++ b/ash/common/wm_shell.h
@@ -64,6 +64,7 @@ class WindowSelectorController;
class WmActivationObserver;
class WmDisplayObserver;
class WmWindow;
+class WorkspaceEventHandler;
enum class TaskSwitchSource;
@@ -270,6 +271,10 @@ class ASH_EXPORT WmShell {
virtual std::unique_ptr<wm::MaximizeModeEventHandler>
CreateMaximizeModeEventHandler() = 0;
+ // This may return null.
James Cook 2016/08/26 19:07:16 In tests? In this CL it's non-null for both aura a
sky 2016/08/26 20:19:16 I'm going to remove the comment now that it always
+ virtual std::unique_ptr<WorkspaceEventHandler> CreateWorkspaceEventHandler(
+ WmWindow* workspace_window) = 0;
+
virtual std::unique_ptr<ScopedDisableInternalMouseAndKeyboard>
CreateScopedDisableInternalMouseAndKeyboard() = 0;

Powered by Google App Engine
This is Rietveld 408576698