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

Issue 2594913002: Replace IPC messages in layout_test_render_frame_observer. (Closed)

Created:
4 years ago by Jia
Modified:
3 years, 10 months ago
CC:
Aaron Boodman, abarth-chromium, chromium-reviews, darin (slow to review), darin-cc_chromium.org, einbinder+watch-test-runner_chromium.org, jochen+watch_chromium.org, mlamouri+watch-test-runner_chromium.org, mlamouri+watch-content_chromium.org, Peter Beverloo, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace IPC messages in layout_test_render_frame_observer. Also remove some forward declarations that are becoming useless. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation BUG=577685 Review-Url: https://codereview.chromium.org/2594913002 Cr-Original-Commit-Position: refs/heads/master@{#446952} Committed: https://chromium.googlesource.com/chromium/src/+/165c6d9ac3870f1c12553eff57ea52b1c67a1fa1 Review-Url: https://codereview.chromium.org/2594913002 Cr-Commit-Position: refs/heads/master@{#448846} Committed: https://chromium.googlesource.com/chromium/src/+/d518643748bffd4d67c504a5181489ab75b89a1d

Patch Set 1 #

Patch Set 2 : Set up a new traits file to reduce file header dependencies. #

Patch Set 3 : Remove mojo::GetProxy as it doesn't exist any more. #

Patch Set 4 : Add new interface to json. Also fix a dep issue. #

Patch Set 5 : Change to Associated Interface #

Patch Set 6 : Add deps #

Patch Set 7 : Fix some dep issue #

Patch Set 8 : Merge branch 'master' of https://chromium.googlesource.com/chromium/src into mojo_starter #

Patch Set 9 : Remove binding.close #

Patch Set 10 : Clean up map #

Total comments: 21

Patch Set 11 : Change following review #

Patch Set 12 : Change following review #

Patch Set 13 : Change following review #

Total comments: 2

Patch Set 14 : Formatted files #

Total comments: 3

Patch Set 15 : Change following review #

Patch Set 16 : Replace ShellTestConfiguration with mojo construct #

Total comments: 2

Patch Set 17 : Replace const ref by value #

Total comments: 2

Patch Set 18 : Add mojo connection error handler #

Total comments: 4

Patch Set 19 : Removed log info #

Patch Set 20 : Removed a redundant line #

Unified diffs Side-by-side diffs Delta from patch set Stats (+165 lines, -162 lines) Patch
M content/shell/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +6 lines, -2 lines 0 comments Download
M content/shell/browser/content_shell_renderer_manifest_overlay.json View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +7 lines, -0 lines 0 comments Download
M content/shell/browser/layout_test/blink_test_controller.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +6 lines, -0 lines 0 comments Download
M content/shell/browser/layout_test/blink_test_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 6 chunks +43 lines, -16 lines 0 comments Download
M content/shell/common/OWNERS View 1 1 chunk +6 lines, -0 lines 0 comments Download
A content/shell/common/layout_test.mojom View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +50 lines, -0 lines 0 comments Download
M content/shell/common/shell_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +0 lines, -28 lines 0 comments Download
D content/shell/common/shell_test_configuration.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -44 lines 0 comments Download
D content/shell/common/shell_test_configuration.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -15 lines 0 comments Download
M content/shell/renderer/layout_test/blink_test_runner.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +4 lines, -4 lines 0 comments Download
M content/shell/renderer/layout_test/blink_test_runner.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 6 chunks +15 lines, -14 lines 0 comments Download
M content/shell/renderer/layout_test/layout_test_render_frame_observer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +12 lines, -16 lines 0 comments Download
M content/shell/renderer/layout_test/layout_test_render_frame_observer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +16 lines, -23 lines 0 comments Download

Messages

