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

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

Issue 1923983003: Makes WorkspaceLayoutManager use ash/wm/common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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_WM_COMMON_WM_WINDOW_H_ 5 #ifndef ASH_WM_COMMON_WM_WINDOW_H_
6 #define ASH_WM_COMMON_WM_WINDOW_H_ 6 #define ASH_WM_COMMON_WM_WINDOW_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 virtual WmRootWindowController* GetRootWindowController() = 0; 55 virtual WmRootWindowController* GetRootWindowController() = 0;
56 56
57 // TODO(sky): fix constness. 57 // TODO(sky): fix constness.
58 virtual WmGlobals* GetGlobals() const = 0; 58 virtual WmGlobals* GetGlobals() const = 0;
59 59
60 // Used for debugging. 60 // Used for debugging.
61 virtual void SetName(const std::string& name) = 0; 61 virtual void SetName(const std::string& name) = 0;
62 62
63 // See wm_shell_window_ids.h for list of known ids. 63 // See wm_shell_window_ids.h for list of known ids.
64 virtual void SetShellWindowId(int id) = 0; 64 virtual void SetShellWindowId(int id) = 0;
65 virtual int GetShellWindowId() = 0; 65 virtual int GetShellWindowId() const = 0;
66 virtual WmWindow* GetChildByShellWindowId(int id) = 0; 66 virtual WmWindow* GetChildByShellWindowId(int id) = 0;
67 67
68 virtual ui::wm::WindowType GetType() const = 0; 68 virtual ui::wm::WindowType GetType() const = 0;
69 69
70 // TODO(sky): seems like this shouldn't be exposed. 70 // TODO(sky): seems like this shouldn't be exposed.
71 virtual ui::Layer* GetLayer() = 0; 71 virtual ui::Layer* GetLayer() = 0;
72 72
73 virtual gfx::Display GetDisplayNearestWindow() = 0; 73 virtual gfx::Display GetDisplayNearestWindow() = 0;
74 74
75 virtual bool HasNonClientArea() = 0; 75 virtual bool HasNonClientArea() = 0;
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 virtual void RemoveObserver(WmWindowObserver* observer) = 0; 201 virtual void RemoveObserver(WmWindowObserver* observer) = 0;
202 202
203 protected: 203 protected:
204 virtual ~WmWindow() {} 204 virtual ~WmWindow() {}
205 }; 205 };
206 206
207 } // namespace wm 207 } // namespace wm
208 } // namespace ash 208 } // namespace ash
209 209
210 #endif // ASH_WM_COMMON_WM_WINDOW_H_ 210 #endif // ASH_WM_COMMON_WM_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698