Index: ui/aura/window_observer.h |
diff --git a/ui/aura/window_observer.h b/ui/aura/window_observer.h |
index ef1259a234d5b99d8e1dd80e3ed51b85fd8c2ff4..926e5c4428a5b25a9ad09b0ae3f713a927b3cb25 100644 |
--- a/ui/aura/window_observer.h |
+++ b/ui/aura/window_observer.h |
@@ -30,8 +30,6 @@ |
HierarchyChangePhase phase; |
Window* receiver; // The window receiving the notification. |
}; |
- |
- WindowObserver(); |
// Called when a window is added or removed. Notifications are sent to the |
// following hierarchies in this order: |
@@ -113,22 +111,7 @@ |
Window* new_root) {} |
protected: |
- virtual ~WindowObserver(); |
- |
- private: |
- friend class Window; |
- |
- // Called when this is added as an observer on |window|. |
- void OnObservingWindow(Window* window); |
- |
- // Called when this is removed from the observers on |window|. |
- void OnUnobservingWindow(Window* window); |
- |
- // Tracks the number of windows being observed to track down |
- // http://crbug.com/365364. |
- int observing_; |
- |
- DISALLOW_COPY_AND_ASSIGN(WindowObserver); |
+ virtual ~WindowObserver() {} |
}; |
} // namespace aura |