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

Side by Side Diff: ash/common/wm/wm_root_window_controller.h

Issue 2036353002: mash: Move ash/common/wm/shelf to ash/common/shelf (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gyp 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_WM_ROOT_WINDOW_CONTROLLER_H_ 5 #ifndef ASH_COMMON_WM_WM_ROOT_WINDOW_CONTROLLER_H_
6 #define ASH_COMMON_WM_WM_ROOT_WINDOW_CONTROLLER_H_ 6 #define ASH_COMMON_WM_WM_ROOT_WINDOW_CONTROLLER_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/common/wm/workspace/workspace_types.h" 9 #include "ash/common/wm/workspace/workspace_types.h"
10 #include "ui/views/widget/widget.h" 10 #include "ui/views/widget/widget.h"
11 11
12 namespace gfx { 12 namespace gfx {
13 class Point; 13 class Point;
14 } 14 }
15 15
16 namespace ash { 16 namespace ash {
17 17
18 class AlwaysOnTopController; 18 class AlwaysOnTopController;
19 class WmShelf;
19 20
20 namespace wm { 21 namespace wm {
21 22
22 class WmGlobals; 23 class WmGlobals;
23 class WmRootWindowControllerObserver; 24 class WmRootWindowControllerObserver;
24 class WmShelf;
25 class WmWindow; 25 class WmWindow;
26 26
27 // Provides state associated with a root of a window hierarchy. 27 // Provides state associated with a root of a window hierarchy.
28 class ASH_EXPORT WmRootWindowController { 28 class ASH_EXPORT WmRootWindowController {
29 public: 29 public:
30 virtual ~WmRootWindowController() {} 30 virtual ~WmRootWindowController() {}
31 31
32 virtual bool HasShelf() = 0; 32 virtual bool HasShelf() = 0;
33 33
34 virtual WmGlobals* GetGlobals() = 0; 34 virtual WmGlobals* GetGlobals() = 0;
(...skipping 22 matching lines...) Expand all
57 virtual WmWindow* FindEventTarget(const gfx::Point& location_in_screen) = 0; 57 virtual WmWindow* FindEventTarget(const gfx::Point& location_in_screen) = 0;
58 58
59 virtual void AddObserver(WmRootWindowControllerObserver* observer) = 0; 59 virtual void AddObserver(WmRootWindowControllerObserver* observer) = 0;
60 virtual void RemoveObserver(WmRootWindowControllerObserver* observer) = 0; 60 virtual void RemoveObserver(WmRootWindowControllerObserver* observer) = 0;
61 }; 61 };
62 62
63 } // namespace wm 63 } // namespace wm
64 } // namespace ash 64 } // namespace ash
65 65
66 #endif // ASH_COMMON_WM_WM_ROOT_WINDOW_CONTROLLER_H_ 66 #endif // ASH_COMMON_WM_WM_ROOT_WINDOW_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698