| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_SHELF_SHELF_LAYOUT_MANAGER_H_ | 5 #ifndef ASH_SHELF_SHELF_LAYOUT_MANAGER_H_ |
| 6 #define ASH_SHELF_SHELF_LAYOUT_MANAGER_H_ | 6 #define ASH_SHELF_SHELF_LAYOUT_MANAGER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 namespace aura { | 31 namespace aura { |
| 32 class RootWindow; | 32 class RootWindow; |
| 33 } | 33 } |
| 34 | 34 |
| 35 namespace ui { | 35 namespace ui { |
| 36 class GestureEvent; | 36 class GestureEvent; |
| 37 class ImplicitAnimationObserver; | 37 class ImplicitAnimationObserver; |
| 38 } | 38 } |
| 39 | 39 |
| 40 namespace ash { | 40 namespace ash { |
| 41 class PanelLayoutManagerTest; |
| 41 class ScreenAsh; | 42 class ScreenAsh; |
| 43 class ShelfBezelEventFilter; |
| 42 class ShelfLayoutManagerObserver; | 44 class ShelfLayoutManagerObserver; |
| 45 class ShelfLayoutManagerTest; |
| 43 class ShelfWidget; | 46 class ShelfWidget; |
| 44 FORWARD_DECLARE_TEST(WebNotificationTrayTest, PopupAndFullscreen); | |
| 45 | |
| 46 namespace internal { | |
| 47 | |
| 48 class PanelLayoutManagerTest; | |
| 49 class ShelfBezelEventFilter; | |
| 50 class ShelfLayoutManagerTest; | |
| 51 class StatusAreaWidget; | 47 class StatusAreaWidget; |
| 52 class WorkspaceController; | 48 class WorkspaceController; |
| 49 FORWARD_DECLARE_TEST(WebNotificationTrayTest, PopupAndFullscreen); |
| 53 | 50 |
| 54 // ShelfLayoutManager is the layout manager responsible for the shelf and | 51 // ShelfLayoutManager is the layout manager responsible for the shelf and |
| 55 // status widgets. The shelf is given the total available width and told the | 52 // status widgets. The shelf is given the total available width and told the |
| 56 // width of the status area. This allows the shelf to draw the background and | 53 // width of the status area. This allows the shelf to draw the background and |
| 57 // layout to the status area. | 54 // layout to the status area. |
| 58 // To respond to bounds changes in the status area StatusAreaLayoutManager works | 55 // To respond to bounds changes in the status area StatusAreaLayoutManager works |
| 59 // closely with ShelfLayoutManager. | 56 // closely with ShelfLayoutManager. |
| 60 class ASH_EXPORT ShelfLayoutManager : | 57 class ASH_EXPORT ShelfLayoutManager : |
| 61 public aura::LayoutManager, | 58 public aura::LayoutManager, |
| 62 public ash::ShellObserver, | 59 public ash::ShellObserver, |
| (...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 410 | 407 |
| 411 // The bounds of the dock. | 408 // The bounds of the dock. |
| 412 gfx::Rect dock_bounds_; | 409 gfx::Rect dock_bounds_; |
| 413 | 410 |
| 414 // The show hide animation duration override or 0 for default. | 411 // The show hide animation duration override or 0 for default. |
| 415 int duration_override_in_ms_; | 412 int duration_override_in_ms_; |
| 416 | 413 |
| 417 DISALLOW_COPY_AND_ASSIGN(ShelfLayoutManager); | 414 DISALLOW_COPY_AND_ASSIGN(ShelfLayoutManager); |
| 418 }; | 415 }; |
| 419 | 416 |
| 420 } // namespace internal | |
| 421 } // namespace ash | 417 } // namespace ash |
| 422 | 418 |
| 423 #endif // ASH_SHELF_SHELF_LAYOUT_MANAGER_H_ | 419 #endif // ASH_SHELF_SHELF_LAYOUT_MANAGER_H_ |
| OLD | NEW |