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

Issue 2256993002: [Mac] Reworked FullscreenToolbarController (Closed)

Created:
4 years, 4 months ago by spqchan
Modified:
4 years, 4 months ago
CC:
chromium-reviews, tfarina, noyau+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Mac] Reworked FullscreenToolbarController Removed mouse tracking for the menubar since it's unreliable for multiple monitors and SplitScreen. Instead, use the menubar Carbon events to update the toolbar. Removed the animation delays because they were mostly unused. When they actually were used, they would cause bugs and janky movements. Cleaned up dead code and comments BUG=634981, 637976, 637514 Committed: https://crrev.com/cccd612ee508dd2ee75f5d70e46b33bb17a7b88f Cr-Commit-Position: refs/heads/master@{#413018}

Patch Set 1 #

Patch Set 2 : Cleaned up #

Patch Set 3 : nit #

Total comments: 4

Patch Set 4 : Fix for erikchen #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -416 lines) Patch
M chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm View 4 chunks +4 lines, -12 lines 0 comments Download
M chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_controller.mm View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_observer_cocoa.mm View 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/browser/ui/cocoa/bookmarks/bookmark_button.mm View 2 chunks +2 lines, -6 lines 0 comments Download
M chrome/browser/ui/cocoa/bookmarks/bookmark_editor_base_controller.mm View 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller.h View 1 1 chunk +5 lines, -11 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller.mm View 2 chunks +4 lines, -10 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller_private.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller_private.mm View 1 5 chunks +9 lines, -14 lines 0 comments Download
M chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h View 1 2 5 chunks +17 lines, -41 lines 0 comments Download
M chrome/browser/ui/cocoa/fullscreen_toolbar_controller.mm View 1 2 3 15 chunks +30 lines, -304 lines 0 comments Download
M chrome/browser/ui/cocoa/global_error_bubble_controller.mm View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.mm View 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.mm View 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm View 2 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 24 (14 generated)
spqchan
PTAL
4 years, 4 months ago (2016-08-18 19:15:51 UTC) #10
erikchen
nice work, this is a lot simpler than before! I tested this out on 10.11, ...
4 years, 4 months ago (2016-08-18 19:33:47 UTC) #11
spqchan
thanks! PTAL https://codereview.chromium.org/2256993002/diff/40001/chrome/browser/ui/cocoa/fullscreen_toolbar_controller.mm File chrome/browser/ui/cocoa/fullscreen_toolbar_controller.mm (right): https://codereview.chromium.org/2256993002/diff/40001/chrome/browser/ui/cocoa/fullscreen_toolbar_controller.mm#newcode263 chrome/browser/ui/cocoa/fullscreen_toolbar_controller.mm:263: [self changeOverlayToFraction:1 withAnimation:YES]; On 2016/08/18 19:33:47, erikchen ...
4 years, 4 months ago (2016-08-18 19:55:58 UTC) #12
erikchen
lgtm
4 years, 4 months ago (2016-08-18 19:58:09 UTC) #13
spqchan
+avi for OWNERS
4 years, 4 months ago (2016-08-18 20:45:19 UTC) #15
Avi (use Gerrit)
stampity stamp LGTM
4 years, 4 months ago (2016-08-19 00:10:06 UTC) #17
spqchan
On 2016/08/19 00:10:06, Avi wrote: > stampity stamp > > LGTM thanks!
4 years, 4 months ago (2016-08-19 00:12:25 UTC) #18
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/2256993002/60001
4 years, 4 months ago (2016-08-19 00:13:04 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-19 01:47:09 UTC) #22
commit-bot: I haz the power
4 years, 4 months ago (2016-08-19 01:49:48 UTC) #24
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/cccd612ee508dd2ee75f5d70e46b33bb17a7b88f
Cr-Commit-Position: refs/heads/master@{#413018}

Powered by Google App Engine
This is Rietveld 408576698