Index: ui/views/view.h |
diff --git a/ui/views/view.h b/ui/views/view.h |
index 474ae01b56051626849f63dcfec9369f45b9c3ac..ede1e4e8358d76b25faa8bf56c674654e084f1ab 100644 |
--- a/ui/views/view.h |
+++ b/ui/views/view.h |
@@ -1293,8 +1293,14 @@ class VIEWS_EXPORT View : public ui::LayerDelegate, |
// VisibilityChanged(). |
void VisibilityChangedImpl(View* starting_from, bool is_visible); |
+ // Called when the logical or just the mirrored bounds have changed. Note: |
+ // |previous_bounds| may be the same as |bounds_| if the logical bounds have |
+ // not changed, but the mirrored bounds have. |
+ void MirroredBoundsChanged(const gfx::Rect& previous_bounds); |
+ |
// Responsible for propagating bounds change notifications to relevant |
- // views. |
+ // views. Called only if the actual (logical) bounds have changed (not just if |
+ // the mirrored bounds have changed due to a parent's size changing). |
void BoundsChanged(const gfx::Rect& previous_bounds); |
// Visible bounds notification registration. |