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

Issue 11361223: cc: Remove cc::settings, move them to LayerTreeSettings. (Closed)

Created:
8 years, 1 month ago by danakj
Modified:
8 years, 1 month ago
CC:
chromium-reviews, cc-bugs_chromium.org, piman, backer
Visibility:
Public.

Description

cc: Remove cc::settings, move them to LayerTreeSettings. For now, we don't want to make plumbing through the WebKit API for all these settings. So they are marked with a TODO to move into chromium. When we are no longer going through the WebKit API from chromium, we can set these settings in chromium, instead of reading the command-line parameters in cc. Depends on: https://bugs.webkit.org/show_bug.cgi?id=102146 R=jamesr BUG=160771 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=167750

Patch Set 1 #

Patch Set 2 : setter #

Patch Set 3 : Using WebLayerTreeSettings for things WebKit can set #

Total comments: 2

Patch Set 4 : remove one more flag #

Patch Set 5 : #

Total comments: 2

Patch Set 6 : rebase #

Patch Set 7 : rebasedOnJankRemoval #

Patch Set 8 : fix-unittests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -316 lines) Patch
M cc/cc.gyp View 1 chunk +0 lines, -2 lines 0 comments Download
M cc/cc_tests.gyp View 1 chunk +0 lines, -1 line 0 comments Download
M cc/content_layer.cc View 2 chunks +1 line, -2 lines 0 comments Download
M cc/gl_renderer.cc View 1 2 3 4 3 chunks +2 lines, -4 lines 0 comments Download
M cc/gl_renderer_unittest.cc View 1 2 3 4 4 chunks +0 lines, -5 lines 0 comments Download
M cc/layer.cc View 1 2 3 4 2 chunks +1 line, -2 lines 0 comments Download
M cc/layer_impl.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/layer_tree_host.h View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M cc/layer_tree_host.cc View 1 2 3 4 5 6 7 6 chunks +12 lines, -4 lines 0 comments Download
M cc/layer_tree_host_impl.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M cc/layer_tree_host_impl.cc View 1 2 3 4 5 6 13 chunks +15 lines, -16 lines 0 comments Download
M cc/layer_tree_host_impl_unittest.cc View 1 2 3 4 27 chunks +19 lines, -39 lines 0 comments Download
M cc/layer_tree_host_unittest.cc View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M cc/layer_unittest.cc View 1 2 3 4 5 6 7 3 chunks +3 lines, -8 lines 0 comments Download
M cc/scheduler.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M cc/scheduler_state_machine.cc View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
D cc/settings.h View 1 2 3 4 5 6 1 chunk +0 lines, -35 lines 0 comments Download
D cc/settings.cc View 1 2 3 4 5 6 1 chunk +0 lines, -110 lines 0 comments Download
M cc/software_renderer_unittest.cc View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M cc/test/layer_tree_test_common.cc View 3 chunks +0 lines, -7 lines 0 comments Download
D cc/test/test_common.h View 1 chunk +0 lines, -22 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 1 chunk +0 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -3 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 5 4 chunks +19 lines, -14 lines 0 comments Download
M content/common/view_messages.h View 1 2 3 4 2 chunks +7 lines, -4 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_delegate_impl.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M ppapi/shared_impl/ppapi_preferences.cc View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M webkit/compositor_bindings/web_compositor_support_impl.cc View 1 2 3 4 2 chunks +4 lines, -5 lines 0 comments Download
M webkit/compositor_bindings/web_layer_tree_view_impl.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/glue/webpreferences.h View 1 2 3 chunks +7 lines, -6 lines 0 comments Download
M webkit/glue/webpreferences.cc View 1 2 6 chunks +14 lines, -13 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
danakj
I don't really like this CL as it is, because of the SchedulerStateMachine change. Soliciting ...
8 years, 1 month ago (2012-11-12 19:06:16 UTC) #1
enne (OOO)
Make it a constructor arg, rather than a per-function arg?
8 years, 1 month ago (2012-11-12 19:10:24 UTC) #2
danakj
This makes a setter on the statemachine, which reduced the diff size a fair bit.
8 years, 1 month ago (2012-11-12 19:56:54 UTC) #3
danakj
@jamesr can you take a look please, along with https://bugs.webkit.org/show_bug.cgi?id=101968 Updated this to move some ...
8 years, 1 month ago (2012-11-12 21:37:43 UTC) #4
jamesr
lgtm jank-instead-of-checkerboard is going away so if you end up landing after that be sure ...
8 years, 1 month ago (2012-11-12 23:38:35 UTC) #5
danakj
https://codereview.chromium.org/11361223/diff/13001/cc/layer_tree_host.cc File cc/layer_tree_host.cc (right): https://codereview.chromium.org/11361223/diff/13001/cc/layer_tree_host.cc#newcode62 cc/layer_tree_host.cc:62: // TODO(danakj): Move these to chromium after we stop ...
8 years, 1 month ago (2012-11-13 02:33:08 UTC) #6
danakj
https://codereview.chromium.org/11361223/diff/13001/cc/layer_tree_host.cc File cc/layer_tree_host.cc (right): https://codereview.chromium.org/11361223/diff/13001/cc/layer_tree_host.cc#newcode62 cc/layer_tree_host.cc:62: // TODO(danakj): Move these to chromium after we stop ...
8 years, 1 month ago (2012-11-13 02:35:12 UTC) #7
danakj
+dmichael for ppapi/
8 years, 1 month ago (2012-11-13 19:13:46 UTC) #8
danakj
+jam for chrome/ and content/
8 years, 1 month ago (2012-11-13 19:14:43 UTC) #9
danakj
+cdn for view_messages.h
8 years, 1 month ago (2012-11-13 19:15:34 UTC) #10
yzshen1
LGTM for .*ppapi.* and .*pepper.*
8 years, 1 month ago (2012-11-13 21:05:10 UTC) #11
Cris Neckar
lgtm for view_messages.h
8 years, 1 month ago (2012-11-13 21:10:25 UTC) #12
jam
lgtm
8 years, 1 month ago (2012-11-13 22:18:47 UTC) #13
danakj
Ok I stopped removing the WebCompositorSupport::setFoo() methods, just made them no-ops here. 1. The webkit ...
8 years, 1 month ago (2012-11-14 00:18:41 UTC) #14
slavi
https://codereview.chromium.org/11361223/diff/11003/cc/layer_tree_host.cc File cc/layer_tree_host.cc (right): https://codereview.chromium.org/11361223/diff/11003/cc/layer_tree_host.cc#newcode53 cc/layer_tree_host.cc:53: , jankInsteadOfCheckerboard(false) Wasn't jank-instead-of-checkerboard removed a couple days ago?
8 years, 1 month ago (2012-11-14 00:54:58 UTC) #15
danakj
https://codereview.chromium.org/11361223/diff/11003/cc/layer_tree_host.cc File cc/layer_tree_host.cc (right): https://codereview.chromium.org/11361223/diff/11003/cc/layer_tree_host.cc#newcode53 cc/layer_tree_host.cc:53: , jankInsteadOfCheckerboard(false) On 2012/11/14 00:54:58, slavi wrote: > Wasn't ...
8 years, 1 month ago (2012-11-14 00:56:35 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/11361223/11003
8 years, 1 month ago (2012-11-14 05:05:31 UTC) #17
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
8 years, 1 month ago (2012-11-14 05:25:35 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/11361223/11003
8 years, 1 month ago (2012-11-14 16:43:16 UTC) #19
commit-bot: I haz the power
Failed to apply patch for cc/layer_tree_host_impl.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
8 years, 1 month ago (2012-11-14 16:43:27 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/11361223/7003
8 years, 1 month ago (2012-11-14 16:46:39 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/11361223/14009
8 years, 1 month ago (2012-11-14 19:15:45 UTC) #22
commit-bot: I haz the power
8 years, 1 month ago (2012-11-14 21:24:28 UTC) #23
Change committed as 167750

Powered by Google App Engine
This is Rietveld 408576698