| 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_
|
|
|