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

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

Issue 1914093002: Refactors DockedWindowLayoutManager in terms of ash/wm/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nuke_aura_window
Patch Set: comment 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
« no previous file with comments | « ash/wm/common/wm_root_window_controller.h ('k') | ash/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/wm/dock/docked_window_layout_manager.h
diff --git a/ash/wm/dock/docked_window_layout_manager.h b/ash/wm/dock/docked_window_layout_manager.h
index 77490414d3cfaae278b7e01c9cc2f70ba8cb3ba4..6983ca4ab048041c47c452fc511dde7d4678ccda 100644
--- a/ash/wm/dock/docked_window_layout_manager.h
+++ b/ash/wm/dock/docked_window_layout_manager.h
@@ -30,6 +30,7 @@ class Shelf;
namespace wm {
class WmRootWindowController;
+class WmShelf;
}
// DockedWindowLayoutManager is responsible for organizing windows when they are
@@ -92,8 +93,8 @@ class ASH_EXPORT DockedWindowLayoutManager
// the current shelf alignment conflicts. Never clears the |alignment_|.
void MaybeSetDesiredDockedAlignment(DockedAlignment alignment);
- Shelf* shelf() { return shelf_; }
- void SetShelf(Shelf* shelf);
+ wm::WmShelf* shelf() { return shelf_; }
+ void SetShelf(wm::WmShelf* shelf);
// Calculates if a window is touching the screen edges and returns edge.
DockedAlignment GetAlignmentOfWindow(const wm::WmWindow* window) const;
@@ -267,7 +268,7 @@ class ASH_EXPORT DockedWindowLayoutManager
bool is_dragged_from_dock_;
// The shelf to respond to alignment changes.
- Shelf* shelf_;
+ wm::WmShelf* shelf_;
// Tracks if any window in the same root window is in fullscreen mode.
bool in_fullscreen_;
« no previous file with comments | « ash/wm/common/wm_root_window_controller.h ('k') | ash/wm/dock/docked_window_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698