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

Unified Diff: ui/aura/window.h

Issue 102313002: Wires up painting of layerless children (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comment Created 7 years 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 | « no previous file | ui/aura/window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window.h
diff --git a/ui/aura/window.h b/ui/aura/window.h
index 5527f81218d023dd5bafc9efcf429beca59d9284..f2a5672529b4d85d9dceaefcf43202dad5d5a746 100644
--- a/ui/aura/window.h
+++ b/ui/aura/window.h
@@ -402,6 +402,13 @@ class AURA_EXPORT Window : public ui::LayerDelegate,
// Schedules a paint for the Window's entire bounds.
void SchedulePaint();
+ // Asks the delegate to paint the window and invokes PaintLayerlessChildren()
+ // to paint any children with no layers.
+ void Paint(gfx::Canvas* canvas);
+
+ // Paints any layerless children to |canvas|.
+ void PaintLayerlessChildren(gfx::Canvas* canvas);
+
// Gets a Window (either this one or a subwindow) containing |local_point|.
// If |return_tightest| is true, returns the tightest-containing (i.e.
// furthest down the hierarchy) Window containing the point; otherwise,
« no previous file with comments | « no previous file | ui/aura/window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698