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

Unified Diff: ui/aura/window.h

Issue 8771015: Rename Desktop->RootWindow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/aura/test/test_stacking_client.cc ('k') | ui/aura/window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window.h
===================================================================
--- ui/aura/window.h (revision 113260)
+++ ui/aura/window.h (working copy)
@@ -32,9 +32,9 @@
namespace aura {
-class Desktop;
class EventFilter;
class LayoutManager;
+class RootWindow;
class WindowDelegate;
class WindowObserver;
@@ -125,7 +125,7 @@
void SetCanvas(const SkCanvas& canvas, const gfx::Point& origin);
// Sets the parent window of the window. If NULL, the window is parented to
- // the desktop's window.
+ // the root window.
void SetParent(Window* parent);
// Stacks the specified child of this Window at the front of the z-order.
@@ -261,12 +261,13 @@
int GetIntProperty(const char* name) const;
protected:
- // Returns the desktop or NULL if we aren't yet attached to a desktop.
- virtual Desktop* GetDesktop();
+ // Returns the root window or NULL if we aren't yet attached to the root
+ // window.
+ virtual RootWindow* GetRootWindow();
- // Called when the |window| is detached from the desktop by being
- // removed from its parent.
- virtual void WindowDetachedFromDesktop(aura::Window* window);
+ // Called when the |window| is detached from the root window by being removed
+ // from its parent.
+ virtual void WindowDetachedFromRootWindow(aura::Window* window);
private:
friend class LayoutManager;
« no previous file with comments | « ui/aura/test/test_stacking_client.cc ('k') | ui/aura/window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698