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

Unified Diff: ash/common/wm/dock/docked_window_layout_manager.h

Issue 2699033002: Replace WmWindowObserver with aura::WindowObserver. (Closed)
Patch Set: Check for null images in ShelfWindowWatcher. Created 3 years, 10 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/always_on_top_controller.cc ('k') | ash/common/wm/dock/docked_window_layout_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm/dock/docked_window_layout_manager.h
diff --git a/ash/common/wm/dock/docked_window_layout_manager.h b/ash/common/wm/dock/docked_window_layout_manager.h
index d7e0977bc96aec14142247996e8edea651ec8e06..a3f5784d9610346e09c6b30757d1eaabc7d04dde 100644
--- a/ash/common/wm/dock/docked_window_layout_manager.h
+++ b/ash/common/wm/dock/docked_window_layout_manager.h
@@ -14,11 +14,11 @@
#include "ash/common/wm/window_state_observer.h"
#include "ash/common/wm/wm_snap_to_pixel_layout_manager.h"
#include "ash/common/wm_activation_observer.h"
-#include "ash/common/wm_window_observer.h"
#include "base/compiler_specific.h"
#include "base/macros.h"
#include "base/observer_list.h"
#include "base/time/time.h"
+#include "ui/aura/window_observer.h"
#include "ui/display/display_observer.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/keyboard/keyboard_controller_observer.h"
@@ -45,7 +45,7 @@ class WmShelf;
class ASH_EXPORT DockedWindowLayoutManager
: public wm::WmSnapToPixelLayoutManager,
public display::DisplayObserver,
- public WmWindowObserver,
+ public aura::WindowObserver,
public WmActivationObserver,
public ShellObserver,
public keyboard::KeyboardControllerObserver,
@@ -143,12 +143,12 @@ class ASH_EXPORT DockedWindowLayoutManager
void OnPreWindowStateTypeChange(wm::WindowState* window_state,
wm::WindowStateType old_type) override;
- // WmWindowObserver:
- void OnWindowBoundsChanged(WmWindow* window,
+ // aura::WindowObserver:
+ void OnWindowBoundsChanged(aura::Window* window,
const gfx::Rect& old_bounds,
const gfx::Rect& new_bounds) override;
- void OnWindowVisibilityChanging(WmWindow* window, bool visible) override;
- void OnWindowDestroying(WmWindow* window) override;
+ void OnWindowVisibilityChanging(aura::Window* window, bool visible) override;
+ void OnWindowDestroying(aura::Window* window) override;
// WmActivationObserver:
void OnWindowActivated(WmWindow* gained_active,
« no previous file with comments | « ash/common/wm/always_on_top_controller.cc ('k') | ash/common/wm/dock/docked_window_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698