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

Issue 2230993002: Refactor composited selection code out of WebViewImpl. (Closed)

Created:
4 years, 4 months ago by wjmaclean
Modified:
4 years, 4 months ago
Reviewers:
bokan
CC:
chromium-reviews, blink-reviews, kinuko+watch
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor composited selection code out of WebViewImpl. This CL moves the code for setting and clearing composited selections out of WebViewImpl, thus making it frame-based. This refactor is also needed for touch selection editing for the site-isolation iframe work. BUG=583347, 470662 Committed: https://crrev.com/fad8f6972241f294d6b31a33ded6ce1aa5c2f72b Cr-Commit-Position: refs/heads/master@{#411340}

Patch Set 1 #

Patch Set 2 : Handle null layerTreeView. #

Patch Set 3 : Fix test: clear the mainFrame when no focused frame. #

Patch Set 4 : Fix PDF print dialog tests. #

Total comments: 6

Patch Set 5 : Address bokan@'s comments. #

Total comments: 1

Patch Set 6 : Use single localFrame clearing. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -28 lines) Patch
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 2 3 4 5 1 chunk +16 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/page/ChromeClient.h View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/ChromeClientImpl.h View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/ChromeClientImpl.cpp View 1 2 3 4 1 chunk +18 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.h View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.cpp View 1 2 3 4 1 chunk +0 lines, -12 lines 0 comments Download

Messages

Total messages: 26 (18 generated)
bokan
Change looks fine, just some style nits https://codereview.chromium.org/2230993002/diff/60001/third_party/WebKit/Source/core/frame/FrameView.cpp File third_party/WebKit/Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/2230993002/diff/60001/third_party/WebKit/Source/core/frame/FrameView.cpp#newcode1721 third_party/WebKit/Source/core/frame/FrameView.cpp:1721: if (!localFrame ...
4 years, 4 months ago (2016-08-11 14:14:07 UTC) #15
wjmaclean
https://codereview.chromium.org/2230993002/diff/60001/third_party/WebKit/Source/core/frame/FrameView.cpp File third_party/WebKit/Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/2230993002/diff/60001/third_party/WebKit/Source/core/frame/FrameView.cpp#newcode1721 third_party/WebKit/Source/core/frame/FrameView.cpp:1721: if (!localFrame || !computeCompositedSelection(*localFrame, selection)) { On 2016/08/11 14:14:06, ...
4 years, 4 months ago (2016-08-11 14:35:07 UTC) #16
wjmaclean
On 2016/08/11 14:35:07, wjmaclean wrote: > https://codereview.chromium.org/2230993002/diff/60001/third_party/WebKit/Source/core/frame/FrameView.cpp > File third_party/WebKit/Source/core/frame/FrameView.cpp (right): > > https://codereview.chromium.org/2230993002/diff/60001/third_party/WebKit/Source/core/frame/FrameView.cpp#newcode1721 > ...
4 years, 4 months ago (2016-08-11 14:35:34 UTC) #17
bokan
thanks, lgtm. https://codereview.chromium.org/2230993002/diff/80001/third_party/WebKit/Source/core/frame/FrameView.cpp File third_party/WebKit/Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/2230993002/diff/80001/third_party/WebKit/Source/core/frame/FrameView.cpp#newcode1736 third_party/WebKit/Source/core/frame/FrameView.cpp:1736: page->chromeClient().clearCompositedSelection(mainLocalFrame); IMO, it's a little clearer if ...
4 years, 4 months ago (2016-08-11 14:40:09 UTC) #18
wjmaclean
On 2016/08/11 14:40:09, bokan wrote: > thanks, lgtm. > > https://codereview.chromium.org/2230993002/diff/80001/third_party/WebKit/Source/core/frame/FrameView.cpp > File third_party/WebKit/Source/core/frame/FrameView.cpp (right): ...
4 years, 4 months ago (2016-08-11 14:42:24 UTC) #19
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/2230993002/100001
4 years, 4 months ago (2016-08-11 14:46:08 UTC) #22
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 4 months ago (2016-08-11 15:58:59 UTC) #24
commit-bot: I haz the power
4 years, 4 months ago (2016-08-11 16:02:16 UTC) #26
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/fad8f6972241f294d6b31a33ded6ce1aa5c2f72b
Cr-Commit-Position: refs/heads/master@{#411340}

Powered by Google App Engine
This is Rietveld 408576698