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

Issue 2896563002: Update WebLocalFrameImpl with WebLocalFrameBase to break dependencies. (Closed)

Created:
3 years, 7 months ago by slangley
Modified:
3 years, 7 months ago
Reviewers:
tkent, haraken, joelhockey
CC:
blink-reviews, blink-reviews-frames_chromium.org, chromium-reviews, kinuko+watch
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

This CL moves many more classes over to use WebLocalFrameBase from WebLocalFrameImpl. The majority of these changes are a result of changing WebViewImpl::MainFrameImpl() to return WebLocalFrameBase*, and then fixing all of the errors that resulted. There are no logic changes with this change, only moving the code to use the abstract class rather than the concrete Impl. Some methods were only defined in WebLocalFrameImpl. In this case they were made pure virtual in WebLocalFrameBase and overriden in WebLocalFrameImpl. BUG=708879 Review-Url: https://codereview.chromium.org/2896563002 Cr-Commit-Position: refs/heads/master@{#474262} Committed: https://chromium.googlesource.com/chromium/src/+/f7ba3ebc82c44224baf56adda18795a0578a47c9

Patch Set 1 #

Patch Set 2 : Move more files over to WebLocalFrameBase. #

Patch Set 3 : Remove commented out method. #

Patch Set 4 : Rebase #

Patch Set 5 : Fix test compiler errors. #

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+198 lines, -195 lines) Patch
M third_party/WebKit/Source/core/exported/WebViewBase.h View 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/frame/WebLocalFrameBase.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/DevToolsEmulator.cpp View 1 2 chunks +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/ExternalPopupMenuTest.cpp View 1 3 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/FullscreenController.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/InspectorOverlayAgent.h View 1 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/InspectorOverlayAgent.cpp View 1 2 3 3 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/PageOverlay.h View 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/web/PageOverlay.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewFrameWidget.h View 4 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewFrameWidget.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.h View 1 2 5 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.cpp View 1 2 3 15 chunks +17 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/web/tests/BrowserControlsTest.cpp View 2 chunks +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/tests/DocumentLoaderTest.cpp View 3 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/tests/FrameTestHelpers.h View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp View 6 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/web/tests/LinkSelectionTest.cpp View 3 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/tests/RootScrollerTest.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/tests/TextFinderTest.cpp View 3 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/tests/VisualViewportTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/tests/WebFrameSerializerSanitizationTest.cpp View 3 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebFrameSerializerTest.cpp View 3 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebFrameTest.cpp View 1 2 3 4 58 chunks +75 lines, -74 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebViewTest.cpp View 1 4 5 43 chunks +45 lines, -45 lines 0 comments Download
M third_party/WebKit/Source/web/tests/sim/SimTest.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/tests/sim/SimTest.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 29 (16 generated)
slangley
3 years, 7 months ago (2017-05-22 00:00:18 UTC) #4
joelhockey
lgtm fyi: I've started using gerrit for all code reviews. You can set this up ...
3 years, 7 months ago (2017-05-22 01:23:18 UTC) #5
slangley
tkent@ - ptal
3 years, 7 months ago (2017-05-22 02:58:43 UTC) #7
tkent
lgtm
3 years, 7 months ago (2017-05-22 03:07:20 UTC) #8
haraken
LGTM
3 years, 7 months ago (2017-05-22 04:40:27 UTC) #9
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/2896563002/40001
3 years, 7 months ago (2017-05-24 06:29:22 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/276307) android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, ...
3 years, 7 months ago (2017-05-24 06:32:56 UTC) #13
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/2896563002/60001
3 years, 7 months ago (2017-05-24 06:44:41 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_ng/builds/303463) linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
3 years, 7 months ago (2017-05-24 07:03:00 UTC) #18
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/2896563002/80001
3 years, 7 months ago (2017-05-24 07:21:45 UTC) #21
commit-bot: I haz the power
Failed to apply patch for third_party/WebKit/Source/web/tests/WebViewTest.cpp: While running git apply --index -3 -p1; error: patch ...
3 years, 7 months ago (2017-05-24 10:04:29 UTC) #23
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/2896563002/100001
3 years, 7 months ago (2017-05-24 11:09:15 UTC) #26
commit-bot: I haz the power
3 years, 7 months ago (2017-05-24 12:40:16 UTC) #29
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/f7ba3ebc82c44224baf56adda187...

Powered by Google App Engine
This is Rietveld 408576698