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

Issue 7845033: Rework View Layer Draw() to use the Layer::DrawTree() method and the LayerDelegate. (Closed)

Created:
9 years, 3 months ago by Ben Goodger (Google)
Modified:
9 years, 3 months ago
Reviewers:
sadrul, sky
CC:
chromium-reviews, dhollowa
Visibility:
Public.

Description

Rework View Layer Draw() to use the Layer::DrawTree() method and the LayerDelegate. http://crbug.com/93947 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=100961

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 5

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+305 lines, -400 lines) Patch
M aura/aura.gyp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M aura/desktop.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M aura/window.h View 1 2 2 chunks +1 line, -7 lines 0 comments Download
M aura/window.cc View 1 2 3 chunks +5 lines, -14 lines 0 comments Download
M chrome/browser/ui/views/wrench_menu.cc View 1 2 3 1 chunk +0 lines, -4 lines 0 comments Download
M ui/gfx/compositor/compositor.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ui/gfx/compositor/layer.h View 1 2 3 chunks +27 lines, -17 lines 0 comments Download
M ui/gfx/compositor/layer.cc View 1 2 3 3 chunks +11 lines, -1 line 0 comments Download
M ui/gfx/compositor/layer_delegate.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ui/gfx/compositor/layer_unittest.cc View 1 2 8 chunks +94 lines, -15 lines 0 comments Download
M ui/gfx/compositor/test_compositor_host_win.cc View 1 2 2 chunks +10 lines, -2 lines 0 comments Download
M views/layer_helper.h View 1 2 3 3 chunks +0 lines, -15 lines 0 comments Download
M views/layer_helper.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M views/view.h View 1 2 3 6 chunks +15 lines, -31 lines 0 comments Download
M views/view.cc View 1 2 3 12 chunks +77 lines, -171 lines 0 comments Download
M views/view_unittest.cc View 1 2 3 4 chunks +7 lines, -8 lines 0 comments Download
M views/widget/native_widget_aura.h View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M views/widget/native_widget_aura.cc View 1 2 3 1 chunk +5 lines, -8 lines 0 comments Download
M views/widget/native_widget_gtk.h View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M views/widget/native_widget_gtk.cc View 1 2 3 1 chunk +3 lines, -5 lines 0 comments Download
M views/widget/native_widget_private.h View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M views/widget/native_widget_view.h View 1 2 3 2 chunks +3 lines, -6 lines 0 comments Download
M views/widget/native_widget_view.cc View 1 2 3 2 chunks +4 lines, -29 lines 0 comments Download
M views/widget/native_widget_views.h View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M views/widget/native_widget_views.cc View 1 2 3 2 chunks +5 lines, -8 lines 0 comments Download
M views/widget/native_widget_wayland.h View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M views/widget/native_widget_wayland.cc View 1 2 3 1 chunk +1 line, -4 lines 0 comments Download
M views/widget/native_widget_win.h View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M views/widget/native_widget_win.cc View 1 2 3 1 chunk +3 lines, -5 lines 0 comments Download
M views/widget/root_view.h View 1 2 3 2 chunks +3 lines, -4 lines 0 comments Download
M views/widget/root_view.cc View 1 2 3 2 chunks +3 lines, -14 lines 0 comments Download
M views/widget/widget.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M views/widget/widget.cc View 1 2 3 3 chunks +4 lines, -8 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Ben Goodger (Google)
9 years, 3 months ago (2011-09-13 17:25:23 UTC) #1
sky
http://codereview.chromium.org/7845033/diff/14001/ui/gfx/compositor/layer.cc File ui/gfx/compositor/layer.cc (right): http://codereview.chromium.org/7845033/diff/14001/ui/gfx/compositor/layer.cc#newcode21 ui/gfx/compositor/layer.cc:21: delegate_(NULL) { visible_(true) http://codereview.chromium.org/7845033/diff/14001/ui/gfx/compositor/layer.cc#newcode169 ui/gfx/compositor/layer.cc:169: for (size_t i = ...
9 years, 3 months ago (2011-09-13 17:47:06 UTC) #2
Ben Goodger (Google)
I updated this CL... not quite ready to commit yet since I have not fully ...
9 years, 3 months ago (2011-09-13 19:16:08 UTC) #3
sky
Nice cleanup! LGTM
9 years, 3 months ago (2011-09-13 19:58:53 UTC) #4
sadrul
9 years, 3 months ago (2011-09-13 23:02:05 UTC) #5
This breaks painting in touch-ui pretty badly :( (just launching chrome in
touchui shows the painting problems). Can you think of something we can try to
figure out what the problem is?

Powered by Google App Engine
This is Rietveld 408576698