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

Unified Diff: ui/aura/window_observer.h

Issue 252963003: Revert of Adds back some debugging code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 months 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/window.cc ('k') | ui/aura/window_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « ui/aura/window.cc ('k') | ui/aura/window_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698