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

Issue 1400003003: Move has_focus_ tracking from RenderWidget to RenderView. (Closed)

Created:
5 years, 2 months ago by alexmos
Modified:
5 years, 2 months ago
Reviewers:
kenrb, Charlie Reis, dcheng
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move has_focus_ tracking from RenderWidget to RenderView. This will simplify setting page-level focus for OOPIFs. BUG=339659 Committed: https://crrev.com/7fac9aeb0d52b0fe573b661c823dbf9f22ae84b3 Cr-Commit-Position: refs/heads/master@{#354625}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Fix compile #

Patch Set 4 : Leave OnSetFocus plumbing alone #

Total comments: 9

Patch Set 5 : Charlie's comments #

Patch Set 6 : Rebase #

Patch Set 7 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -7 lines) Patch
M content/renderer/pepper/pepper_plugin_instance_impl.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 2 chunks +3 lines, -0 lines 0 comments Download
M content/renderer/render_widget.h View 1 2 3 4 5 6 2 chunks +0 lines, -4 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 4 5 6 2 chunks +0 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 17 (5 generated)
alexmos
Charlie, can you please take a look? This is a straightforward move of the has_focus_ ...
5 years, 2 months ago (2015-10-14 19:15:50 UTC) #2
Charlie Reis
Seems good to me, but I've got a question for Daniel and Ken about how ...
5 years, 2 months ago (2015-10-14 19:32:52 UTC) #4
alexmos
https://codereview.chromium.org/1400003003/diff/60001/content/renderer/render_view_impl.h File content/renderer/render_view_impl.h (right): https://codereview.chromium.org/1400003003/diff/60001/content/renderer/render_view_impl.h#newcode235 content/renderer/render_view_impl.h:235: bool has_focus() const { return has_focus_; } On 2015/10/14 ...
5 years, 2 months ago (2015-10-14 20:12:33 UTC) #5
kenrb
https://codereview.chromium.org/1400003003/diff/60001/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/1400003003/diff/60001/content/renderer/render_widget.cc#newcode1309 content/renderer/render_widget.cc:1309: webwidget_->setFocus(enable); On 2015/10/14 20:12:33, alexmos wrote: > On 2015/10/14 ...
5 years, 2 months ago (2015-10-15 18:57:30 UTC) #6
alexmos
https://codereview.chromium.org/1400003003/diff/60001/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/1400003003/diff/60001/content/renderer/render_widget.cc#newcode1309 content/renderer/render_widget.cc:1309: webwidget_->setFocus(enable); On 2015/10/15 18:57:30, kenrb wrote: > On 2015/10/14 ...
5 years, 2 months ago (2015-10-15 20:29:30 UTC) #7
kenrb
https://codereview.chromium.org/1400003003/diff/60001/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/1400003003/diff/60001/content/renderer/render_widget.cc#newcode1309 content/renderer/render_widget.cc:1309: webwidget_->setFocus(enable); On 2015/10/15 20:29:30, alexmos wrote: > On 2015/10/15 ...
5 years, 2 months ago (2015-10-16 20:38:16 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1400003003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1400003003/120001
5 years, 2 months ago (2015-10-16 21:11:22 UTC) #10
Charlie Reis
Thanks for checking. Unfortunate about WebPagePopupImpl, since otherwise moving to WebView would have made sense. ...
5 years, 2 months ago (2015-10-16 21:56:23 UTC) #11
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-16 22:09:21 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1400003003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1400003003/120001
5 years, 2 months ago (2015-10-16 22:34:00 UTC) #15
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 2 months ago (2015-10-16 22:39:56 UTC) #16
commit-bot: I haz the power
5 years, 2 months ago (2015-10-16 22:40:31 UTC) #17
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/7fac9aeb0d52b0fe573b661c823dbf9f22ae84b3
Cr-Commit-Position: refs/heads/master@{#354625}

Powered by Google App Engine
This is Rietveld 408576698