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

Side by Side Diff: ash/wm/common/workspace/workspace_layout_manager.h

Issue 2018753003: Moves ash/wm/common back into ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove BUILD.gn again Created 4 years, 6 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
OLDNEW
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_WM_COMMON_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_ 5 #ifndef ASH_WM_COMMON_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_
6 #define ASH_WM_COMMON_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_ 6 #define ASH_WM_COMMON_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <set> 9 #include <set>
10 10
11 #include "ash/wm/common/ash_wm_common_export.h" 11 #include "ash/ash_export.h"
12 #include "ash/wm/common/window_state_observer.h" 12 #include "ash/wm/common/window_state_observer.h"
13 #include "ash/wm/common/wm_activation_observer.h" 13 #include "ash/wm/common/wm_activation_observer.h"
14 #include "ash/wm/common/wm_layout_manager.h" 14 #include "ash/wm/common/wm_layout_manager.h"
15 #include "ash/wm/common/wm_root_window_controller_observer.h" 15 #include "ash/wm/common/wm_root_window_controller_observer.h"
16 #include "ash/wm/common/wm_types.h" 16 #include "ash/wm/common/wm_types.h"
17 #include "ash/wm/common/wm_window_observer.h" 17 #include "ash/wm/common/wm_window_observer.h"
18 #include "base/macros.h" 18 #include "base/macros.h"
19 #include "ui/gfx/geometry/rect.h" 19 #include "ui/gfx/geometry/rect.h"
20 #include "ui/keyboard/keyboard_controller_observer.h" 20 #include "ui/keyboard/keyboard_controller_observer.h"
21 21
22 namespace ash { 22 namespace ash {
23 class WorkspaceLayoutManagerBackdropDelegate; 23 class WorkspaceLayoutManagerBackdropDelegate;
24 24
25 namespace wm { 25 namespace wm {
26 class WmGlobals; 26 class WmGlobals;
27 class WmRootWindowController; 27 class WmRootWindowController;
28 class WorkspaceLayoutManagerDelegate; 28 class WorkspaceLayoutManagerDelegate;
29 class WMEvent; 29 class WMEvent;
30 } 30 }
31 31
32 // LayoutManager used on the window created for a workspace. 32 // LayoutManager used on the window created for a workspace.
33 class ASH_WM_COMMON_EXPORT WorkspaceLayoutManager 33 class ASH_EXPORT WorkspaceLayoutManager
34 : public wm::WmLayoutManager, 34 : public wm::WmLayoutManager,
35 public wm::WmWindowObserver, 35 public wm::WmWindowObserver,
36 public wm::WmActivationObserver, 36 public wm::WmActivationObserver,
37 public keyboard::KeyboardControllerObserver, 37 public keyboard::KeyboardControllerObserver,
38 public wm::WmRootWindowControllerObserver, 38 public wm::WmRootWindowControllerObserver,
39 public wm::WindowStateObserver { 39 public wm::WindowStateObserver {
40 public: 40 public:
41 WorkspaceLayoutManager( 41 WorkspaceLayoutManager(
42 wm::WmWindow* window, 42 wm::WmWindow* window,
43 std::unique_ptr<wm::WorkspaceLayoutManagerDelegate> delegate); 43 std::unique_ptr<wm::WorkspaceLayoutManagerDelegate> delegate);
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 // A window which covers the full container and which gets inserted behind the 139 // A window which covers the full container and which gets inserted behind the
140 // topmost visible window. 140 // topmost visible window.
141 std::unique_ptr<WorkspaceLayoutManagerBackdropDelegate> backdrop_delegate_; 141 std::unique_ptr<WorkspaceLayoutManagerBackdropDelegate> backdrop_delegate_;
142 142
143 DISALLOW_COPY_AND_ASSIGN(WorkspaceLayoutManager); 143 DISALLOW_COPY_AND_ASSIGN(WorkspaceLayoutManager);
144 }; 144 };
145 145
146 } // namespace ash 146 } // namespace ash
147 147
148 #endif // ASH_WM_COMMON_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_ 148 #endif // ASH_WM_COMMON_WORKSPACE_WORKSPACE_LAYOUT_MANAGER_H_
OLDNEW
« no previous file with comments | « ash/wm/common/workspace/two_step_edge_cycler.h ('k') | ash/wm/common/workspace/workspace_layout_manager_backdrop_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698