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

Unified Diff: ash/common/wm/window_state_observer.h

Issue 2736573002: chromeos: Move files in //ash/common to //ash, part 2 (Closed)
Patch Set: Created 3 years, 9 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/common/wm/window_state_delegate.cc ('k') | ash/common/wm/window_state_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm/window_state_observer.h
diff --git a/ash/common/wm/window_state_observer.h b/ash/common/wm/window_state_observer.h
deleted file mode 100644
index 7bfec4e1ad9346bf808f261020c3fdf95e93338d..0000000000000000000000000000000000000000
--- a/ash/common/wm/window_state_observer.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 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_COMMON_WM_WINDOW_STATE_OBSERVER_H_
-#define ASH_COMMON_WM_WINDOW_STATE_OBSERVER_H_
-
-#include "ash/ash_export.h"
-#include "ash/common/wm/wm_types.h"
-
-namespace ash {
-namespace wm {
-class WindowState;
-
-class ASH_EXPORT WindowStateObserver {
- public:
- virtual ~WindowStateObserver() {}
-
- // Following observer methods are different from kWindowShowStatekey
- // property change as they will be invoked when the window
- // gets left/right maximized, and auto positioned. |old_type| is the value
- // before the change.
-
- // Called after the window's state type is set to new type, but before
- // the window's bounds has been updated for the new type.
- // This is used to update the shell state such as work area so
- // that the window can use the correct environment to update its bounds.
- // TODO(oshima): Remove this once docked windows has its own state.
- virtual void OnPreWindowStateTypeChange(WindowState* window_state,
- WindowStateType old_type) {}
-
- // Called after the window's state has been updated.
- // This is used to update the shell state that depends on the updated
- // window bounds, such as shelf visibility.
- virtual void OnPostWindowStateTypeChange(WindowState* window_state,
- WindowStateType old_type) {}
-};
-
-} // namespace wm
-} // namespace ash
-
-#endif // ASH_COMMON_WM_WINDOW_STATE_OBSERVER_H_
« no previous file with comments | « ash/common/wm/window_state_delegate.cc ('k') | ash/common/wm/window_state_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698