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

Unified Diff: ui/views/view.h

Issue 1566693002: Moved parent_->SchedulePaint() to Views::SetFillsBoundsOpaquely() and Views::SchedulePaint(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months 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
« no previous file with comments | « chrome/browser/ui/views/toolbar/toolbar_button.cc ('k') | ui/views/view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « chrome/browser/ui/views/toolbar/toolbar_button.cc ('k') | ui/views/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698