Index: ui/aura/root_window.h |
=================================================================== |
--- ui/aura/root_window.h (revision 119986) |
+++ ui/aura/root_window.h (working copy) |
@@ -192,13 +192,9 @@ |
// Overridden from ui::CompositorDelegate: |
virtual void ScheduleDraw() OVERRIDE; |
- // Overridden from Window: |
- virtual void OnWindowAttachedToRootWindow( |
- Window* window) OVERRIDE; |
- virtual void OnWindowDetachingFromRootWindow( |
- Window* window) OVERRIDE; |
+ private: |
+ friend class Window; |
- private: |
RootWindow(); |
virtual ~RootWindow(); |
@@ -212,6 +208,10 @@ |
ui::GestureStatus ProcessGestureEvent(Window* target, GestureEvent* event); |
bool ProcessGestures(GestureRecognizer::Gestures* gestures); |
+ // Called when a Window is attached or detached from the RootWindow. |
+ void OnWindowAddedToRootWindow(Window* window); |
+ void OnWindowRemovedFromRootWindow(Window* window); |
+ |
// Overridden from Window: |
virtual bool CanFocus() const OVERRIDE; |
virtual bool CanReceiveEvents() const OVERRIDE; |