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

Unified Diff: ui/views/view.h

Issue 1461673002: Moved parent_->SchedulePaint() to Views::SetFillsBoundsOpaquely() and Views::SchedulePaint(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changed View to schedule a parent paint only when paint to layer, or fills bounds opaquely changed. Created 5 years, 1 month 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
Index: ui/views/view.h
diff --git a/ui/views/view.h b/ui/views/view.h
index 9d43e2cea038fb87a009c9a7a41423c2650bd91f..a3250a65b00875d2f3f285cac50d568e4dd036a3 100644
--- a/ui/views/view.h
+++ b/ui/views/view.h
@@ -1231,6 +1231,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,

Powered by Google App Engine
This is Rietveld 408576698