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

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

Issue 2025413002: Moves RootWindowControllerCommon and LayoutManager to common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@use_root_window_controller_common
Patch Set: merge 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_WINDOW_H_ 5 #ifndef ASH_COMMON_WM_WM_WINDOW_H_
6 #define ASH_COMMON_WM_WM_WINDOW_H_ 6 #define ASH_COMMON_WM_WM_WINDOW_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 virtual WmRootWindowController* GetRootWindowController() = 0; 60 virtual WmRootWindowController* GetRootWindowController() = 0;
61 61
62 // TODO(sky): fix constness. 62 // TODO(sky): fix constness.
63 virtual WmGlobals* GetGlobals() const = 0; 63 virtual WmGlobals* GetGlobals() const = 0;
64 64
65 // Used for debugging. 65 // Used for debugging.
66 virtual void SetName(const char* name) = 0; 66 virtual void SetName(const char* name) = 0;
67 67
68 virtual base::string16 GetTitle() const = 0; 68 virtual base::string16 GetTitle() const = 0;
69 69
70 // See wm_shell_window_ids.h for list of known ids. 70 // See shell_window_ids.h for list of known ids.
71 virtual void SetShellWindowId(int id) = 0; 71 virtual void SetShellWindowId(int id) = 0;
72 virtual int GetShellWindowId() const = 0; 72 virtual int GetShellWindowId() const = 0;
73 virtual WmWindow* GetChildByShellWindowId(int id) = 0; 73 virtual WmWindow* GetChildByShellWindowId(int id) = 0;
74 74
75 virtual ui::wm::WindowType GetType() const = 0; 75 virtual ui::wm::WindowType GetType() const = 0;
76 76
77 // TODO(sky): seems like this shouldn't be exposed. 77 // TODO(sky): seems like this shouldn't be exposed.
78 virtual ui::Layer* GetLayer() = 0; 78 virtual ui::Layer* GetLayer() = 0;
79 79
80 virtual display::Display GetDisplayNearestWindow() = 0; 80 virtual display::Display GetDisplayNearestWindow() = 0;
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 virtual void RemoveObserver(WmWindowObserver* observer) = 0; 254 virtual void RemoveObserver(WmWindowObserver* observer) = 0;
255 255
256 protected: 256 protected:
257 virtual ~WmWindow() {} 257 virtual ~WmWindow() {}
258 }; 258 };
259 259
260 } // namespace wm 260 } // namespace wm
261 } // namespace ash 261 } // namespace ash
262 262
263 #endif // ASH_COMMON_WM_WM_WINDOW_H_ 263 #endif // ASH_COMMON_WM_WM_WINDOW_H_
OLDNEW
« no previous file with comments | « ash/common/wm/wm_shell_window_ids.h ('k') | ash/common/wm/workspace/multi_window_resize_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698