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

Unified Diff: ui/aura/root_window_observer.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/root_window_host_win.cc ('k') | ui/aura/root_window_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/root_window_observer.h
===================================================================
--- ui/aura/root_window_observer.h (revision 113260)
+++ ui/aura/root_window_observer.h (working copy)
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef UI_AURA_DESKTOP_OBSERVER_H_
-#define UI_AURA_DESKTOP_OBSERVER_H_
+#ifndef UI_AURA_ROOT_WINDOW_OBSERVER_H_
+#define UI_AURA_ROOT_WINDOW_OBSERVER_H_
#pragma once
#include "ui/aura/aura_export.h"
@@ -16,10 +16,10 @@
class Window;
-class AURA_EXPORT DesktopObserver {
+class AURA_EXPORT RootWindowObserver {
public:
- // Invoked after the desktop is resized.
- virtual void OnDesktopResized(const gfx::Size& new_size) {}
+ // Invoked after the RootWindowObserver is resized.
+ virtual void OnRootWindowResized(const gfx::Size& new_size) {}
// Invoked when a new window is initialized.
virtual void OnWindowInitialized(Window* window) {}
@@ -29,9 +29,9 @@
virtual void OnActiveWindowChanged(Window* active) {}
protected:
- virtual ~DesktopObserver() {}
+ virtual ~RootWindowObserver() {}
};
} // namespace aura
-#endif // UI_AURA_DESKTOP_OBSERVER_H_
+#endif // UI_AURA_ROOT_WINDOW_OBSERVER_H_
« no previous file with comments | « ui/aura/root_window_host_win.cc ('k') | ui/aura/root_window_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698