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

Issue 2516803002: [Mac] Tests for FullscreenToolbarController (Closed)

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

Description

[Mac] Tests for FullscreenToolbarController Also fixed and reenabled the fullscreen test in BrowserWindowControllerBrowserTest BUG=599119, 643418 Committed: https://crrev.com/e852d5242adc506bbe9d9dfeb714681e32ae42ef Cr-Commit-Position: refs/heads/master@{#434709}

Patch Set 1 #

Patch Set 2 : Reenabled a test for BrowserWindowController #

Patch Set 3 : Fixed the flake #

Total comments: 7

Patch Set 4 : Fix for erikchen #

Total comments: 9

Patch Set 5 : Fix for rsesek #

Total comments: 2

Patch Set 6 : Fix for rsesek #

Unified diffs Side-by-side diffs Delta from patch set Stats (+365 lines, -25 lines) Patch
M chrome/browser/ui/cocoa/browser_window_controller_browsertest.mm View 1 2 3 4 5 2 chunks +12 lines, -20 lines 0 comments Download
M chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_animation_controller.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_animation_controller.mm View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_controller.h View 1 2 3 2 chunks +17 lines, -5 lines 0 comments Download
M chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_controller.mm View 1 2 3 4 1 chunk +28 lines, -0 lines 0 comments Download
A chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_controller_unittest.mm View 1 2 3 4 1 chunk +299 lines, -0 lines 0 comments Download
M chrome/test/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 48 (32 generated)
spqchan
PTAL
4 years, 1 month ago (2016-11-21 18:03:09 UTC) #13
erikchen
this is awesome. thanks. lgtm with nits. https://codereview.chromium.org/2516803002/diff/40001/chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_controller_unittest.mm File chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_controller_unittest.mm (right): https://codereview.chromium.org/2516803002/diff/40001/chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_controller_unittest.mm#newcode92 chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_controller_unittest.mm:92: const CGFloat ...
4 years, 1 month ago (2016-11-21 18:45:05 UTC) #14
spqchan
thanks! +rsesek for ownership https://codereview.chromium.org/2516803002/diff/40001/chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_controller_unittest.mm File chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_controller_unittest.mm (right): https://codereview.chromium.org/2516803002/diff/40001/chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_controller_unittest.mm#newcode92 chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_controller_unittest.mm:92: const CGFloat kToolbarVerticalOffset = -22; ...
4 years, 1 month ago (2016-11-22 20:18:42 UTC) #20
Robert Sesek
Awesome to see tests for this code!! https://codereview.chromium.org/2516803002/diff/40001/chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_controller_unittest.mm File chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_controller_unittest.mm (right): https://codereview.chromium.org/2516803002/diff/40001/chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_controller_unittest.mm#newcode112 chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_controller_unittest.mm:112: menubar_tracker_ = ...
4 years, 1 month ago (2016-11-22 21:02:44 UTC) #21
spqchan
PTAL https://codereview.chromium.org/2516803002/diff/60001/chrome/browser/ui/cocoa/browser_window_controller_browsertest.mm File chrome/browser/ui/cocoa/browser_window_controller_browsertest.mm (right): https://codereview.chromium.org/2516803002/diff/60001/chrome/browser/ui/cocoa/browser_window_controller_browsertest.mm#newcode732 chrome/browser/ui/cocoa/browser_window_controller_browsertest.mm:732: [[controller() fullscreenToolbarController] computeLayout].toolbarStyle, On 2016/11/22 21:02:44, Robert Sesek ...
4 years, 1 month ago (2016-11-22 23:04:56 UTC) #26
Robert Sesek
LGTM w/ nit https://codereview.chromium.org/2516803002/diff/60001/chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_controller_unittest.mm File chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_controller_unittest.mm (right): https://codereview.chromium.org/2516803002/diff/60001/chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_controller_unittest.mm#newcode92 chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_controller_unittest.mm:92: FullscreenToolbarControllerTest() {} On 2016/11/22 23:04:56, spqchan ...
4 years ago (2016-11-23 18:11:36 UTC) #27
spqchan
thanks! https://codereview.chromium.org/2516803002/diff/80001/chrome/browser/ui/cocoa/browser_window_controller_browsertest.mm File chrome/browser/ui/cocoa/browser_window_controller_browsertest.mm (right): https://codereview.chromium.org/2516803002/diff/80001/chrome/browser/ui/cocoa/browser_window_controller_browsertest.mm#newcode740 chrome/browser/ui/cocoa/browser_window_controller_browsertest.mm:740: [[controller() fullscreenToolbarController] computeLayout].toolbarStyle, On 2016/11/23 18:11:36, Robert Sesek ...
4 years ago (2016-11-23 18:39:36 UTC) #28
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/2516803002/100001
4 years ago (2016-11-23 18:40:16 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/321072)
4 years ago (2016-11-23 20:39:10 UTC) #33
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/2516803002/100001
4 years ago (2016-11-23 23:09:46 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
4 years ago (2016-11-24 01:11:33 UTC) #37
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/2516803002/100001
4 years ago (2016-11-24 01:17:43 UTC) #39
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
4 years ago (2016-11-24 03:19:20 UTC) #41
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/2516803002/100001
4 years ago (2016-11-28 17:29:55 UTC) #43
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years ago (2016-11-28 20:28:01 UTC) #46
commit-bot: I haz the power
4 years ago (2016-11-28 20:29:37 UTC) #48
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/e852d5242adc506bbe9d9dfeb714681e32ae42ef
Cr-Commit-Position: refs/heads/master@{#434709}

Powered by Google App Engine
This is Rietveld 408576698