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

Issue 2923053002: Move MainWorldScriptContext accessor/method from WebFrame to WebLocalFrame. (Closed)

Created:
3 years, 6 months ago by Łukasz Anforowicz
Modified:
3 years, 6 months ago
CC:
chromium-reviews, dcheng, dougt+watch_chromium.org, dmazzoni+watch_chromium.org, kinuko+watch, extensions-reviews_chromium.org, aboxhall+watch_chromium.org, jam, dglazkov+blink, je_julie, darin-cc_chromium.org, blink-reviews, chromium-apps-reviews_chromium.org, blink-reviews-api_chromium.org, mlamouri+watch-content_chromium.org, Peter Beverloo, yuzo+watch_chromium.org, piman+watch_chromium.org, jochen+watch_chromium.org, mlamouri+watch-blink_chromium.org, nektar+watch_chromium.org, dtseng+watch_chromium.org, platform-architecture-syd+reviews-web_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Move MainWorldScriptContext accessor/method from WebFrame to WebLocalFrame. BUG=416660 Review-Url: https://codereview.chromium.org/2923053002 Cr-Commit-Position: refs/heads/master@{#478436} Committed: https://chromium.googlesource.com/chromium/src/+/df18ba76b072e6d64772f722d3bbe966f293bdda

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Total comments: 7

Patch Set 4 : Rebasing... #

Patch Set 5 : Addressed CR feedback from dcheng@ #

Patch Set 6 : Rebasing... #

Total comments: 4

Patch Set 7 : Removed a no-longer-applicable comment. #

