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

Issue 2005953002: [mac][views] Notify web_contents focused. (Closed)

Created:
4 years, 7 months ago by yamaxim
Modified:
4 years, 6 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[mac][views] Notify web_contents focused. This fix allow to FocusManager know about web_contents was focused. It also fix a lot of test for mac_views_browser by example: BrowserFocusTest.FocusOnReload, BrowserFocusTest.InterstitialFocus ... BUG=610561, 21875 Committed: https://crrev.com/4d67971369b316f1d7e4e0330412a3d94b4418ba Cr-Commit-Position: refs/heads/master@{#397353}

Patch Set 1 #

Total comments: 3

Patch Set 2 : #

Total comments: 3

Patch Set 3 : #

Total comments: 5

Patch Set 4 : git log -2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -3 lines) Patch
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/web_contents/web_contents_view_mac.mm View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 31 (11 generated)
yamaxim
4 years, 6 months ago (2016-05-27 11:11:37 UTC) #4
tapted
+avi is the guru here (and this might fix http://crbug.com/610561 as well, which is behind ...
4 years, 6 months ago (2016-05-27 11:50:38 UTC) #6
Avi (use Gerrit)
https://codereview.chromium.org/2005953002/diff/1/content/browser/web_contents/web_contents_view_mac.mm File content/browser/web_contents/web_contents_view_mac.mm (right): https://codereview.chromium.org/2005953002/diff/1/content/browser/web_contents/web_contents_view_mac.mm#newcode186 content/browser/web_contents/web_contents_view_mac.mm:186: web_contents_->NotifyWebContentsFocused(); On 2016/05/27 11:50:37, tapted wrote: > I don't ...
4 years, 6 months ago (2016-05-27 15:42:37 UTC) #8
yamaxim
https://codereview.chromium.org/2005953002/diff/1/content/browser/web_contents/web_contents_view_mac.mm File content/browser/web_contents/web_contents_view_mac.mm (right): https://codereview.chromium.org/2005953002/diff/1/content/browser/web_contents/web_contents_view_mac.mm#newcode186 content/browser/web_contents/web_contents_view_mac.mm:186: web_contents_->NotifyWebContentsFocused(); On 2016/05/27 11:50:37, tapted wrote: > I don't ...
4 years, 6 months ago (2016-05-30 12:32:38 UTC) #9
Avi (use Gerrit)
https://codereview.chromium.org/2005953002/diff/20001/content/browser/web_contents/web_contents_view_mac.mm File content/browser/web_contents/web_contents_view_mac.mm (right): https://codereview.chromium.org/2005953002/diff/20001/content/browser/web_contents/web_contents_view_mac.mm#newcode186 content/browser/web_contents/web_contents_view_mac.mm:186: GotFocus(); Should this be necessary? RenderViewHostImpl::RenderWidgetGotFocus() calls it, so ...
4 years, 6 months ago (2016-05-30 16:13:33 UTC) #10
yamaxim
https://codereview.chromium.org/2005953002/diff/20001/content/browser/web_contents/web_contents_view_mac.mm File content/browser/web_contents/web_contents_view_mac.mm (right): https://codereview.chromium.org/2005953002/diff/20001/content/browser/web_contents/web_contents_view_mac.mm#newcode186 content/browser/web_contents/web_contents_view_mac.mm:186: GotFocus(); On 2016/05/30 16:13:33, Avi wrote: > Should this ...
4 years, 6 months ago (2016-05-30 16:57:21 UTC) #11
Avi (use Gerrit)
On 2016/05/30 16:57:21, yamaxim wrote: > https://codereview.chromium.org/2005953002/diff/20001/content/browser/web_contents/web_contents_view_mac.mm > File content/browser/web_contents/web_contents_view_mac.mm (right): > > https://codereview.chromium.org/2005953002/diff/20001/content/browser/web_contents/web_contents_view_mac.mm#newcode186 > ...
4 years, 6 months ago (2016-05-30 19:29:51 UTC) #12
tapted
https://codereview.chromium.org/2005953002/diff/20001/content/browser/web_contents/web_contents_view_mac.mm File content/browser/web_contents/web_contents_view_mac.mm (right): https://codereview.chromium.org/2005953002/diff/20001/content/browser/web_contents/web_contents_view_mac.mm#newcode186 content/browser/web_contents/web_contents_view_mac.mm:186: GotFocus(); On 2016/05/30 16:57:21, yamaxim wrote: > On 2016/05/30 ...
4 years, 6 months ago (2016-05-31 12:01:50 UTC) #13
yamaxim
On 2016/05/31 12:01:50, tapted wrote: > https://codereview.chromium.org/2005953002/diff/20001/content/browser/web_contents/web_contents_view_mac.mm > File content/browser/web_contents/web_contents_view_mac.mm (right): > > https://codereview.chromium.org/2005953002/diff/20001/content/browser/web_contents/web_contents_view_mac.mm#newcode186 > ...
4 years, 6 months ago (2016-06-01 10:10:22 UTC) #14
yamaxim
4 years, 6 months ago (2016-06-01 10:10:35 UTC) #15
tapted
lgtm https://codereview.chromium.org/2005953002/diff/40001/content/browser/web_contents/web_contents_view_mac.mm File content/browser/web_contents/web_contents_view_mac.mm (right): https://codereview.chromium.org/2005953002/diff/40001/content/browser/web_contents/web_contents_view_mac.mm#newcode229 content/browser/web_contents/web_contents_view_mac.mm:229: // This is only used in the views ...
4 years, 6 months ago (2016-06-01 11:34:48 UTC) #16
tapted
and please wait for avi's lg too
4 years, 6 months ago (2016-06-01 11:35:47 UTC) #17
Avi (use Gerrit)
https://codereview.chromium.org/2005953002/diff/40001/content/browser/renderer_host/render_widget_host_view_mac.mm File content/browser/renderer_host/render_widget_host_view_mac.mm (right): https://codereview.chromium.org/2005953002/diff/40001/content/browser/renderer_host/render_widget_host_view_mac.mm#newcode2729 content/browser/renderer_host/render_widget_host_view_mac.mm:2729: renderWidgetHostView_->render_widget_host_->GotFocus(); Was the call to Focus that used to ...
4 years, 6 months ago (2016-06-01 13:43:38 UTC) #18
yamaxim
https://codereview.chromium.org/2005953002/diff/40001/content/browser/renderer_host/render_widget_host_view_mac.mm File content/browser/renderer_host/render_widget_host_view_mac.mm (right): https://codereview.chromium.org/2005953002/diff/40001/content/browser/renderer_host/render_widget_host_view_mac.mm#newcode2729 content/browser/renderer_host/render_widget_host_view_mac.mm:2729: renderWidgetHostView_->render_widget_host_->GotFocus(); On 2016/06/01 13:43:38, Avi wrote: > Was the ...
4 years, 6 months ago (2016-06-01 14:23:55 UTC) #19
Avi (use Gerrit)
lgtm
4 years, 6 months ago (2016-06-01 14:27:58 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2005953002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2005953002/60001
4 years, 6 months ago (2016-06-01 15:26:21 UTC) #22
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-01 16:10:52 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2005953002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2005953002/60001
4 years, 6 months ago (2016-06-02 09:56:16 UTC) #27
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-06-02 09:59:45 UTC) #29
commit-bot: I haz the power
4 years, 6 months ago (2016-06-02 10:01:47 UTC) #31
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/4d67971369b316f1d7e4e0330412a3d94b4418ba
Cr-Commit-Position: refs/heads/master@{#397353}

Powered by Google App Engine
This is Rietveld 408576698