Index: ui/views/view.h |
diff --git a/ui/views/view.h b/ui/views/view.h |
index ec070e55cec57713cecd60cf20badc83654c4a3d..accd331ada6313dcdec0ad9e6d5798f162867135 100644 |
--- a/ui/views/view.h |
+++ b/ui/views/view.h |
@@ -1220,6 +1220,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 ----------------------------------------------------------------- |
@@ -1236,6 +1237,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, |