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

Issue 2446313005: [Mac] Refactor the fullscreen toolbar mouse tracker (Closed)

Created:
4 years, 1 month ago by spqchan
Modified:
4 years, 1 month ago
Reviewers:
Robert Sesek, erikchen
CC:
chromium-reviews, mac-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Mac] Refactor the fullscreen toolbar mouse tracker - Moved the mouse tracker logic from FullscreenToolbarController into a new class BUG=643418 Committed: https://crrev.com/363cae95747a3f1e34f5e2fc6ad4d95eb9af40b7 Cr-Commit-Position: refs/heads/master@{#428086}

Patch Set 1 #

Patch Set 2 : Updated comments #

Total comments: 2

Patch Set 3 : Fix for erikchen #

Total comments: 2

Patch Set 4 : Fix for rsesek #

Unified diffs Side-by-side diffs Delta from patch set Stats (+190 lines, -114 lines) Patch
M chrome/browser/ui/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller_private.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller_private.mm View 3 chunks +2 lines, -8 lines 0 comments Download
A chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_mouse_tracker.h View 1 2 3 1 chunk +36 lines, -0 lines 0 comments Download
A chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_mouse_tracker.mm View 1 2 1 chunk +131 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/fullscreen_toolbar_controller.h View 1 5 chunks +8 lines, -16 lines 0 comments Download
M chrome/browser/ui/cocoa/fullscreen_toolbar_controller.mm View 9 chunks +11 lines, -87 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
spqchan
PTAL
4 years, 1 month ago (2016-10-26 01:30:01 UTC) #2
erikchen
https://codereview.chromium.org/2446313005/diff/20001/chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_mouse_tracker.mm File chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_mouse_tracker.mm (right): https://codereview.chromium.org/2446313005/diff/20001/chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_mouse_tracker.mm#newcode52 chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_mouse_tracker.mm:52: contentView_ = [[bwc window] contentView]; When we add the ...
4 years, 1 month ago (2016-10-26 17:26:10 UTC) #3
spqchan
PTAL https://codereview.chromium.org/2446313005/diff/20001/chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_mouse_tracker.mm File chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_mouse_tracker.mm (right): https://codereview.chromium.org/2446313005/diff/20001/chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_mouse_tracker.mm#newcode52 chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_mouse_tracker.mm:52: contentView_ = [[bwc window] contentView]; On 2016/10/26 17:26:10, ...
4 years, 1 month ago (2016-10-26 17:42:50 UTC) #4
erikchen
lgtm
4 years, 1 month ago (2016-10-26 17:45:18 UTC) #5
spqchan
thanks! +rsesek for ownership
4 years, 1 month ago (2016-10-26 18:53:28 UTC) #7
Robert Sesek
LGTM https://codereview.chromium.org/2446313005/diff/40001/chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_mouse_tracker.h File chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_mouse_tracker.h (right): https://codereview.chromium.org/2446313005/diff/40001/chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_mouse_tracker.h#newcode10 chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_mouse_tracker.h:10: @class BrowserWindowController; Can remove this and the next ...
4 years, 1 month ago (2016-10-27 16:22:06 UTC) #8
spqchan
Thanks! https://codereview.chromium.org/2446313005/diff/40001/chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_mouse_tracker.h File chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_mouse_tracker.h (right): https://codereview.chromium.org/2446313005/diff/40001/chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_mouse_tracker.h#newcode10 chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_mouse_tracker.h:10: @class BrowserWindowController; On 2016/10/27 16:22:06, Robert Sesek wrote: ...
4 years, 1 month ago (2016-10-27 17:12:23 UTC) #9
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/2446313005/60001
4 years, 1 month ago (2016-10-27 17:12:46 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-10-27 18:29:53 UTC) #13
commit-bot: I haz the power
4 years, 1 month ago (2016-10-27 19:01:30 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/363cae95747a3f1e34f5e2fc6ad4d95eb9af40b7
Cr-Commit-Position: refs/heads/master@{#428086}

Powered by Google App Engine
This is Rietveld 408576698