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

Issue 1924043002: Switch the inheritance of WebViewClient from WebWidgetClient to protected. (Closed)

Created:
4 years, 7 months ago by lfg
Modified:
4 years, 7 months ago
Reviewers:
ncarter (slow), dcheng
CC:
blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, dglazkov+blink, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Switch the inheritance of WebViewClient from WebWidgetClient to protected. For now, all the methods used directly from WebViewClient are explicitly exposed in WebViewClient. This is part of a long-term refactor to split WebView and WebWidget. BUG=419087 Committed: https://crrev.com/2230bce6f2824a2dfae6506c8a9913ba71550bb1 Cr-Commit-Position: refs/heads/master@{#390429}

Patch Set 1 #

Total comments: 6

Patch Set 2 : rebase #

Patch Set 3 : addressing comments #

Patch Set 4 : rebase, fix new test #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+458 lines, -282 lines) Patch
M content/renderer/render_view_impl.h View 1 1 chunk +32 lines, -1 line 0 comments Download
M content/renderer/render_view_impl.cc View 1 1 chunk +103 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/ChromeClientImpl.cpp View 1 2 2 chunks +2 lines, -6 lines 2 comments Download
M third_party/WebKit/Source/web/PageOverlayTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebFrameWidgetImpl.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebViewFrameWidget.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/web/tests/CompositorWorkerTest.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/tests/FrameSerializerTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/tests/FrameTestHelpers.h View 1 2 3 chunks +9 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/tests/FrameTestHelpers.cpp View 1 2 3 chunks +8 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/web/tests/LinkSelectionTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/tests/RootScrollerTest.cpp View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/tests/TopControlsTest.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/tests/ViewportTest.cpp View 155 chunks +160 lines, -160 lines 0 comments Download
M third_party/WebKit/Source/web/tests/VisualViewportTest.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebFrameTest.cpp View 1 2 93 chunks +94 lines, -94 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebViewTest.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/public/web/WebFrameWidget.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/public/web/WebViewClient.h View 1 2 2 chunks +36 lines, -1 line 0 comments Download

Messages

Total messages: 17 (7 generated)
lfg
Daniel, please take a look.
4 years, 7 months ago (2016-04-27 21:27:23 UTC) #3
dcheng
https://codereview.chromium.org/1924043002/diff/1/third_party/WebKit/Source/web/ChromeClientImpl.cpp File third_party/WebKit/Source/web/ChromeClientImpl.cpp (right): https://codereview.chromium.org/1924043002/diff/1/third_party/WebKit/Source/web/ChromeClientImpl.cpp#newcode570 third_party/WebKit/Source/web/ChromeClientImpl.cpp:570: if (WebLocalFrameImpl::fromFrame(frame) && WebLocalFrameImpl::fromFrame(frame)->frameWidget() && WebLocalFrameImpl::fromFrame(frame)->frameWidget()->forSubframe()) { I previously ...
4 years, 7 months ago (2016-04-27 23:55:04 UTC) #4
lfg
https://codereview.chromium.org/1924043002/diff/1/third_party/WebKit/Source/web/ChromeClientImpl.cpp File third_party/WebKit/Source/web/ChromeClientImpl.cpp (right): https://codereview.chromium.org/1924043002/diff/1/third_party/WebKit/Source/web/ChromeClientImpl.cpp#newcode570 third_party/WebKit/Source/web/ChromeClientImpl.cpp:570: if (WebLocalFrameImpl::fromFrame(frame) && WebLocalFrameImpl::fromFrame(frame)->frameWidget() && WebLocalFrameImpl::fromFrame(frame)->frameWidget()->forSubframe()) { On 2016/04/27 ...
4 years, 7 months ago (2016-04-28 17:04:33 UTC) #6
dcheng
lgtm https://codereview.chromium.org/1924043002/diff/80001/third_party/WebKit/Source/web/ChromeClientImpl.cpp File third_party/WebKit/Source/web/ChromeClientImpl.cpp (right): https://codereview.chromium.org/1924043002/diff/80001/third_party/WebKit/Source/web/ChromeClientImpl.cpp#newcode571 third_party/WebKit/Source/web/ChromeClientImpl.cpp:571: if (client) { Out of curiosity, does anyone ...
4 years, 7 months ago (2016-04-28 17:30:21 UTC) #7
lfg
https://codereview.chromium.org/1924043002/diff/80001/third_party/WebKit/Source/web/ChromeClientImpl.cpp File third_party/WebKit/Source/web/ChromeClientImpl.cpp (right): https://codereview.chromium.org/1924043002/diff/80001/third_party/WebKit/Source/web/ChromeClientImpl.cpp#newcode571 third_party/WebKit/Source/web/ChromeClientImpl.cpp:571: if (client) { On 2016/04/28 17:30:21, dcheng wrote: > ...
4 years, 7 months ago (2016-04-28 17:43:57 UTC) #8
lfg
nick@chromium.org: Please review changes in content/
4 years, 7 months ago (2016-04-28 17:44:15 UTC) #10
ncarter (slow)
lgtm
4 years, 7 months ago (2016-04-28 18:02:22 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1924043002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1924043002/80001
4 years, 7 months ago (2016-04-28 18:31:00 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 7 months ago (2016-04-28 18:37:15 UTC) #15
commit-bot: I haz the power
4 years, 7 months ago (2016-04-30 17:19:47 UTC) #16
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/2230bce6f2824a2dfae6506c8a9913ba71550bb1
Cr-Commit-Position: refs/heads/master@{#390429}

Powered by Google App Engine
This is Rietveld 408576698