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

Issue 2174663005: Add WebWidgetTestProxy. (Closed)

Created:
4 years, 5 months ago by lfg
Modified:
4 years, 4 months ago
CC:
blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, darin-cc_chromium.org, dcheng, dglazkov+blink, jam, jochen+watch_chromium.org, kinuko+watch, mlamouri+watch-blink_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@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add WebWidgetTestProxy. This patch adds a WebWidgetTestProxy interface that is instantiated when running LayoutTests and wraps RenderWidget in order to execute test-specific code. BUG=583347 Committed: https://crrev.com/1a99de092f8ad1974bb62af1a3f6f4f842e6db76 Cr-Commit-Position: refs/heads/master@{#409539}

Patch Set 1 #

Total comments: 18

Patch Set 2 : rebase #

Patch Set 3 : addressing comments #

Total comments: 2

Patch Set 4 : addressing comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+267 lines, -49 lines) Patch
M components/test_runner/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
M components/test_runner/test_runner.gyp View 1 1 chunk +2 lines, -0 lines 0 comments Download
M components/test_runner/web_test_interfaces.h View 2 chunks +3 lines, -2 lines 0 comments Download
M components/test_runner/web_test_interfaces.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M components/test_runner/web_view_test_proxy.h View 1 2 7 chunks +5 lines, -22 lines 0 comments Download
M components/test_runner/web_view_test_proxy.cc View 2 chunks +1 line, -1 line 0 comments Download
M components/test_runner/web_widget_test_client.h View 3 chunks +8 lines, -1 line 0 comments Download
M components/test_runner/web_widget_test_client.cc View 6 chunks +11 lines, -10 lines 0 comments Download
A components/test_runner/web_widget_test_proxy.h View 1 2 1 chunk +114 lines, -0 lines 0 comments Download
A + components/test_runner/web_widget_test_proxy.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M content/public/test/layouttest_support.h View 1 2 3 chunks +11 lines, -2 lines 0 comments Download
M content/renderer/render_widget.h View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M content/renderer/render_widget.cc View 1 3 chunks +15 lines, -2 lines 0 comments Download
M content/shell/renderer/layout_test/layout_test_content_renderer_client.cc View 1 2 3 chunks +26 lines, -3 lines 0 comments Download
M content/test/layouttest_support.cc View 1 6 chunks +32 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebFrameWidgetImpl.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewFrameWidget.h View 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebViewFrameWidget.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/public/web/WebFrameWidget.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/public/web/WebWidget.h View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (16 generated)
lfg
Daniel, can you take a look? In particular, the blink public API changes.
4 years, 5 months ago (2016-07-22 22:02:53 UTC) #5
esprehn
Can we just merge the test_runner component back into content/renderer? This template hackery is makes ...
4 years, 5 months ago (2016-07-23 08:24:51 UTC) #10
jochen (gone - plz use gerrit)
On 2016/07/23 at 08:24:51, esprehn wrote: > Can we just merge the test_runner component back ...
4 years, 5 months ago (2016-07-23 13:14:59 UTC) #11
esprehn
On 2016/07/23 at 13:14:59, jochen wrote: > On 2016/07/23 at 08:24:51, esprehn wrote: > > ...
4 years, 5 months ago (2016-07-23 16:07:42 UTC) #12
jochen (gone - plz use gerrit)
On 2016/07/23 at 16:07:42, esprehn wrote: > On 2016/07/23 at 13:14:59, jochen wrote: > > ...
4 years, 5 months ago (2016-07-23 18:18:11 UTC) #13
lfg
On 2016/07/23 18:18:11, jochen wrote: > On 2016/07/23 at 16:07:42, esprehn wrote: > > On ...
4 years, 5 months ago (2016-07-24 14:24:51 UTC) #14
jochen (gone - plz use gerrit)
lgtm, but please wait for the other reviewers to chime in
4 years, 5 months ago (2016-07-25 16:20:54 UTC) #15
dcheng
Is the new function in the public API only for a CHECK() in test runner? ...
4 years, 5 months ago (2016-07-25 16:25:14 UTC) #16
lfg
On 2016/07/25 16:25:14, dcheng wrote: > Is the new function in the public API only ...
4 years, 5 months ago (2016-07-25 16:49:25 UTC) #17
lfg
+lukasza, can you do a review on this change?
4 years, 4 months ago (2016-08-02 19:40:35 UTC) #19
esprehn
lgtm, I'd really like to see us simplify this stuff though. This doesn't seem like ...
4 years, 4 months ago (2016-08-02 19:59:24 UTC) #20
Łukasz Anforowicz
https://codereview.chromium.org/2174663005/diff/1/components/test_runner/web_view_test_proxy.h File components/test_runner/web_view_test_proxy.h (right): https://codereview.chromium.org/2174663005/diff/1/components/test_runner/web_view_test_proxy.h#newcode6 components/test_runner/web_view_test_proxy.h:6: #define COMPONENTS_TEST_RUNNER_WEB_TEST_VIEW_PROXY_H_ Ooops - must have missed this in ...
4 years, 4 months ago (2016-08-02 20:38:13 UTC) #21
lfg
Thanks for the comments, please take another look. https://codereview.chromium.org/2174663005/diff/1/components/test_runner/web_view_test_proxy.h File components/test_runner/web_view_test_proxy.h (right): https://codereview.chromium.org/2174663005/diff/1/components/test_runner/web_view_test_proxy.h#newcode6 components/test_runner/web_view_test_proxy.h:6: #define ...
4 years, 4 months ago (2016-08-02 22:27:21 UTC) #22
Łukasz Anforowicz
Thanks - lgtm. https://codereview.chromium.org/2174663005/diff/1/third_party/WebKit/public/web/WebWidget.h File third_party/WebKit/public/web/WebWidget.h (right): https://codereview.chromium.org/2174663005/diff/1/third_party/WebKit/public/web/WebWidget.h#newcode213 third_party/WebKit/public/web/WebWidget.h:213: virtual bool isWebFrameWidget() const { return ...
4 years, 4 months ago (2016-08-02 22:35:23 UTC) #23
esprehn
lgtm https://codereview.chromium.org/2174663005/diff/40001/third_party/WebKit/public/web/WebFrameWidget.h File third_party/WebKit/public/web/WebFrameWidget.h (right): https://codereview.chromium.org/2174663005/diff/40001/third_party/WebKit/public/web/WebFrameWidget.h#newcode77 third_party/WebKit/public/web/WebFrameWidget.h:77: bool isWebFrameWidget() const override { return true; } ...
4 years, 4 months ago (2016-08-02 22:49:55 UTC) #24
lfg
https://codereview.chromium.org/2174663005/diff/40001/third_party/WebKit/public/web/WebFrameWidget.h File third_party/WebKit/public/web/WebFrameWidget.h (right): https://codereview.chromium.org/2174663005/diff/40001/third_party/WebKit/public/web/WebFrameWidget.h#newcode77 third_party/WebKit/public/web/WebFrameWidget.h:77: bool isWebFrameWidget() const override { return true; } On ...
4 years, 4 months ago (2016-08-03 16:44:00 UTC) #29
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/2174663005/60001
4 years, 4 months ago (2016-08-03 16:44:37 UTC) #32
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-03 16:50:50 UTC) #33
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/1a99de092f8ad1974bb62af1a3f6f4f842e6db76 Cr-Commit-Position: refs/heads/master@{#409539}
4 years, 4 months ago (2016-08-03 16:54:17 UTC) #35
lfg
4 years, 4 months ago (2016-08-04 00:13:01 UTC) #36
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.chromium.org/2213653002/ by lfg@chromium.org.

The reason for reverting is: Causing layouttests to fail on the site isolation
bot..

Powered by Google App Engine
This is Rietveld 408576698