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

Issue 1759913004: MacViews: Handling changing of first responder inside NativeWidgetMac. (Closed)

Created:
4 years, 9 months ago by kirr
Modified:
4 years, 9 months ago
Reviewers:
tapted
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MacViews: Handling changing of first responder inside NativeWidgetMac. NativeWidgetMac usually contains more then one NSView. For example browser window contains ViewsCompositorSuperview and WebContentsView. So views::FocusManager must handle not only changing of key NSWindow, but also changing of first responder inside NSWindow, that holds NativeWidget. BUG=591016 Committed: https://crrev.com/c2936ff6d9dfed0b4fea95575a1a3a099b46be5d Cr-Commit-Position: refs/heads/master@{#379525}

Patch Set 1 #

Total comments: 20

Patch Set 2 : review fixes #

Total comments: 1

Patch Set 3 : Added comment for test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -0 lines) Patch
M ui/views/cocoa/bridged_content_view.mm View 1 1 chunk +14 lines, -0 lines 0 comments Download
M ui/views/widget/native_widget_mac_unittest.mm View 1 2 3 chunks +34 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
kirr
Please take a look.
4 years, 9 months ago (2016-03-03 11:14:01 UTC) #2
tapted
Thanks for working on this! In a follow-up, I think we might also need -validateProposedFirstResponder:forEvent ...
4 years, 9 months ago (2016-03-04 00:56:20 UTC) #3
kirr
Sorry for untidy code. > In a follow-up, I think we might also need > ...
4 years, 9 months ago (2016-03-04 08:31:31 UTC) #4
tapted
lgtm with a test comment - thanks! https://codereview.chromium.org/1759913004/diff/20001/ui/views/widget/native_widget_mac_unittest.mm File ui/views/widget/native_widget_mac_unittest.mm (right): https://codereview.chromium.org/1759913004/diff/20001/ui/views/widget/native_widget_mac_unittest.mm#newcode1315 ui/views/widget/native_widget_mac_unittest.mm:1315: TEST_F(NativeWidgetMacTest, ChangeFocusOnChangeFirstResponder) ...
4 years, 9 months ago (2016-03-07 00:12:42 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1759913004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1759913004/40001
4 years, 9 months ago (2016-03-07 06:08:03 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 9 months ago (2016-03-07 07:58:26 UTC) #9
commit-bot: I haz the power
4 years, 9 months ago (2016-03-07 07:59:28 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c2936ff6d9dfed0b4fea95575a1a3a099b46be5d
Cr-Commit-Position: refs/heads/master@{#379525}

Powered by Google App Engine
This is Rietveld 408576698