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

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

Issue 1896233002: Minor style cleanup in DockedWindowLayoutManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « no previous file | 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 e89be0d814d2f95e5d2755be840add5de1ac2d82..dc0c3e019bd01e254ba2b2484896e3beb5543121 100644
--- a/ash/wm/dock/docked_window_layout_manager.h
+++ b/ash/wm/dock/docked_window_layout_manager.h
@@ -42,16 +42,6 @@ class DockedWindowResizerTest;
class Shelf;
class WorkspaceController;
-struct WindowWithHeight {
- explicit WindowWithHeight(aura::Window* window) :
- window_(window),
- height_(window->bounds().height()) { }
- aura::Window* window() { return window_; }
- const aura::Window* window() const { return window_; }
- aura::Window* window_;
- int height_;
-};
-
// DockedWindowLayoutManager is responsible for organizing windows when they are
// docked to the side of a screen. It is associated with a specific container
// window (i.e. kShellWindowId_DockContainer) and controls the layout of any
@@ -178,7 +168,11 @@ class ASH_EXPORT DockedWindowLayoutManager
aura::Window* lost_active) override;
private:
+ struct CompareMinimumHeight;
+ struct CompareWindowPos;
class ShelfWindowObserver;
+ struct WindowWithHeight;
+
friend class DockedWindowLayoutManagerTest;
friend class DockedWindowResizerTest;
« no previous file with comments | « no previous file | ash/wm/dock/docked_window_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698