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

Unified Diff: ash/shelf/shelf_layout_manager.h

Issue 1923983003: Makes WorkspaceLayoutManager use ash/wm/common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix always-on-top and remove mus changes Created 4 years, 8 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/shelf/shelf_layout_manager.h
diff --git a/ash/shelf/shelf_layout_manager.h b/ash/shelf/shelf_layout_manager.h
index 6480433755f1d236720099b4bce8348a846d4535..dfefa95464854063bfe7b706e0eea57490ea57ae 100644
--- a/ash/shelf/shelf_layout_manager.h
+++ b/ash/shelf/shelf_layout_manager.h
@@ -156,7 +156,6 @@ class ASH_EXPORT ShelfLayoutManager
// Overridden from ash::ShellObserver:
void OnLockStateChanged(bool locked) override;
- void OnShelfAlignmentChanged(aura::Window* root_window) override;
void OnShelfAutoHideBehaviorChanged(aura::Window* root_window) override;
// Overriden from aura::client::ActivationChangeObserver:
@@ -216,6 +215,7 @@ class ASH_EXPORT ShelfLayoutManager
private:
class AutoHideEventFilter;
+ class RootWindowControllerObserverImpl;
class UpdateShelfObserver;
friend class AshPopupAlignmentDelegateTest;
friend class ash::ScreenAsh;
@@ -398,6 +398,9 @@ class ASH_EXPORT ShelfLayoutManager
// The show hide animation duration override or 0 for default.
int duration_override_in_ms_;
+ std::unique_ptr<RootWindowControllerObserverImpl>
+ root_window_controller_observer_;
+
DISALLOW_COPY_AND_ASSIGN(ShelfLayoutManager);
};

Powered by Google App Engine
This is Rietveld 408576698