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

Issue 1763113002: Move layout-test-specific switches from shell_switches to layout_test_switches.h (Closed)

Created:
4 years, 9 months ago by Łukasz Anforowicz
Modified:
4 years, 9 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, jochen+watch_chromium.org, mkwst+moarreviews-shell_chromium.org, mlamouri+watch-content_chromium.org, mlamouri+watch-test-runner_chromium.org, Peter Beverloo, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@remove-line-box-and-debug-from-flags-struct
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move layout-test-specific switches from shell_switches to layout_test_switches.h This partially addresses a "soft" layering violation pointed out in https://codereview.chromium.org/1755123004/#msg4 ("soft" = honour-based, not DEPS-enforced). BUG=587175 Committed: https://crrev.com/381b049a926507ef30b493deb57e12528d0ef3fd Cr-Commit-Position: refs/heads/master@{#380420}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Rebasing... #

Patch Set 3 : Rebasing... #

Patch Set 4 : Need to also use IsRunLayoutTestSwitchPresent in content/public/test/content_browser_test.cc #

Patch Set 5 : Adding IsRunLayoutTestSwitchPresent() call to Win- and Mac-specific code. #

Patch Set 6 : Fix accidental condition reversal in Shell::ToggleFullscreenModeForTab. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -170 lines) Patch
M content/content_shell.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/test/content_browser_test.cc View 1 2 3 2 chunks +2 lines, -3 lines 0 comments Download
M content/shell/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M content/shell/app/shell_main_delegate.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/app/shell_main_delegate_mac.mm View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M content/shell/browser/layout_test/blink_test_controller.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/shell/browser/layout_test/layout_test_browser_main.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_content_browser_client.cc View 2 chunks +24 lines, -1 line 0 comments Download
M content/shell/browser/shell.cc View 1 2 3 4 5 8 chunks +13 lines, -25 lines 0 comments Download
M content/shell/browser/shell_content_browser_client.cc View 2 chunks +0 lines, -23 lines 0 comments Download
M content/shell/browser/shell_web_contents_view_delegate_mac.mm View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M content/shell/browser/shell_web_contents_view_delegate_win.cc View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
A + content/shell/common/layout_test/layout_test_switches.h View 3 chunks +5 lines, -14 lines 0 comments Download
A + content/shell/common/layout_test/layout_test_switches.cc View 4 chunks +2 lines, -39 lines 0 comments Download
M content/shell/common/shell_content_client.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M content/shell/common/shell_switches.h View 1 chunk +6 lines, -11 lines 0 comments Download
M content/shell/common/shell_switches.cc View 4 chunks +6 lines, -40 lines 0 comments Download
M content/shell/renderer/layout_test/blink_test_helpers.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/shell/renderer/layout_test/layout_test_render_process_observer.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/shell/renderer/shell_render_view_observer.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 41 (20 generated)
Łukasz Anforowicz
jochen@, could you please take a look? (this is a follow-up to your comment @ ...
4 years, 9 months ago (2016-03-04 17:51:15 UTC) #4
Łukasz Anforowicz
https://codereview.chromium.org/1763113002/diff/1/content/shell/app/shell_main_delegate.cc File content/shell/app/shell_main_delegate.cc (right): https://codereview.chromium.org/1763113002/diff/1/content/shell/app/shell_main_delegate.cc#newcode29 content/shell/app/shell_main_delegate.cc:29: #include "content/shell/common/layout_test/layout_test_switches.h" On 2016/03/04 17:51:15, Łukasz Anforowicz wrote: > ...
4 years, 9 months ago (2016-03-04 17:59:38 UTC) #5
jochen (gone - plz use gerrit)
lgtm
4 years, 9 months ago (2016-03-09 14:53:19 UTC) #6
Łukasz Anforowicz
Thanks for reviewing (in a new patchset I am rebasing and making a small change ...
4 years, 9 months ago (2016-03-09 16:32:07 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1763113002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1763113002/60001
4 years, 9 months ago (2016-03-09 16:32:25 UTC) #9
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/192534)
4 years, 9 months ago (2016-03-09 16:45:40 UTC) #11
Łukasz Anforowicz
Aaaand I had to add switches::IsRunLayoutTestSwitchPresent() call to a bit more places under content/shell (win- ...
4 years, 9 months ago (2016-03-09 17:25:44 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1763113002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1763113002/80001
4 years, 9 months ago (2016-03-09 17:26:07 UTC) #14
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/186442)
4 years, 9 months ago (2016-03-09 18:37:41 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1763113002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1763113002/80001
4 years, 9 months ago (2016-03-09 18:42:47 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/193844)
4 years, 9 months ago (2016-03-09 20:09:50 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1763113002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1763113002/100001
4 years, 9 months ago (2016-03-09 22:19:11 UTC) #23
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/78454)
4 years, 9 months ago (2016-03-09 22:29:57 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1763113002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1763113002/100001
4 years, 9 months ago (2016-03-09 23:30:42 UTC) #27
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/186795)
4 years, 9 months ago (2016-03-10 02:02:37 UTC) #29
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1763113002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1763113002/100001
4 years, 9 months ago (2016-03-10 03:25:53 UTC) #31
Łukasz Anforowicz
jochen@, this CL has gone through 3 extra patchsets since your l-g-t-m (fixing rather silly ...
4 years, 9 months ago (2016-03-10 03:28:24 UTC) #32
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-10 04:36:45 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1763113002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1763113002/100001
4 years, 9 months ago (2016-03-10 16:43:36 UTC) #37
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 9 months ago (2016-03-10 16:48:51 UTC) #39
commit-bot: I haz the power
4 years, 9 months ago (2016-03-10 16:49:59 UTC) #41
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/381b049a926507ef30b493deb57e12528d0ef3fd
Cr-Commit-Position: refs/heads/master@{#380420}

Powered by Google App Engine
This is Rietveld 408576698