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

Side by Side Diff: ash/common/wm/dock/docked_window_layout_manager.h

Issue 2293183002: ash: Remove ash::Shelf in favor of ash::WmShelf (Closed)
Patch Set: rebase again Created 4 years, 3 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 unified diff | Download patch
« no previous file with comments | « ash/common/system/toast/toast_overlay.cc ('k') | ash/common/wm/immersive_context_ash.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_COMMON_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_ 5 #ifndef ASH_COMMON_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_
6 #define ASH_COMMON_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_ 6 #define ASH_COMMON_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
11 #include "ash/common/shell_observer.h" 11 #include "ash/common/shell_observer.h"
12 #include "ash/common/wm/dock/dock_types.h" 12 #include "ash/common/wm/dock/dock_types.h"
13 #include "ash/common/wm/dock/docked_window_layout_manager_observer.h" 13 #include "ash/common/wm/dock/docked_window_layout_manager_observer.h"
14 #include "ash/common/wm/window_state_observer.h" 14 #include "ash/common/wm/window_state_observer.h"
15 #include "ash/common/wm/wm_snap_to_pixel_layout_manager.h" 15 #include "ash/common/wm/wm_snap_to_pixel_layout_manager.h"
16 #include "ash/common/wm_activation_observer.h" 16 #include "ash/common/wm_activation_observer.h"
17 #include "ash/common/wm_root_window_controller_observer.h" 17 #include "ash/common/wm_root_window_controller_observer.h"
18 #include "ash/common/wm_window_observer.h" 18 #include "ash/common/wm_window_observer.h"
19 #include "base/compiler_specific.h" 19 #include "base/compiler_specific.h"
20 #include "base/macros.h" 20 #include "base/macros.h"
21 #include "base/observer_list.h" 21 #include "base/observer_list.h"
22 #include "base/time/time.h" 22 #include "base/time/time.h"
23 #include "ui/gfx/geometry/rect.h" 23 #include "ui/gfx/geometry/rect.h"
24 #include "ui/keyboard/keyboard_controller_observer.h" 24 #include "ui/keyboard/keyboard_controller_observer.h"
25 25
26 namespace ash { 26 namespace ash {
27 class DockedBackgroundWidget; 27 class DockedBackgroundWidget;
28 class DockedWindowLayoutManagerObserver; 28 class DockedWindowLayoutManagerObserver;
29 class DockedWindowResizerTest; 29 class DockedWindowResizerTest;
30 class Shelf;
31 class WmRootWindowController; 30 class WmRootWindowController;
32 class WmShelf; 31 class WmShelf;
33 32
34 // DockedWindowLayoutManager is responsible for organizing windows when they are 33 // DockedWindowLayoutManager is responsible for organizing windows when they are
35 // docked to the side of a screen. It is associated with a specific container 34 // docked to the side of a screen. It is associated with a specific container
36 // window (i.e. kShellWindowId_DockedContainer) and controls the layout of any 35 // window (i.e. kShellWindowId_DockedContainer) and controls the layout of any
37 // windows added to that container. 36 // windows added to that container.
38 // 37 //
39 // The constructor takes a |dock_container| argument which is expected to set 38 // The constructor takes a |dock_container| argument which is expected to set
40 // its layout manager to this instance, e.g.: 39 // its layout manager to this instance, e.g.:
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 312
314 // Observers of dock bounds changes. 313 // Observers of dock bounds changes.
315 base::ObserverList<DockedWindowLayoutManagerObserver> observer_list_; 314 base::ObserverList<DockedWindowLayoutManagerObserver> observer_list_;
316 315
317 DISALLOW_COPY_AND_ASSIGN(DockedWindowLayoutManager); 316 DISALLOW_COPY_AND_ASSIGN(DockedWindowLayoutManager);
318 }; 317 };
319 318
320 } // namespace ash 319 } // namespace ash
321 320
322 #endif // ASH_COMMON_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_ 321 #endif // ASH_COMMON_WM_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_
OLDNEW
« no previous file with comments | « ash/common/system/toast/toast_overlay.cc ('k') | ash/common/wm/immersive_context_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698