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

Issue 2679273002: [Mac] Retain location bar focus on switching to fullscreen and back. (Closed)

Created:
3 years, 10 months ago by shrike
Modified:
3 years, 7 months ago
CC:
chromium-reviews, mac-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Mac] Retain location bar focus on switching to fullscreen and back. If a window's location bar has focus before switching to fullscreen mode, it no longer has it afterwards (and the same for the fullscreen- to-normal transition). This cl ensures that the location bar retains focus (if it has it) through both transitions. R=spqchan@chromium.org,avi@chromium.org BUG=447740 Review-Url: https://codereview.chromium.org/2679273002 Cr-Original-Commit-Position: refs/heads/master@{#467074} Committed: https://chromium.googlesource.com/chromium/src/+/2a657ecbdd2743e0cc7c4e5130a5b1caac88ec9e Review-Url: https://codereview.chromium.org/2679273002 Cr-Commit-Position: refs/heads/master@{#469753} Committed: https://chromium.googlesource.com/chromium/src/+/94f3ef666ed1521361039efefb5825b72e2b32f8

Patch Set 1 #

Patch Set 2 : Fix regression with the toolbar not dropping down. #

Total comments: 17

Patch Set 3 : Fix nits. #

Total comments: 4

Patch Set 4 : Refine changes. #

Patch Set 5 : Fix bug in detecting location bar having focus. #

Patch Set 6 : Refine further. #

Patch Set 7 : Test debugging. #

Patch Set 8 : Debugging tests #2. #

Patch Set 9 : Debugging test #3. #

Patch Set 10 : Debug tests #4. #

Patch Set 11 : Debug tests #5. #

Patch Set 12 : Debug test #6. #

Patch Set 13 : Debug test #7. #

Patch Set 14 : Debug tests #8. #

Patch Set 15 : Debug tests #9. #

Patch Set 16 : Debug tests #10. #

Patch Set 17 : Clean up. #

Patch Set 18 : Undo previous change, add comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -1 line) Patch
M chrome/browser/ui/cocoa/browser_window_controller_private.mm View 1 2 3 4 5 6 7 8 10 11 2 chunks +23 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller_unittest.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 7 chunks +30 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/toolbar/toolbar_controller.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm View 1 2 3 4 5 7 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (14 generated)
shrike
PTAL
3 years, 10 months ago (2017-02-07 20:04:01 UTC) #1
shrike
Please hold off on this for now as I found a regression.
3 years, 10 months ago (2017-02-08 00:02:28 UTC) #2
shrike
spqchan@ - PTAL for a sanity check.
3 years, 10 months ago (2017-02-08 01:43:59 UTC) #5
spqchan
https://codereview.chromium.org/2679273002/diff/20001/chrome/browser/ui/cocoa/browser_window_controller_private.mm File chrome/browser/ui/cocoa/browser_window_controller_private.mm (right): https://codereview.chromium.org/2679273002/diff/20001/chrome/browser/ui/cocoa/browser_window_controller_private.mm#newcode965 chrome/browser/ui/cocoa/browser_window_controller_private.mm:965: // -setContentViewSubviews: changes the view hierarchy, and if the ...
3 years, 10 months ago (2017-02-08 19:21:51 UTC) #6
shrike
https://codereview.chromium.org/2679273002/diff/20001/chrome/browser/ui/cocoa/browser_window_controller_private.mm File chrome/browser/ui/cocoa/browser_window_controller_private.mm (right): https://codereview.chromium.org/2679273002/diff/20001/chrome/browser/ui/cocoa/browser_window_controller_private.mm#newcode965 chrome/browser/ui/cocoa/browser_window_controller_private.mm:965: // -setContentViewSubviews: changes the view hierarchy, and if the ...
3 years, 10 months ago (2017-02-08 19:51:42 UTC) #7
spqchan
https://codereview.chromium.org/2679273002/diff/20001/chrome/browser/ui/cocoa/browser_window_controller_private.mm File chrome/browser/ui/cocoa/browser_window_controller_private.mm (right): https://codereview.chromium.org/2679273002/diff/20001/chrome/browser/ui/cocoa/browser_window_controller_private.mm#newcode971 chrome/browser/ui/cocoa/browser_window_controller_private.mm:971: if (locationBarHadFocus) { On 2017/02/08 19:51:42, shrike wrote: > ...
3 years, 10 months ago (2017-02-09 01:50:35 UTC) #8
shrike
https://codereview.chromium.org/2679273002/diff/20001/chrome/browser/ui/cocoa/browser_window_controller_private.mm File chrome/browser/ui/cocoa/browser_window_controller_private.mm (right): https://codereview.chromium.org/2679273002/diff/20001/chrome/browser/ui/cocoa/browser_window_controller_private.mm#newcode971 chrome/browser/ui/cocoa/browser_window_controller_private.mm:971: if (locationBarHadFocus) { On 2017/02/09 01:50:34, spqchan (SLOW Feb ...
3 years, 10 months ago (2017-02-09 02:18:29 UTC) #9
spqchan
https://codereview.chromium.org/2679273002/diff/20001/chrome/browser/ui/cocoa/browser_window_controller_private.mm File chrome/browser/ui/cocoa/browser_window_controller_private.mm (right): https://codereview.chromium.org/2679273002/diff/20001/chrome/browser/ui/cocoa/browser_window_controller_private.mm#newcode971 chrome/browser/ui/cocoa/browser_window_controller_private.mm:971: if (locationBarHadFocus) { On 2017/02/09 02:18:29, shrike wrote: > ...
3 years, 10 months ago (2017-02-09 05:09:36 UTC) #10
shrike
spqchan@ - I reworked this cl and now it's much simpler. PTAL.
3 years, 8 months ago (2017-04-11 21:46:11 UTC) #11
spqchan
LGTM! Thanks for simplifying it
3 years, 8 months ago (2017-04-11 22:13:03 UTC) #12
Avi (use Gerrit)
lgtm stamp
3 years, 8 months ago (2017-04-13 14:52:45 UTC) #17
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/2679273002/60001
3 years, 8 months ago (2017-04-25 18:41:13 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://chromium.googlesource.com/chromium/src/+/2a657ecbdd2743e0cc7c4e5130a5b1caac88ec9e
3 years, 8 months ago (2017-04-25 19:25:59 UTC) #22
hcarmona
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/2840073002/ by hcarmona@chromium.org. ...
3 years, 8 months ago (2017-04-25 20:54:00 UTC) #23
findit-for-me
Findit(https://goo.gl/kROfz5) identified this CL at revision 467074 as the culprit for failures in the build ...
3 years, 8 months ago (2017-04-25 21:57:49 UTC) #24
shrike
spqchan@ - as part of my change in browser_window_controller_private.mm I call focusLocationBar: to refocus the ...
3 years, 7 months ago (2017-05-04 20:45:37 UTC) #26
spqchan
On 2017/05/04 20:45:37, shrike wrote: > spqchan@ - as part of my change in browser_window_controller_private.mm ...
3 years, 7 months ago (2017-05-04 22:06:12 UTC) #27
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/2679273002/340001
3 years, 7 months ago (2017-05-05 19:04:59 UTC) #30
commit-bot: I haz the power
3 years, 7 months ago (2017-05-05 19:23:49 UTC) #33
Message was sent while issue was closed.
Committed patchset #18 (id:340001) as
https://chromium.googlesource.com/chromium/src/+/94f3ef666ed1521361039efefb58...

Powered by Google App Engine
This is Rietveld 408576698