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

Issue 11186039: Move CC switches to cc/switches.h. (Closed)

Created:
8 years, 2 months ago by aelias_OOO_until_Jul13
Modified:
8 years, 2 months ago
Reviewers:
jamesr, tfarina, sky, piman
CC:
chromium-reviews
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Move CC switches to cc/switches.h. This moves these switches to their appropriate place, and sets them all directly from command-line flags there. I deleted the WebCompositor setter methods, but setters are still needed in CCSettings for unit tests. BUG= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=162921

Patch Set 1 #

Patch Set 2 : Add cc to DEPS in chrome/ and content/ #

Total comments: 4

Patch Set 3 : Fix ChromeOS and rename CCSettings to Settings #

Total comments: 1

Patch Set 4 : Update login_utils #

Total comments: 5

Patch Set 5 : Fixed nits and made ui/ depend on ui/gfx/ #

Total comments: 1

Patch Set 6 : Move to ui/compositor/DEPS and add WEBKIT_GLUE_EXPORT attribute #

Patch Set 7 : Add glue_export header #

Patch Set 8 : Bring back WebCompositorSupportImpl calls to fix WebKit-side tests #

Patch Set 9 : Rebase #

Patch Set 10 : Switch ui/compositor back to using compositorSupport() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+184 lines, -148 lines) Patch
M cc/content_layer.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M cc/gl_renderer.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M cc/layer.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M cc/layer_impl.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M cc/layer_tree_host.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M cc/layer_tree_host_impl.cc View 1 2 3 4 5 6 7 7 chunks +8 lines, -8 lines 0 comments Download
M cc/layer_tree_host_impl_unittest.cc View 1 2 3 4 5 6 7 30 chunks +28 lines, -28 lines 0 comments Download
M cc/layer_unittest.cc View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M cc/settings.h View 1 2 3 4 5 6 7 8 9 2 chunks +5 lines, -10 lines 0 comments Download
M cc/settings.cc View 1 2 1 chunk +81 lines, -19 lines 0 comments Download
M cc/switches.h View 1 chunk +5 lines, -1 line 0 comments Download
M cc/switches.cc View 1 chunk +14 lines, -4 lines 0 comments Download
M cc/test/test_common.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M cc/threaded_unittest.cc View 1 2 3 4 5 6 7 2 chunks +4 lines, -1 line 0 comments Download
M chrome/DEPS View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/login_utils.cc View 1 2 3 4 5 6 7 3 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/gpu_internals_ui.cc View 2 chunks +2 lines, -1 line 0 comments Download
M content/DEPS View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 4 chunks +5 lines, -5 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -1 line 0 comments Download
M content/public/common/content_switches.h View 3 chunks +0 lines, -5 lines 0 comments Download
M content/public/common/content_switches.cc View 1 2 3 4 4 chunks +0 lines, -13 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -8 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -1 line 0 comments Download
M webkit/compositor_bindings/web_compositor_impl.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -25 lines 0 comments Download
M webkit/compositor_bindings/web_compositor_support_impl.cc View 1 2 3 4 5 6 7 2 chunks +5 lines, -4 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
aelias_OOO_until_Jul13
This is some straightforward switch reshuffling. Note that we'll need to add cc/ to DEPS ...
8 years, 2 months ago (2012-10-18 02:34:35 UTC) #1
aelias_OOO_until_Jul13
I went ahead and added the DEPS entries to this patch.
8 years, 2 months ago (2012-10-18 02:38:47 UTC) #2
jamesr
I'm afraid this will break chromeos - they use different command line flags to control ...
8 years, 2 months ago (2012-10-18 02:44:32 UTC) #3
piman
https://codereview.chromium.org/11186039/diff/3001/cc/settings.h File cc/settings.h (right): https://codereview.chromium.org/11186039/diff/3001/cc/settings.h#newcode12 cc/settings.h:12: // setting. Please read this :)
8 years, 2 months ago (2012-10-18 03:05:32 UTC) #4
aelias_OOO_until_Jul13
https://codereview.chromium.org/11186039/diff/3001/cc/settings.h File cc/settings.h (right): https://codereview.chromium.org/11186039/diff/3001/cc/settings.h#newcode12 cc/settings.h:12: // setting. On 2012/10/18 03:05:33, piman wrote: > Please ...
8 years, 2 months ago (2012-10-18 03:18:04 UTC) #5
piman
https://codereview.chromium.org/11186039/diff/3001/cc/settings.h File cc/settings.h (right): https://codereview.chromium.org/11186039/diff/3001/cc/settings.h#newcode12 cc/settings.h:12: // setting. On 2012/10/18 03:18:04, aelias wrote: > On ...
8 years, 2 months ago (2012-10-18 03:22:01 UTC) #6
aelias_OOO_until_Jul13
OK, anyway, this patch is an improvement on the status quo. I fixed ChromeOS by ...
8 years, 2 months ago (2012-10-18 03:47:14 UTC) #7
piman
https://codereview.chromium.org/11186039/diff/8001/content/public/common/content_switches.h File content/public/common/content_switches.h (left): https://codereview.chromium.org/11186039/diff/8001/content/public/common/content_switches.h#oldcode112 content/public/common/content_switches.h:112: extern const char kEnablePartialSwap[]; You'll have to update chrome/browser/chromeos/login/login_utils.cc ...
8 years, 2 months ago (2012-10-18 04:13:46 UTC) #8
aelias_OOO_until_Jul13
On 2012/10/18 04:13:46, piman wrote: > https://codereview.chromium.org/11186039/diff/8001/content/public/common/content_switches.h > File content/public/common/content_switches.h (left): > > https://codereview.chromium.org/11186039/diff/8001/content/public/common/content_switches.h#oldcode112 > ...
8 years, 2 months ago (2012-10-18 04:35:32 UTC) #9
piman
LGTM for my parts. I find the Settings globals rather clunky as is (initialize with ...
8 years, 2 months ago (2012-10-18 04:46:43 UTC) #10
jamesr
lgtm de-staticifying these is on the list but a little ways down there
8 years, 2 months ago (2012-10-18 05:52:37 UTC) #11
sky
LGTM https://codereview.chromium.org/11186039/diff/24/content/DEPS File content/DEPS (right): https://codereview.chromium.org/11186039/diff/24/content/DEPS#newcode6 content/DEPS:6: "+cc", nit: keep sorted. https://codereview.chromium.org/11186039/diff/24/content/public/common/content_switches.cc File content/public/common/content_switches.cc (right): ...
8 years, 2 months ago (2012-10-18 17:16:26 UTC) #12
tfarina
http://codereview.chromium.org/11186039/diff/24/ui/DEPS File ui/DEPS (right): http://codereview.chromium.org/11186039/diff/24/ui/DEPS#newcode2 ui/DEPS:2: "+cc", hum? these is going to introduce a circular ...
8 years, 2 months ago (2012-10-18 17:31:33 UTC) #13
tfarina
http://codereview.chromium.org/11186039/diff/24/ui/DEPS File ui/DEPS (right): http://codereview.chromium.org/11186039/diff/24/ui/DEPS#newcode2 ui/DEPS:2: "+cc", On 2012/10/18 17:31:33, tfarina wrote: > hum? these ...
8 years, 2 months ago (2012-10-18 17:32:10 UTC) #14
sky
http://codereview.chromium.org/11186039/diff/24/ui/DEPS File ui/DEPS (right): http://codereview.chromium.org/11186039/diff/24/ui/DEPS#newcode2 ui/DEPS:2: "+cc", On 2012/10/18 17:32:10, tfarina wrote: > On 2012/10/18 ...
8 years, 2 months ago (2012-10-18 17:38:27 UTC) #15
jamesr
On 2012/10/18 17:38:27, sky wrote: > http://codereview.chromium.org/11186039/diff/24/ui/DEPS > File ui/DEPS (right): > > http://codereview.chromium.org/11186039/diff/24/ui/DEPS#newcode2 > ...
8 years, 2 months ago (2012-10-18 18:22:40 UTC) #16
aelias_OOO_until_Jul13
cc was only depending on ui/gfx so if I understand the DEPS semantics correctly, there ...
8 years, 2 months ago (2012-10-18 18:55:12 UTC) #17
jamesr
http://codereview.chromium.org/11186039/diff/10002/ui/DEPS File ui/DEPS (right): http://codereview.chromium.org/11186039/diff/10002/ui/DEPS#newcode13 ui/DEPS:13: "+ui/gfx", this isn't what - meant. ui/DEPS is the ...
8 years, 2 months ago (2012-10-18 19:25:46 UTC) #18
tfarina
On 2012/10/18 19:25:46, jamesr wrote: > http://codereview.chromium.org/11186039/diff/10002/ui/DEPS > File ui/DEPS (right): > > http://codereview.chromium.org/11186039/diff/10002/ui/DEPS#newcode13 > ...
8 years, 2 months ago (2012-10-18 19:27:43 UTC) #19
jamesr
On 2012/10/18 19:27:43, tfarina wrote: > On 2012/10/18 19:25:46, jamesr wrote: > > http://codereview.chromium.org/11186039/diff/10002/ui/DEPS > ...
8 years, 2 months ago (2012-10-18 19:29:54 UTC) #20
aelias_OOO_until_Jul13
OK, I moved the DEPS rule to ui/compositor instead and fixed some other build nits. ...
8 years, 2 months ago (2012-10-18 21:54:00 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aelias@chromium.org/11186039/14033
8 years, 2 months ago (2012-10-18 21:54:45 UTC) #22
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build. Your ...
8 years, 2 months ago (2012-10-18 23:14:34 UTC) #23
aelias_OOO_until_Jul13
Windows bot doesn't like the direct dependency on both CC and webkit_glue in ui/compositor so ...
8 years, 2 months ago (2012-10-18 23:28:20 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aelias@chromium.org/11186039/5007
8 years, 2 months ago (2012-10-18 23:28:29 UTC) #25
commit-bot: I haz the power
Retried try job too often for step(s) interactive_ui_tests
8 years, 2 months ago (2012-10-19 01:23:00 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aelias@chromium.org/11186039/5007
8 years, 2 months ago (2012-10-19 01:26:23 UTC) #27
commit-bot: I haz the power
8 years, 2 months ago (2012-10-19 03:39:41 UTC) #28
Change committed as 162921

Powered by Google App Engine
This is Rietveld 408576698