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

Issue 2870773003: Move EditorClientImpl.cpp out of web/ to core/page/EditorClient.cpp (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

Move EditorClientImpl.cpp out of web/ to core/page/EditorClient.cpp EditClientImpl.cpp had a dependency on WebLocalFrameImpl, were were able to break this using WebLocalFrameBase. As there were no other dependencies on web/ we were then able to move the code to core/page and remove the EditClientImpl class altogether. BUG=712963

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -159 lines) Patch
M third_party/WebKit/Source/core/loader/EmptyClients.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/page/EditorClient.h View 1 chunk +13 lines, -7 lines 0 comments Download
A + third_party/WebKit/Source/core/page/EditorClient.cpp View 1 chunk +12 lines, -12 lines 2 comments Download
M third_party/WebKit/Source/web/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
D third_party/WebKit/Source/web/EditorClientImpl.h View 1 chunk +0 lines, -59 lines 0 comments Download
D third_party/WebKit/Source/web/EditorClientImpl.cpp View 1 chunk +0 lines, -73 lines 0 comments Download
M third_party/WebKit/Source/web/WebTextCheckingCompletionImpl.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.h View 3 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.cpp View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
slangley
3 years, 7 months ago (2017-05-08 23:34:01 UTC) #3
haraken
LGTM https://codereview.chromium.org/2870773003/diff/1/third_party/WebKit/Source/core/page/EditorClient.cpp File third_party/WebKit/Source/core/page/EditorClient.cpp (right): https://codereview.chromium.org/2870773003/diff/1/third_party/WebKit/Source/core/page/EditorClient.cpp#newcode51 third_party/WebKit/Source/core/page/EditorClient.cpp:51: web_view_->Client()->DidChangeContents(); Not directly related to this CL, it ...
3 years, 7 months ago (2017-05-08 23:51:38 UTC) #4
slangley
Thanks! https://codereview.chromium.org/2870773003/diff/1/third_party/WebKit/Source/core/page/EditorClient.cpp File third_party/WebKit/Source/core/page/EditorClient.cpp (right): https://codereview.chromium.org/2870773003/diff/1/third_party/WebKit/Source/core/page/EditorClient.cpp#newcode51 third_party/WebKit/Source/core/page/EditorClient.cpp:51: web_view_->Client()->DidChangeContents(); On 2017/05/08 at 23:51:38, haraken wrote: > ...
3 years, 7 months ago (2017-05-09 00:23:18 UTC) #5
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/2870773003/1
3 years, 7 months ago (2017-05-09 00:29:24 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/406275)
3 years, 7 months ago (2017-05-09 01:59:04 UTC) #9
slangley
3 years, 7 months ago (2017-05-09 04:22:06 UTC) #10
On 2017/05/09 at 01:59:04, commit-bot wrote:
> Try jobs failed on following builders:
>   win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED,
http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_comp...)

We cannot move EditorClientImpl as it has a dependency on
blink::WebFrameClient::FrameDetached() which is still in web/. Reverting this
patch.

Powered by Google App Engine
This is Rietveld 408576698