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

Unified Diff: ui/views/view.cc

Issue 303543004: MacViews: views_examples_with_content_exe working! Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add files Created 6 years, 7 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 | « ui/views/test/test_views_delegate_mac.cc ('k') | ui/views/view_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/view.cc
diff --git a/ui/views/view.cc b/ui/views/view.cc
index 88353236117b531405157cf45733b7eeb6f99319..b3717cdfaeb3e4537195d455e618202bfe5afc73 100644
--- a/ui/views/view.cc
+++ b/ui/views/view.cc
@@ -1453,9 +1453,11 @@ void View::NativeViewHierarchyChanged() {
void View::PaintChildren(gfx::Canvas* canvas, const CullSet& cull_set) {
TRACE_EVENT1("views", "View::PaintChildren", "class", GetClassName());
- for (int i = 0, count = child_count(); i < count; ++i)
+ for (int i = 0, count = child_count(); i < count; ++i) {
+ DLOG(INFO) << i << " ==> Paint: " << child_at(i)->GetClassName() << " layer=" << child_at(i)->layer() << " children=" << child_at(i)->child_count();
if (!child_at(i)->layer())
child_at(i)->Paint(canvas, cull_set);
+ }
}
void View::OnPaint(gfx::Canvas* canvas) {
« no previous file with comments | « ui/views/test/test_views_delegate_mac.cc ('k') | ui/views/view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698