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

Unified Diff: ash/wm/lock_layout_manager.h

Issue 2871813002: Converts remaining usage of WmLayoutManager to aura::LayoutManager (Closed)
Patch Set: cleanup Created 3 years, 7 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/system/status_area_layout_manager.cc ('k') | ash/wm/lock_layout_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/lock_layout_manager.h
diff --git a/ash/wm/lock_layout_manager.h b/ash/wm/lock_layout_manager.h
index 4a3ec619b702c002de7c1b9efd5c1701fb19e397..2674e2ba3fb0fca31656dade7c4ab9a34bdfacd0 100644
--- a/ash/wm/lock_layout_manager.h
+++ b/ash/wm/lock_layout_manager.h
@@ -39,16 +39,17 @@ class ASH_EXPORT LockLayoutManager
public ShellObserver,
public keyboard::KeyboardControllerObserver {
public:
- explicit LockLayoutManager(WmWindow* window);
+ explicit LockLayoutManager(aura::Window* window);
~LockLayoutManager() override;
// Overridden from WmSnapToPixelLayoutManager:
void OnWindowResized() override;
- void OnWindowAddedToLayout(WmWindow* child) override;
- void OnWillRemoveWindowFromLayout(WmWindow* child) override;
- void OnWindowRemovedFromLayout(WmWindow* child) override;
- void OnChildWindowVisibilityChanged(WmWindow* child, bool visibile) override;
- void SetChildBounds(WmWindow* child,
+ void OnWindowAddedToLayout(aura::Window* child) override;
+ void OnWillRemoveWindowFromLayout(aura::Window* child) override;
+ void OnWindowRemovedFromLayout(aura::Window* child) override;
+ void OnChildWindowVisibilityChanged(aura::Window* child,
+ bool visibile) override;
+ void SetChildBounds(aura::Window* child,
const gfx::Rect& requested_bounds) override;
// Overriden from aura::WindowObserver:
@@ -59,7 +60,7 @@ class ASH_EXPORT LockLayoutManager
// ShellObserver:
void OnVirtualKeyboardStateChanged(bool activated,
- WmWindow* root_window) override;
+ aura::Window* root_window) override;
// keyboard::KeyboardControllerObserver overrides:
void OnKeyboardBoundsChanging(const gfx::Rect& new_bounds) override;
@@ -70,8 +71,8 @@ class ASH_EXPORT LockLayoutManager
// This happens when the display size, work area insets has changed.
void AdjustWindowsForWorkAreaChange(const wm::WMEvent* event);
- WmWindow* window_;
- WmWindow* root_window_;
+ aura::Window* window_;
+ aura::Window* root_window_;
ScopedObserver<keyboard::KeyboardController,
keyboard::KeyboardControllerObserver>
« no previous file with comments | « ash/system/status_area_layout_manager.cc ('k') | ash/wm/lock_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698