summaryrefslogtreecommitdiffstats
path: root/views/widget/root_view.h
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-16 21:28:01 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-16 21:28:01 +0000
commit6260f9e685ffa86d44750e61e1695bc57e9e122d (patch)
tree78250b5e4a4c2f66c64701d5edbe222e36845f05 /views/widget/root_view.h
parentd73d5f66e9c1d054e58b3966e9eaab7ab0020999 (diff)
downloadchromium_src-6260f9e685ffa86d44750e61e1695bc57e9e122d.zip
chromium_src-6260f9e685ffa86d44750e61e1695bc57e9e122d.tar.gz
chromium_src-6260f9e685ffa86d44750e61e1695bc57e9e122d.tar.bz2
Remove "visible bounds in root changed" functions from RootView, move them to View.
Clean up the API a little. Adds a BoundsChanged() processing function to View that does default processing for bounds-changed events, including notifying the view via OnBoundsChanged() and potentially notifying of visible bounds changing. Adds a unit test for OnVisibleBoundsChanged. http://crbug.com/72040 TEST=unit test Review URL: http://codereview.chromium.org/6534001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75182 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/widget/root_view.h')
-rw-r--r--views/widget/root_view.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/views/widget/root_view.h b/views/widget/root_view.h
index ba294a8..495b013 100644
--- a/views/widget/root_view.h
+++ b/views/widget/root_view.h
@@ -205,17 +205,6 @@ class RootView : public View,
friend class GestureManager;
#endif
- // Size and disposition ------------------------------------------------------
-
- // Notification that size and/or position of a view has changed. This
- // notifies the appropriate views.
- void ViewBoundsChanged(View* view, bool size_changed, bool position_changed);
-
- // Registers a view for notification when the visible bounds relative to the
- // root of a view changes.
- void RegisterViewForVisibleBoundsNotification(View* view);
- void UnregisterViewForVisibleBoundsNotification(View* view);
-
// Coordinate conversion -----------------------------------------------------
// Convert a point to our current mouse handler. Returns false if the