Patch Set 8 : Rebasing... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -146 lines) Patch
M components/guest_view/renderer/guest_view_request.cc View 1 2 3 4 1 chunk +1 line, -8 lines 0 comments Download
M content/renderer/dom_automation_controller.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/dom_automation_controller.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/gin_browsertest.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M content/renderer/gpu/gpu_benchmarking_extension.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/gpu/gpu_benchmarking_extension.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/java/gin_java_bridge_object.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/java/gin_java_bridge_object.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/skia_benchmarking_extension.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/skia_benchmarking_extension.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/stats_collection_controller.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/stats_collection_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/web_ui_extension.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/web_ui_extension.cc View 4 chunks +6 lines, -7 lines 0 comments Download
M content/shell/test_runner/accessibility_controller.cc View 1 3 chunks +4 lines, -3 lines 0 comments Download
M content/shell/test_runner/gamepad_controller.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/shell/test_runner/gamepad_controller.cc View 4 chunks +4 lines, -5 lines 0 comments Download
M content/shell/test_runner/gc_controller.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/shell/test_runner/gc_controller.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/shell/test_runner/spell_check_client.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M content/shell/test_runner/test_interfaces.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/shell/test_runner/test_interfaces.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/shell/test_runner/test_runner_for_specific_view.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M content/shell/test_runner/test_runner_for_specific_view.cc View 1 7 chunks +17 lines, -23 lines 0 comments Download
M content/shell/test_runner/web_ax_object_proxy.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/shell/test_runner/web_ax_object_proxy.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/renderer/extension_helper.cc View 1 2 3 4 2 chunks +10 lines, -2 lines 0 comments Download
M extensions/renderer/guest_view/guest_view_internal_custom_bindings.cc View 1 2 3 4 1 chunk +1 line, -8 lines 0 comments Download
M extensions/renderer/guest_view/mime_handler_view/mime_handler_view_container.cc View 1 2 3 4 5 6 3 chunks +3 lines, -10 lines 0 comments Download
M extensions/renderer/runtime_custom_bindings.cc View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/exported/WebRemoteFrameImpl.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/exported/WebRemoteFrameImpl.cpp View 1 2 3 4 5 6 7 1 chunk +0 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.cpp View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebFrameTest.cpp View 1 2 3 4 5 6 7 13 chunks +19 lines, -17 lines 0 comments Download
M third_party/WebKit/public/web/WebFrame.h View 1 2 3 4 5 6 7 3 chunks +4 lines, -15 lines 0 comments Download
M third_party/WebKit/public/web/WebLocalFrame.h View 1 2 3 4 5 6 7 2 chunks +8 lines, -0 lines 0 comments Download
M third_party/WebKit/public/web/WebRemoteFrame.h View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 56 (41 generated)
Łukasz Anforowicz
dcheng@, can you PTAL?
3 years, 6 months ago (2017-06-06 18:29:17 UTC) #10
dcheng
https://codereview.chromium.org/2923053002/diff/40001/extensions/renderer/extension_helper.cc File extensions/renderer/extension_helper.cc (right): https://codereview.chromium.org/2923053002/diff/40001/extensions/renderer/extension_helper.cc#newcode71 extensions/renderer/extension_helper.cc:71: if (!render_view()->GetWebView()->MainFrame()->IsWebLocalFrame()) { Is this actually something we need ...
3 years, 6 months ago (2017-06-06 19:57:17 UTC) #11
Łukasz Anforowicz
https://codereview.chromium.org/2923053002/diff/40001/extensions/renderer/extension_helper.cc File extensions/renderer/extension_helper.cc (right): https://codereview.chromium.org/2923053002/diff/40001/extensions/renderer/extension_helper.cc#newcode71 extensions/renderer/extension_helper.cc:71: if (!render_view()->GetWebView()->MainFrame()->IsWebLocalFrame()) { On 2017/06/06 19:57:17, dcheng wrote: > ...
3 years, 6 months ago (2017-06-07 20:35:08 UTC) #13
dcheng
lgtm
3 years, 6 months ago (2017-06-08 19:46:20 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/2923053002/100001
3 years, 6 months ago (2017-06-08 20:00:03 UTC) #32
Łukasz Anforowicz
avi@, can you PTAL?
3 years, 6 months ago (2017-06-08 20:00:30 UTC) #34
Avi (use Gerrit)
lgtm https://codereview.chromium.org/2923053002/diff/100001/content/shell/test_runner/test_runner_for_specific_view.cc File content/shell/test_runner/test_runner_for_specific_view.cc (right): https://codereview.chromium.org/2923053002/diff/100001/content/shell/test_runner/test_runner_for_specific_view.cc#newcode684 content/shell/test_runner/test_runner_for_specific_view.cc:684: } 👍
3 years, 6 months ago (2017-06-09 18:37:25 UTC) #35
Łukasz Anforowicz
+rdevlin.cronin@ for //extensions +lfg@ for //components/guest_view (and possibly extensions/renderer/guest_view) PTAL?
3 years, 6 months ago (2017-06-09 18:46:22 UTC) #37
lfg
lgtm with nit. https://codereview.chromium.org/2923053002/diff/100001/extensions/renderer/guest_view/mime_handler_view/mime_handler_view_container.cc File extensions/renderer/guest_view/mime_handler_view/mime_handler_view_container.cc (right): https://codereview.chromium.org/2923053002/diff/100001/extensions/renderer/guest_view/mime_handler_view/mime_handler_view_container.cc#newcode239 extensions/renderer/guest_view/mime_handler_view/mime_handler_view_container.cc:239: // TODO(lazyboy,nasko): The WebLocalFrame branch is ...
3 years, 6 months ago (2017-06-09 18:53:14 UTC) #38
Łukasz Anforowicz
https://codereview.chromium.org/2923053002/diff/100001/extensions/renderer/guest_view/mime_handler_view/mime_handler_view_container.cc File extensions/renderer/guest_view/mime_handler_view/mime_handler_view_container.cc (right): https://codereview.chromium.org/2923053002/diff/100001/extensions/renderer/guest_view/mime_handler_view/mime_handler_view_container.cc#newcode239 extensions/renderer/guest_view/mime_handler_view/mime_handler_view_container.cc:239: // TODO(lazyboy,nasko): The WebLocalFrame branch is not used when ...
3 years, 6 months ago (2017-06-09 18:56:26 UTC) #40
Devlin
Most of //extensions lgtm, but +lazyboy@ knows the guest view stuff better than I do, ...
3 years, 6 months ago (2017-06-09 18:56:40 UTC) #42
lazyboy
lgtm
3 years, 6 months ago (2017-06-09 20:23:16 UTC) #48
Łukasz Anforowicz
Thanks for the reviews!
3 years, 6 months ago (2017-06-09 20:30:22 UTC) #49
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/2923053002/140001
3 years, 6 months ago (2017-06-09 20:31:07 UTC) #53
commit-bot: I haz the power
3 years, 6 months ago (2017-06-09 22:24:48 UTC) #56
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/df18ba76b072e6d64772f722d3bb...

Powered by Google App Engine
This is Rietveld 408576698