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

Issue 1990553002: Remove RenderViewImpl::GetFocusedElement. (Closed)

Created:
4 years, 7 months ago by dglazkov
Modified:
4 years, 7 months ago
Reviewers:
esprehn, enne (OOO)
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

Remove RenderViewImpl::GetFocusedElement. R=esprehn,enne BUG=612570 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/4969a3e260e13d9d91ac192cb675ab77f0831f35 Cr-Commit-Position: refs/heads/master@{#395166}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Now with HasPendingPageScaleAnimation! #

Patch Set 3 : Really works now. #

Total comments: 4

Patch Set 4 : Made Windows happy and brought back bool return because fake tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -39 lines) Patch
M cc/trees/layer_tree_host.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 2 chunks +5 lines, -21 lines 0 comments Download
M third_party/WebKit/Source/web/WebElement.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.cpp View 1 2 3 4 chunks +25 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/tests/VisualViewportTest.cpp View 1 4 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebFrameTest.cpp View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/public/platform/WebLayerTreeView.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/public/web/WebView.h View 1 1 chunk +4 lines, -3 lines 0 comments Download

Messages

Total messages: 42 (18 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1990553002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1990553002/1
4 years, 7 months ago (2016-05-17 20:02:45 UTC) #2
dglazkov
PTAL https://codereview.chromium.org/1990553002/diff/1/third_party/WebKit/Source/web/WebViewImpl.cpp File third_party/WebKit/Source/web/WebViewImpl.cpp (right): https://codereview.chromium.org/1990553002/diff/1/third_party/WebKit/Source/web/WebViewImpl.cpp#newcode2945 third_party/WebKit/Source/web/WebViewImpl.cpp:2945: if (element->isContentEditable()) Not loving this duplication. I can ...
4 years, 7 months ago (2016-05-17 22:00:16 UTC) #4
esprehn
https://codereview.chromium.org/1990553002/diff/1/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/1990553002/diff/1/content/renderer/render_view_impl.cc#newcode1412 content/renderer/render_view_impl.cc:1412: if (!webview()->scrollFocusedEditableElementIntoRect(rect, will_animate)) This out param is pretty gross, ...
4 years, 7 months ago (2016-05-17 22:16:43 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-17 22:26:10 UTC) #8
dglazkov
Now with HasPendingPageScaleAnimation!
4 years, 7 months ago (2016-05-18 05:12:01 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1990553002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1990553002/20001
4 years, 7 months ago (2016-05-18 05:12:20 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/215504)
4 years, 7 months ago (2016-05-18 05:46:02 UTC) #14
dglazkov
Really works now.
4 years, 7 months ago (2016-05-18 18:45:01 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1990553002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1990553002/40001
4 years, 7 months ago (2016-05-18 18:45:28 UTC) #17
esprehn
lgtm https://codereview.chromium.org/1990553002/diff/40001/cc/trees/layer_tree_host.h File cc/trees/layer_tree_host.h (right): https://codereview.chromium.org/1990553002/diff/40001/cc/trees/layer_tree_host.h#newcode278 cc/trees/layer_tree_host.h:278: bool HasPendingPageScaleAnimation() const; you could probably do bool ...
4 years, 7 months ago (2016-05-18 18:49:17 UTC) #18
esprehn
You need a cc/ OWNER btw.
4 years, 7 months ago (2016-05-18 18:49:28 UTC) #19
dglazkov
On 2016/05/18 at 18:49:28, esprehn wrote: > You need a cc/ OWNER btw. +enne, PTAL? ...
4 years, 7 months ago (2016-05-18 18:52:34 UTC) #21
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_compile_dbg_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/192655)
4 years, 7 months ago (2016-05-18 19:23:42 UTC) #24
enne (OOO)
https://codereview.chromium.org/1990553002/diff/40001/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/1990553002/diff/40001/content/renderer/render_view_impl.cc#newcode1416 content/renderer/render_view_impl.cc:1416: if (!compositor()->hasPendingPageScaleAnimation()) I don't know this code at all, ...
4 years, 7 months ago (2016-05-18 19:30:29 UTC) #25
dglazkov
https://codereview.chromium.org/1990553002/diff/40001/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/1990553002/diff/40001/content/renderer/render_view_impl.cc#newcode1416 content/renderer/render_view_impl.cc:1416: if (!compositor()->hasPendingPageScaleAnimation()) On 2016/05/18 at 19:30:29, enne wrote: > ...
4 years, 7 months ago (2016-05-18 19:50:34 UTC) #26
dglazkov
https://codereview.chromium.org/1990553002/diff/40001/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/1990553002/diff/40001/content/renderer/render_view_impl.cc#newcode1416 content/renderer/render_view_impl.cc:1416: if (!compositor()->hasPendingPageScaleAnimation()) Oh, I think you meant the code ...
4 years, 7 months ago (2016-05-19 04:12:31 UTC) #27
enne (OOO)
I looked at this a little bit more, and lgtm. I think there's no race ...
4 years, 7 months ago (2016-05-19 18:40:42 UTC) #28
dglazkov
On 2016/05/19 at 18:40:42, enne wrote: > I looked at this a little bit more, ...
4 years, 7 months ago (2016-05-20 04:19:08 UTC) #29
dglazkov
Made Windows happy and brought back bool return because fake tests.
4 years, 7 months ago (2016-05-20 19:36:19 UTC) #33
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1990553002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1990553002/60001
4 years, 7 months ago (2016-05-20 19:36:23 UTC) #34
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-20 21:03:51 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1990553002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1990553002/60001
4 years, 7 months ago (2016-05-20 21:08:13 UTC) #39
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-20 21:14:02 UTC) #40
commit-bot: I haz the power
4 years, 7 months ago (2016-05-20 21:15:44 UTC) #42
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/4969a3e260e13d9d91ac192cb675ab77f0831f35
Cr-Commit-Position: refs/heads/master@{#395166}

Powered by Google App Engine
This is Rietveld 408576698