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

Issue 2854783003: Remove the last references from production code to WebViewImpl. (Closed)

Created:
3 years, 7 months ago by slangley
Modified:
3 years, 7 months ago
Reviewers:
haraken
CC:
apavlov+blink_chromium.org, blink-reviews, caseq+blink_chromium.org, chromium-reviews, dcheng, devtools-reviews_chromium.org, kinuko+watch, kozyatinskiy+blink_chromium.org, lushnikov+blink_chromium.org, mlamouri+watch-blink_chromium.org, pfeldman+blink_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove the last references from production code to WebViewImpl. This CL is a continuation of removing dependencies in the code on WebViewImpl, by introducing the pure virtual class WebViewBase and moving methods from WebViewImpl to virtual methods in WebViewBase and overriding them in WebViewImpl. It also removes a few of the cast to WebViewImpl, and replaces them with a direct static cast to WebViewBase. BUG=712963 Review-Url: https://codereview.chromium.org/2854783003 Cr-Commit-Position: refs/heads/master@{#468580} Committed: https://chromium.googlesource.com/chromium/src/+/ceb538b1bb7f9067f80535bd00f49b81344b8823

Patch Set 1 #

Total comments: 1

Patch Set 2 : Move header to implementation file. #

Patch Set 3 : Remove TODO(). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -28 lines) Patch
M third_party/WebKit/Source/core/exported/WebViewBase.h View 2 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/ChromeClientImpl.cpp View 1 chunk +6 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/web/ValidationMessageClientImpl.h View 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/web/ValidationMessageClientImpl.cpp View 1 chunk +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebFrameWidgetBase.cpp View 2 chunks +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebFrameWidgetImpl.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp View 1 2 6 chunks +10 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.cpp View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (5 generated)
slangley
https://codereview.chromium.org/2854783003/diff/1/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp File third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp (right): https://codereview.chromium.org/2854783003/diff/1/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp#newcode96 third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp:96: return new WebViewFrameWidget(*client, static_cast<WebViewBase&>(*web_view), The only concrete type inherits ...
3 years, 7 months ago (2017-05-02 06:25:34 UTC) #3
haraken
LGTM
3 years, 7 months ago (2017-05-02 06:27:07 UTC) #4
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/2854783003/40001
3 years, 7 months ago (2017-05-02 06:28:35 UTC) #6
commit-bot: I haz the power
3 years, 7 months ago (2017-05-02 07:55:40 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/ceb538b1bb7f9067f80535bd00f4...

Powered by Google App Engine
This is Rietveld 408576698