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

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

Issue 2010473003: Wires up shelf to panel and dock layoutmanagers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment Created 4 years, 7 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 | « no previous file | mash/example/window_type_launcher/BUILD.gn » ('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_WM_COMMON_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_ 5 #ifndef ASH_WM_COMMON_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_
6 #define ASH_WM_COMMON_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_ 6 #define ASH_WM_COMMON_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/wm/common/ash_wm_common_export.h" 10 #include "ash/wm/common/ash_wm_common_export.h"
(...skipping 17 matching lines...) Expand all
28 class DockedWindowResizerTest; 28 class DockedWindowResizerTest;
29 class Shelf; 29 class Shelf;
30 30
31 namespace wm { 31 namespace wm {
32 class WmRootWindowController; 32 class WmRootWindowController;
33 class WmShelf; 33 class WmShelf;
34 } 34 }
35 35
36 // DockedWindowLayoutManager is responsible for organizing windows when they are 36 // DockedWindowLayoutManager is responsible for organizing windows when they are
37 // docked to the side of a screen. It is associated with a specific container 37 // docked to the side of a screen. It is associated with a specific container
38 // window (i.e. kShellWindowId_DockContainer) and controls the layout of any 38 // window (i.e. kShellWindowId_DockedContainer) and controls the layout of any
39 // windows added to that container. 39 // windows added to that container.
40 // 40 //
41 // The constructor takes a |dock_container| argument which is expected to set 41 // The constructor takes a |dock_container| argument which is expected to set
42 // its layout manager to this instance, e.g.: 42 // its layout manager to this instance, e.g.:
43 // dock_container->SetLayoutManager( 43 // dock_container->SetLayoutManager(
44 // new DockedWindowLayoutManager(dock_container)); 44 // new DockedWindowLayoutManager(dock_container));
45 // 45 //
46 // TODO(varkha): extend BaseLayoutManager instead of LayoutManager to inherit 46 // TODO(varkha): extend BaseLayoutManager instead of LayoutManager to inherit
47 // common functionality. 47 // common functionality.
48 class ASH_WM_COMMON_EXPORT DockedWindowLayoutManager 48 class ASH_WM_COMMON_EXPORT DockedWindowLayoutManager
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 306
307 // Observers of dock bounds changes. 307 // Observers of dock bounds changes.
308 base::ObserverList<DockedWindowLayoutManagerObserver> observer_list_; 308 base::ObserverList<DockedWindowLayoutManagerObserver> observer_list_;
309 309
310 DISALLOW_COPY_AND_ASSIGN(DockedWindowLayoutManager); 310 DISALLOW_COPY_AND_ASSIGN(DockedWindowLayoutManager);
311 }; 311 };
312 312
313 } // namespace ash 313 } // namespace ash
314 314
315 #endif // ASH_WM_COMMON_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_ 315 #endif // ASH_WM_COMMON_DOCK_DOCKED_WINDOW_LAYOUT_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | mash/example/window_type_launcher/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698