Index: ui/views/view.h |
diff --git a/ui/views/view.h b/ui/views/view.h |
index a6248de2e3d14f4c5978900d57bebf43b9ffe8b6..12ed0f105d52e6ec460e85e1e1c25c98e5da8beb 100644 |
--- a/ui/views/view.h |
+++ b/ui/views/view.h |
@@ -1223,6 +1223,7 @@ class VIEWS_EXPORT View : public ui::LayerDelegate, |
friend class internal::PostEventDispatchHandler; |
friend class internal::RootView; |
friend class FocusManager; |
+ friend class ViewLayerTest; |
friend class Widget; |
// Painting ----------------------------------------------------------------- |
@@ -1239,6 +1240,9 @@ class VIEWS_EXPORT View : public ui::LayerDelegate, |
// new bounds. |
void SchedulePaintBoundsChanged(SchedulePaintType type); |
+ // Schedules a paint on the parent View if it exists. |
+ void SchedulePaintOnParent(); |
+ |
// Tree operations ----------------------------------------------------------- |
// Removes |view| from the hierarchy tree. If |update_focus_cycle| is true, |