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

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

Issue 2168733002: Splits debug_commands into aura and non-aura parts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moar Created 4 years, 5 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_WINDOW_H_ 5 #ifndef ASH_COMMON_WM_WINDOW_H_
6 #define ASH_COMMON_WM_WINDOW_H_ 6 #define ASH_COMMON_WM_WINDOW_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 const_cast<const WmWindow*>(this)->GetRootWindow()); 66 const_cast<const WmWindow*>(this)->GetRootWindow());
67 } 67 }
68 virtual const WmWindow* GetRootWindow() const = 0; 68 virtual const WmWindow* GetRootWindow() const = 0;
69 virtual WmRootWindowController* GetRootWindowController() = 0; 69 virtual WmRootWindowController* GetRootWindowController() = 0;
70 70
71 // TODO(sky): fix constness. 71 // TODO(sky): fix constness.
72 virtual WmShell* GetShell() const = 0; 72 virtual WmShell* GetShell() const = 0;
73 73
74 // Used for debugging. 74 // Used for debugging.
75 virtual void SetName(const char* name) = 0; 75 virtual void SetName(const char* name) = 0;
76 virtual std::string GetName() const = 0;
76 77
77 virtual base::string16 GetTitle() const = 0; 78 virtual base::string16 GetTitle() const = 0;
78 79
79 // See shell_window_ids.h for list of known ids. 80 // See shell_window_ids.h for list of known ids.
80 virtual void SetShellWindowId(int id) = 0; 81 virtual void SetShellWindowId(int id) = 0;
81 virtual int GetShellWindowId() const = 0; 82 virtual int GetShellWindowId() const = 0;
82 virtual WmWindow* GetChildByShellWindowId(int id) = 0; 83 virtual WmWindow* GetChildByShellWindowId(int id) = 0;
83 84
84 virtual ui::wm::WindowType GetType() const = 0; 85 virtual ui::wm::WindowType GetType() const = 0;
85 86
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 virtual void RemoveObserver(WmWindowObserver* observer) = 0; 280 virtual void RemoveObserver(WmWindowObserver* observer) = 0;
280 virtual bool HasObserver(const WmWindowObserver* observer) const = 0; 281 virtual bool HasObserver(const WmWindowObserver* observer) const = 0;
281 282
282 protected: 283 protected:
283 virtual ~WmWindow() {} 284 virtual ~WmWindow() {}
284 }; 285 };
285 286
286 } // namespace ash 287 } // namespace ash
287 288
288 #endif // ASH_COMMON_WM_WINDOW_H_ 289 #endif // ASH_COMMON_WM_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698