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

Unified Diff: ash/wm/workspace/workspace_observer.h

Issue 9113045: Reworks the workspace code. Here's the new heuristics: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Incorporated feedback and fixed bugs Created 8 years, 11 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/wm/workspace/workspace_observer.h
diff --git a/ash/wm/workspace/workspace_observer.h b/ash/wm/workspace/workspace_observer.h
deleted file mode 100644
index c6e055bffae3787b6a83257f495fced8ef3be352..0000000000000000000000000000000000000000
--- a/ash/wm/workspace/workspace_observer.h
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright (c) 2011 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_WORKSPACE_WORKSPACE_OBSERVER_H_
-#define ASH_WM_WORKSPACE_WORKSPACE_OBSERVER_H_
-#pragma once
-
-#include "ash/ash_export.h"
-
-namespace aura {
-class Window;
-}
-
-namespace ash {
-namespace internal {
-class Workspace;
-class WorkspaceManager;
-
-// A class to observe changes in workspace state.
-class ASH_EXPORT WorkspaceObserver {
- public:
- // Invoked when |start| window is moved and inserted
- // at the |target| window's position by |WorkspaceManager::RotateWindow|.
- virtual void WindowMoved(WorkspaceManager* manager,
- aura::Window* source,
- aura::Window* target) = 0;
-
- // Invoked when the active workspace changes. |old| is
- // the old active workspace and can be NULL.
- virtual void ActiveWorkspaceChanged(WorkspaceManager* manager,
- Workspace* old) = 0;
- protected:
- virtual ~WorkspaceObserver() {}
-};
-
-} // namespace internal
-} // namespace ash
-
-#endif // ASH_WM_WORKSPACE_WORKSPACE_OBSERVER_H_

Powered by Google App Engine
This is Rietveld 408576698