| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef ASH_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_ | 5 #ifndef ASH_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_ |
| 6 #define ASH_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_ | 6 #define ASH_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "ash/shelf/shelf_layout_manager_observer.h" | 9 #include "ash/shelf/shelf_layout_manager_observer.h" |
| 10 #include "ash/shell_observer.h" | 10 #include "ash/shell_observer.h" |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 | 31 |
| 32 namespace gfx { | 32 namespace gfx { |
| 33 class Point; | 33 class Point; |
| 34 } | 34 } |
| 35 | 35 |
| 36 namespace views { | 36 namespace views { |
| 37 class Widget; | 37 class Widget; |
| 38 } | 38 } |
| 39 | 39 |
| 40 namespace ash { | 40 namespace ash { |
| 41 class Shelf; | |
| 42 | |
| 43 namespace internal { | |
| 44 class DockedBackgroundWidget; | 41 class DockedBackgroundWidget; |
| 45 class DockedWindowLayoutManagerObserver; | 42 class DockedWindowLayoutManagerObserver; |
| 46 class DockedWindowResizerTest; | 43 class DockedWindowResizerTest; |
| 44 class Shelf; |
| 47 class ShelfLayoutManager; | 45 class ShelfLayoutManager; |
| 48 class WorkspaceController; | 46 class WorkspaceController; |
| 49 | 47 |
| 50 struct WindowWithHeight { | 48 struct WindowWithHeight { |
| 51 explicit WindowWithHeight(aura::Window* window) : | 49 explicit WindowWithHeight(aura::Window* window) : |
| 52 window_(window), | 50 window_(window), |
| 53 height_(window->bounds().height()) { } | 51 height_(window->bounds().height()) { } |
| 54 aura::Window* window() { return window_; } | 52 aura::Window* window() { return window_; } |
| 55 const aura::Window* window() const { return window_; } | 53 const aura::Window* window() const { return window_; } |
| 56 aura::Window* window_; | 54 aura::Window* window_; |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 | 301 |
| 304 // Widget used to paint a background for the docked area. | 302 // Widget used to paint a background for the docked area. |
| 305 scoped_ptr<DockedBackgroundWidget> background_widget_; | 303 scoped_ptr<DockedBackgroundWidget> background_widget_; |
| 306 | 304 |
| 307 // Observers of dock bounds changes. | 305 // Observers of dock bounds changes. |
| 308 ObserverList<DockedWindowLayoutManagerObserver> observer_list_; | 306 ObserverList<DockedWindowLayoutManagerObserver> observer_list_; |
| 309 | 307 |
| 310 DISALLOW_COPY_AND_ASSIGN(DockedWindowLayoutManager); | 308 DISALLOW_COPY_AND_ASSIGN(DockedWindowLayoutManager); |
| 311 }; | 309 }; |
| 312 | 310 |
| 313 } // namespace internal | |
| 314 } // namespace ash | 311 } // namespace ash |
| 315 | 312 |
| 316 #endif // ASH_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_ | 313 #endif // ASH_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_ |
| OLD | NEW |