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

Issue 2852013002: Break dependency between ChromeClient and WebViewImpl, and ChromeClientImpl. (Closed)

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

Description

Break dependency between ChromeClient and WebViewImpl, and ChromeClientImpl. ChromeClientImpl implements core/page/ChromeClient (not public), and only one method in ChromeClientImpl was missing from ChromeClient. This CL makes the missing method pure virtual in ChromeClient and overrides it in ChromeClientImpl and then changes WebViewImpl to return a ChromeClient reference rather than a ChromeClientImpl reference. Next we can remove direct references of ChromeClientImpl in other web/* classes. BUG=712963 Review-Url: https://codereview.chromium.org/2852013002 Cr-Commit-Position: refs/heads/master@{#468527} Committed: https://chromium.googlesource.com/chromium/src/+/57278545b2bb8e4d6b5ca3d241852bc346933d4e

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -2 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/core/loader/EmptyClients.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/page/ChromeClient.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/web/ChromeClientImpl.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.h View 1 chunk +3 lines, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 9 (5 generated)
slangley
3 years, 7 months ago (2017-05-01 04:00:40 UTC) #3
haraken
LGTM
3 years, 7 months ago (2017-05-01 07:27:43 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/2852013002/1
3 years, 7 months ago (2017-05-01 21:50:26 UTC) #6
commit-bot: I haz the power
3 years, 7 months ago (2017-05-02 01:34:24 UTC) #9
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/57278545b2bb8e4d6b5ca3d24185...

Powered by Google App Engine
This is Rietveld 408576698