Total messages: 155 (118 generated)
Jia
Hi Sam, Johan, Here is my cl, please review when you have time. Thanks! Jia
3 years, 11 months ago (2017-01-18 22:59:37 UTC) #61
tibell
Thanks for migrating this! Just some small comments. https://codereview.chromium.org/2594913002/diff/180001/content/shell/browser/layout_test/blink_test_controller.h File content/shell/browser/layout_test/blink_test_controller.h (right): https://codereview.chromium.org/2594913002/diff/180001/content/shell/browser/layout_test/blink_test_controller.h#newcode219 content/shell/browser/layout_test/blink_test_controller.h:219: const ...
3 years, 11 months ago (2017-01-19 00:29:54 UTC) #62
Sam McNally
https://codereview.chromium.org/2594913002/diff/180001/content/shell/browser/content_shell_renderer_manifest_overlay.json File content/shell/browser/content_shell_renderer_manifest_overlay.json (right): https://codereview.chromium.org/2594913002/diff/180001/content/shell/browser/content_shell_renderer_manifest_overlay.json#newcode17 content/shell/browser/content_shell_renderer_manifest_overlay.json:17: "requires": { I don't think this requires section is ...
3 years, 11 months ago (2017-01-19 05:41:35 UTC) #69
Jia
Thanks Johan, Sam! I've made the changes, PTAL. Thanks, Jia https://codereview.chromium.org/2594913002/diff/180001/content/shell/browser/content_shell_renderer_manifest_overlay.json File content/shell/browser/content_shell_renderer_manifest_overlay.json (right): https://codereview.chromium.org/2594913002/diff/180001/content/shell/browser/content_shell_renderer_manifest_overlay.json#newcode17 ...
3 years, 11 months ago (2017-01-20 01:52:15 UTC) #76
tibell
lgtm https://codereview.chromium.org/2594913002/diff/230001/content/shell/common/layout_test.mojom File content/shell/common/layout_test.mojom (right): https://codereview.chromium.org/2594913002/diff/230001/content/shell/common/layout_test.mojom#newcode11 content/shell/common/layout_test.mojom:11: // Asks a frame to dump its contents ...
3 years, 11 months ago (2017-01-20 01:55:19 UTC) #77
Sam McNally
lgtm https://codereview.chromium.org/2594913002/diff/180001/content/shell/browser/content_shell_renderer_manifest_overlay.json File content/shell/browser/content_shell_renderer_manifest_overlay.json (right): https://codereview.chromium.org/2594913002/diff/180001/content/shell/browser/content_shell_renderer_manifest_overlay.json#newcode17 content/shell/browser/content_shell_renderer_manifest_overlay.json:17: "requires": { On 2017/01/20 01:52:14, Jia wrote: > ...
3 years, 11 months ago (2017-01-20 02:01:27 UTC) #78
Jia
mkwst@chromium.org: Please review changes in https://codereview.chromium.org/2594913002/diff/230001/content/shell/common/layout_test.mojom File content/shell/common/layout_test.mojom (right): https://codereview.chromium.org/2594913002/diff/230001/content/shell/common/layout_test.mojom#newcode11 content/shell/common/layout_test.mojom:11: // Asks a frame ...
3 years, 11 months ago (2017-01-20 02:54:33 UTC) #82
Jia
jam@chromium.org: Please review changes in
3 years, 11 months ago (2017-01-20 02:57:15 UTC) #84
Mike West
LGTM. https://codereview.chromium.org/2594913002/diff/250001/content/shell/browser/layout_test/blink_test_controller.cc File content/shell/browser/layout_test/blink_test_controller.cc (right): https://codereview.chromium.org/2594913002/diff/250001/content/shell/browser/layout_test/blink_test_controller.cc#newcode970 content/shell/browser/layout_test/blink_test_controller.cc:970: return layout_test_control_map_[frame].get(); Nit: Maybe DCHECK that we end ...
3 years, 11 months ago (2017-01-20 12:04:24 UTC) #87
jam
On 2017/01/20 02:57:15, Jia wrote: > mailto:jam@chromium.org: Please review changes in ?
3 years, 11 months ago (2017-01-20 16:00:13 UTC) #88
jam
On 2017/01/20 02:57:15, Jia wrote: > mailto:jam@chromium.org: Please review changes in ?
3 years, 11 months ago (2017-01-20 16:00:14 UTC) #89
Jia
Thanks for all the reviews! Jia https://codereview.chromium.org/2594913002/diff/250001/content/shell/browser/layout_test/blink_test_controller.cc File content/shell/browser/layout_test/blink_test_controller.cc (right): https://codereview.chromium.org/2594913002/diff/250001/content/shell/browser/layout_test/blink_test_controller.cc#newcode970 content/shell/browser/layout_test/blink_test_controller.cc:970: return layout_test_control_map_[frame].get(); On ...
3 years, 11 months ago (2017-01-23 02:37:39 UTC) #94
Jia
On 2017/01/20 16:00:14, jam wrote: > On 2017/01/20 02:57:15, Jia wrote: > > mailto:jam@chromium.org: Please ...
3 years, 11 months ago (2017-01-23 02:54:50 UTC) #95
jam
On 2017/01/23 02:54:50, Jia wrote: > On 2017/01/20 16:00:14, jam wrote: > > On 2017/01/20 ...
3 years, 11 months ago (2017-01-23 16:59:23 UTC) #96
Jia
On 2017/01/23 16:59:23, jam wrote: > On 2017/01/23 02:54:50, Jia wrote: > > On 2017/01/20 ...
3 years, 11 months ago (2017-01-24 09:36:14 UTC) #106
Jia
Hi jam, Would you please review my cl? Thanks! Jia
3 years, 11 months ago (2017-01-25 07:28:05 UTC) #107
jam
On 2017/01/25 07:28:05, Jia wrote: > Hi jam, > > Would you please review my ...
3 years, 11 months ago (2017-01-26 00:08:29 UTC) #108
Sam McNally
https://codereview.chromium.org/2594913002/diff/290001/content/shell/renderer/layout_test/blink_test_runner.h File content/shell/renderer/layout_test/blink_test_runner.h (right): https://codereview.chromium.org/2594913002/diff/290001/content/shell/renderer/layout_test/blink_test_runner.h#newcode176 content/shell/renderer/layout_test/blink_test_runner.h:176: void OnSetTestConfiguration(const mojom::ShellTestConfigurationPtr& params); Pass these by value.
3 years, 11 months ago (2017-01-26 23:24:09 UTC) #109
Jia
Thanks jam, Sam. PTAL. Best regards, Jia https://codereview.chromium.org/2594913002/diff/290001/content/shell/renderer/layout_test/blink_test_runner.h File content/shell/renderer/layout_test/blink_test_runner.h (right): https://codereview.chromium.org/2594913002/diff/290001/content/shell/renderer/layout_test/blink_test_runner.h#newcode176 content/shell/renderer/layout_test/blink_test_runner.h:176: void OnSetTestConfiguration(const ...
3 years, 10 months ago (2017-01-29 23:14:35 UTC) #112
Sam McNally
lgtm https://codereview.chromium.org/2594913002/diff/330001/content/shell/renderer/layout_test/blink_test_runner.cc File content/shell/renderer/layout_test/blink_test_runner.cc (right): https://codereview.chromium.org/2594913002/diff/330001/content/shell/renderer/layout_test/blink_test_runner.cc#newcode975 content/shell/renderer/layout_test/blink_test_runner.cc:975: mojom::ShellTestConfigurationPtr local_params = params.Clone(); You only need to ...
3 years, 10 months ago (2017-01-29 23:22:15 UTC) #113
Jia
Thanks Sam! PTAL. Best regards, Jia https://codereview.chromium.org/2594913002/diff/330001/content/shell/renderer/layout_test/blink_test_runner.cc File content/shell/renderer/layout_test/blink_test_runner.cc (right): https://codereview.chromium.org/2594913002/diff/330001/content/shell/renderer/layout_test/blink_test_runner.cc#newcode975 content/shell/renderer/layout_test/blink_test_runner.cc:975: mojom::ShellTestConfigurationPtr local_params = ...
3 years, 10 months ago (2017-01-29 23:26:39 UTC) #114
Sam McNally
lgtm
3 years, 10 months ago (2017-01-29 23:28:19 UTC) #115
Jia
Thanks everyone. Please let me know if anyone has any other comment. If not, I'll ...
3 years, 10 months ago (2017-01-30 00:47:07 UTC) #116
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2594913002/330001
3 years, 10 months ago (2017-01-30 01:42:06 UTC) #121
commit-bot: I haz the power
Committed patchset #17 (id:330001) as https://chromium.googlesource.com/chromium/src/+/165c6d9ac3870f1c12553eff57ea52b1c67a1fa1
3 years, 10 months ago (2017-01-30 01:46:54 UTC) #124
Łukasz Anforowicz
A revert of this CL (patchset #17 id:330001) has been created in https://codereview.chromium.org/2670573002/ by lukasza@chromium.org. ...
3 years, 10 months ago (2017-02-01 18:26:28 UTC) #125
Jia
It appears test controller did not properly clean up constructs storing mojo pointers, and so ...
3 years, 10 months ago (2017-02-07 00:42:00 UTC) #132
tibell
lgtm https://codereview.chromium.org/2594913002/diff/350001/content/shell/browser/layout_test/blink_test_controller.cc File content/shell/browser/layout_test/blink_test_controller.cc (right): https://codereview.chromium.org/2594913002/diff/350001/content/shell/browser/layout_test/blink_test_controller.cc#newcode981 content/shell/browser/layout_test/blink_test_controller.cc:981: LOG(INFO) << "BlinkTestController::HandleLayoutTestControlError"; Remove
3 years, 10 months ago (2017-02-07 00:50:50 UTC) #133
Jia
Done, thanks! Jia https://codereview.chromium.org/2594913002/diff/350001/content/shell/browser/layout_test/blink_test_controller.cc File content/shell/browser/layout_test/blink_test_controller.cc (right): https://codereview.chromium.org/2594913002/diff/350001/content/shell/browser/layout_test/blink_test_controller.cc#newcode981 content/shell/browser/layout_test/blink_test_controller.cc:981: LOG(INFO) << "BlinkTestController::HandleLayoutTestControlError"; On 2017/02/07 00:50:50, ...
3 years, 10 months ago (2017-02-07 00:56:52 UTC) #134
Sam McNally
lgtm
3 years, 10 months ago (2017-02-07 01:45:11 UTC) #137
Jia
Hi Lukasz, I've put in a patch to resolve the site isolation issue. Please review. ...
3 years, 10 months ago (2017-02-07 01:48:55 UTC) #139
Łukasz Anforowicz
LGTM (with a small nit below). Thank you for fixing the OOPIF support. Also - ...
3 years, 10 months ago (2017-02-07 17:36:31 UTC) #142
Jia
On 2017/02/07 17:36:31, Łukasz Anforowicz wrote: > LGTM (with a small nit below). Thank you ...
3 years, 10 months ago (2017-02-07 22:09:31 UTC) #144
Jia
https://codereview.chromium.org/2594913002/diff/350001/content/shell/browser/layout_test/blink_test_controller.cc File content/shell/browser/layout_test/blink_test_controller.cc (right): https://codereview.chromium.org/2594913002/diff/350001/content/shell/browser/layout_test/blink_test_controller.cc#newcode612 content/shell/browser/layout_test/blink_test_controller.cc:612: params->enable_pixel_dumping = true; On 2017/02/07 17:36:31, Łukasz Anforowicz wrote: ...
3 years, 10 months ago (2017-02-07 22:10:17 UTC) #146
Łukasz Anforowicz
On 2017/02/07 22:10:17, Jia wrote: > https://codereview.chromium.org/2594913002/diff/350001/content/shell/browser/layout_test/blink_test_controller.cc > File content/shell/browser/layout_test/blink_test_controller.cc (right): > > https://codereview.chromium.org/2594913002/diff/350001/content/shell/browser/layout_test/blink_test_controller.cc#newcode612 > ...
3 years, 10 months ago (2017-02-07 22:16:23 UTC) #147
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2594913002/390001
3 years, 10 months ago (2017-02-08 01:42:20 UTC) #152
commit-bot: I haz the power
3 years, 10 months ago (2017-02-08 01:49:02 UTC) #155
Message was sent while issue was closed.
Committed patchset #20 (id:390001) as
https://chromium.googlesource.com/chromium/src/+/d518643748bffd4d67c504a51814...

Powered by Google App Engine
This is Rietveld 408576698