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

Issue 2695493002: [Mac] Touch Bar support for default browser window state (Closed)

Created:
3 years, 10 months ago by spqchan
Modified:
3 years, 10 months ago
CC:
chromium-reviews, mac-reviews_chromium.org, vmpstr+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Mac] Touch Bar support for default browser window state BUG=675254 Review-Url: https://codereview.chromium.org/2695493002 Cr-Commit-Position: refs/heads/master@{#451448} Committed: https://chromium.googlesource.com/chromium/src/+/4ad0a609fea4c17f2b2d71e446bfae18c956b243

Patch Set 1 #

Patch Set 2 : fixes and nits #

Total comments: 31

Patch Set 3 : Fix for rsesek and added a test #

Patch Set 4 : Rebased #

Patch Set 5 : fixed build error #

Patch Set 6 : Remove test #

Total comments: 2

Patch Set 7 : Fix for rsesek #

Patch Set 8 : Tests are back~ #

Total comments: 6

Patch Set 9 : Fix for rsesek 3 #

Total comments: 6

Patch Set 10 : Renamed vector icons #

Total comments: 4

Patch Set 11 : Renamed icons #

Total comments: 6

Patch Set 12 : Fixes for estade, remove the google search icon #

Total comments: 16

Patch Set 13 : Fix for estade 2 #

Total comments: 2

Patch Set 14 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+419 lines, -2 lines) Patch
M base/mac/sdk_forward_declarations.h View 1 3 chunks +22 lines, -0 lines 0 comments Download
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/app/vector_icons/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/app/vector_icons/new_tab_mac_touchbar.icon View 1 2 3 4 5 6 7 8 9 10 1 chunk +26 lines, -0 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller.h View 3 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +18 lines, -0 lines 0 comments Download
A chrome/browser/ui/cocoa/browser_window_touch_bar.h View 1 2 1 chunk +32 lines, -0 lines 0 comments Download
A chrome/browser/ui/cocoa/browser_window_touch_bar.mm View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +210 lines, -0 lines 0 comments Download
A chrome/browser/ui/cocoa/browser_window_touch_bar_unittest.mm View 1 2 3 4 5 6 7 8 1 chunk +58 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/framed_browser_window.mm View 1 2 5 chunks +12 lines, -2 lines 0 comments Download
M chrome/common/chrome_features.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/chrome_features.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M ui/base/cocoa/touch_bar_forward_declarations.h View 2 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 125 (87 generated)
spqchan
PTAL
3 years, 10 months ago (2017-02-14 01:02:03 UTC) #27
Robert Sesek
https://codereview.chromium.org/2695493002/diff/100001/chrome/app/vector_icons/new_tab.icon File chrome/app/vector_icons/new_tab.icon (right): https://codereview.chromium.org/2695493002/diff/100001/chrome/app/vector_icons/new_tab.icon#newcode1 chrome/app/vector_icons/new_tab.icon:1: // Copyright 2016 The Chromium Authors. All rights reserved. ...
3 years, 10 months ago (2017-02-14 17:32:51 UTC) #30
spqchan
PTAL https://codereview.chromium.org/2695493002/diff/100001/chrome/app/vector_icons/new_tab.icon File chrome/app/vector_icons/new_tab.icon (right): https://codereview.chromium.org/2695493002/diff/100001/chrome/app/vector_icons/new_tab.icon#newcode1 chrome/app/vector_icons/new_tab.icon:1: // Copyright 2016 The Chromium Authors. All rights ...
3 years, 10 months ago (2017-02-16 15:25:52 UTC) #47
Robert Sesek
https://codereview.chromium.org/2695493002/diff/100001/chrome/browser/ui/cocoa/browser_window_controller.mm File chrome/browser/ui/cocoa/browser_window_controller.mm (right): https://codereview.chromium.org/2695493002/diff/100001/chrome/browser/ui/cocoa/browser_window_controller.mm#newcode390 chrome/browser/ui/cocoa/browser_window_controller.mm:390: touchBar_.reset([[BrowserWindowTouchBar alloc] initWithBrowser:browser]); On 2017/02/16 15:25:51, spqchan wrote: > ...
3 years, 10 months ago (2017-02-16 18:19:39 UTC) #48
spqchan
PTAL https://codereview.chromium.org/2695493002/diff/100001/chrome/browser/ui/cocoa/browser_window_touch_bar.mm File chrome/browser/ui/cocoa/browser_window_touch_bar.mm (right): https://codereview.chromium.org/2695493002/diff/100001/chrome/browser/ui/cocoa/browser_window_touch_bar.mm#newcode1 chrome/browser/ui/cocoa/browser_window_touch_bar.mm:1: // Copyright 2016 The Chromium Authors. All rights ...
3 years, 10 months ago (2017-02-16 18:35:42 UTC) #50
Robert Sesek
https://codereview.chromium.org/2695493002/diff/100001/chrome/browser/ui/cocoa/browser_window_touch_bar.mm File chrome/browser/ui/cocoa/browser_window_touch_bar.mm (right): https://codereview.chromium.org/2695493002/diff/100001/chrome/browser/ui/cocoa/browser_window_touch_bar.mm#newcode1 chrome/browser/ui/cocoa/browser_window_touch_bar.mm:1: // Copyright 2016 The Chromium Authors. All rights reserved. ...
3 years, 10 months ago (2017-02-16 18:43:22 UTC) #52
spqchan
PTAL https://codereview.chromium.org/2695493002/diff/100001/chrome/browser/ui/cocoa/browser_window_touch_bar.mm File chrome/browser/ui/cocoa/browser_window_touch_bar.mm (right): https://codereview.chromium.org/2695493002/diff/100001/chrome/browser/ui/cocoa/browser_window_touch_bar.mm#newcode1 chrome/browser/ui/cocoa/browser_window_touch_bar.mm:1: // Copyright 2016 The Chromium Authors. All rights ...
3 years, 10 months ago (2017-02-16 19:05:23 UTC) #54
Robert Sesek
Thanks for re-adding the test. https://codereview.chromium.org/2695493002/diff/100001/chrome/browser/ui/cocoa/browser_window_touch_bar.mm File chrome/browser/ui/cocoa/browser_window_touch_bar.mm (right): https://codereview.chromium.org/2695493002/diff/100001/chrome/browser/ui/cocoa/browser_window_touch_bar.mm#newcode1 chrome/browser/ui/cocoa/browser_window_touch_bar.mm:1: // Copyright 2016 The ...
3 years, 10 months ago (2017-02-16 19:13:39 UTC) #56
spqchan
PTAL https://codereview.chromium.org/2695493002/diff/100001/chrome/browser/ui/cocoa/browser_window_touch_bar.mm File chrome/browser/ui/cocoa/browser_window_touch_bar.mm (right): https://codereview.chromium.org/2695493002/diff/100001/chrome/browser/ui/cocoa/browser_window_touch_bar.mm#newcode1 chrome/browser/ui/cocoa/browser_window_touch_bar.mm:1: // Copyright 2016 The Chromium Authors. All rights ...
3 years, 10 months ago (2017-02-16 19:27:48 UTC) #58
Robert Sesek
LGTM
3 years, 10 months ago (2017-02-16 19:32:50 UTC) #60
spqchan
On 2017/02/16 19:32:50, Robert Sesek wrote: > LGTM thanks!
3 years, 10 months ago (2017-02-16 19:33:23 UTC) #61
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/2695493002/240001
3 years, 10 months ago (2017-02-16 19:34:38 UTC) #64
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/366391)
3 years, 10 months ago (2017-02-16 20:36:50 UTC) #66
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/2695493002/240001
3 years, 10 months ago (2017-02-16 21:26:38 UTC) #68
Robert Sesek
On 2017/02/16 20:36:50, commit-bot: I haz the power wrote: > Try jobs failed on following ...
3 years, 10 months ago (2017-02-16 21:50:07 UTC) #69
spqchan
On 2017/02/16 21:50:07, Robert Sesek wrote: > On 2017/02/16 20:36:50, commit-bot: I haz the power ...
3 years, 10 months ago (2017-02-16 21:52:15 UTC) #70
spqchan
+ben for chrome/app/vector_icons/ and ui/gfx/vector_icons/
3 years, 10 months ago (2017-02-16 21:55:56 UTC) #72
spqchan
+sky for chrome/app/vector_icons/ and ui/gfx/vector_icons/
3 years, 10 months ago (2017-02-16 23:22:00 UTC) #74
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/366521)
3 years, 10 months ago (2017-02-16 23:47:18 UTC) #76
sky
+estade https://codereview.chromium.org/2695493002/diff/240001/ui/gfx/vector_icons/g_search.icon File ui/gfx/vector_icons/g_search.icon (right): https://codereview.chromium.org/2695493002/diff/240001/ui/gfx/vector_icons/g_search.icon#newcode5 ui/gfx/vector_icons/g_search.icon:5: CANVAS_DIMENSIONS, 36, The name of this file isn't ...
3 years, 10 months ago (2017-02-17 16:50:59 UTC) #78
sky
https://codereview.chromium.org/2695493002/diff/240001/chrome/app/vector_icons/new_tab.icon File chrome/app/vector_icons/new_tab.icon (right): https://codereview.chromium.org/2695493002/diff/240001/chrome/app/vector_icons/new_tab.icon#newcode5 chrome/app/vector_icons/new_tab.icon:5: CANVAS_DIMENSIONS, 36, Sorry, one more question. Is this the ...
3 years, 10 months ago (2017-02-17 16:52:03 UTC) #79
spqchan
PTAL https://codereview.chromium.org/2695493002/diff/240001/chrome/app/vector_icons/new_tab.icon File chrome/app/vector_icons/new_tab.icon (right): https://codereview.chromium.org/2695493002/diff/240001/chrome/app/vector_icons/new_tab.icon#newcode5 chrome/app/vector_icons/new_tab.icon:5: CANVAS_DIMENSIONS, 36, On 2017/02/17 16:52:03, sky wrote: > ...
3 years, 10 months ago (2017-02-17 17:50:32 UTC) #82
sky
https://codereview.chromium.org/2695493002/diff/240001/chrome/app/vector_icons/new_tab.icon File chrome/app/vector_icons/new_tab.icon (right): https://codereview.chromium.org/2695493002/diff/240001/chrome/app/vector_icons/new_tab.icon#newcode5 chrome/app/vector_icons/new_tab.icon:5: CANVAS_DIMENSIONS, 36, On 2017/02/17 17:50:31, spqchan wrote: > On ...
3 years, 10 months ago (2017-02-17 19:25:19 UTC) #87
spqchan
PTAL https://codereview.chromium.org/2695493002/diff/260001/chrome/app/vector_icons/BUILD.gn File chrome/app/vector_icons/BUILD.gn (right): https://codereview.chromium.org/2695493002/diff/260001/chrome/app/vector_icons/BUILD.gn#newcode38 chrome/app/vector_icons/BUILD.gn:38: "new_tab_touchbar.icon", On 2017/02/17 19:25:19, sky wrote: > Include ...
3 years, 10 months ago (2017-02-17 20:00:25 UTC) #88
Evan Stade
https://codereview.chromium.org/2695493002/diff/280001/chrome/app/vector_icons/BUILD.gn File chrome/app/vector_icons/BUILD.gn (right): https://codereview.chromium.org/2695493002/diff/280001/chrome/app/vector_icons/BUILD.gn#newcode38 chrome/app/vector_icons/BUILD.gn:38: "new_tab_mac_touchbar.icon", please only add if is_mac https://codereview.chromium.org/2695493002/diff/280001/chrome/browser/ui/cocoa/browser_window_touch_bar.mm File chrome/browser/ui/cocoa/browser_window_touch_bar.mm ...
3 years, 10 months ago (2017-02-17 20:11:40 UTC) #91
spqchan
PTAL https://codereview.chromium.org/2695493002/diff/280001/chrome/app/vector_icons/BUILD.gn File chrome/app/vector_icons/BUILD.gn (right): https://codereview.chromium.org/2695493002/diff/280001/chrome/app/vector_icons/BUILD.gn#newcode38 chrome/app/vector_icons/BUILD.gn:38: "new_tab_mac_touchbar.icon", On 2017/02/17 20:11:39, Evan Stade wrote: > ...
3 years, 10 months ago (2017-02-17 20:26:10 UTC) #95
Evan Stade
some nits https://codereview.chromium.org/2695493002/diff/300001/chrome/app/vector_icons/BUILD.gn File chrome/app/vector_icons/BUILD.gn (right): https://codereview.chromium.org/2695493002/diff/300001/chrome/app/vector_icons/BUILD.gn#newcode38 chrome/app/vector_icons/BUILD.gn:38: nit: remove newline https://codereview.chromium.org/2695493002/diff/300001/chrome/browser/ui/cocoa/browser_window_touch_bar.mm File chrome/browser/ui/cocoa/browser_window_touch_bar.mm (right): ...
3 years, 10 months ago (2017-02-17 20:52:58 UTC) #99
spqchan
PTAL https://codereview.chromium.org/2695493002/diff/300001/chrome/app/vector_icons/BUILD.gn File chrome/app/vector_icons/BUILD.gn (right): https://codereview.chromium.org/2695493002/diff/300001/chrome/app/vector_icons/BUILD.gn#newcode38 chrome/app/vector_icons/BUILD.gn:38: On 2017/02/17 20:52:57, Evan Stade wrote: > nit: ...
3 years, 10 months ago (2017-02-17 21:18:35 UTC) #104
sky
Now that the ui change is gone, I only looked at chrome/app/vector_icons. LGTM
3 years, 10 months ago (2017-02-17 22:36:35 UTC) #106
spqchan
On 2017/02/17 22:36:35, sky wrote: > Now that the ui change is gone, I only ...
3 years, 10 months ago (2017-02-17 22:48:05 UTC) #107
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/2695493002/340001
3 years, 10 months ago (2017-02-17 22:50:28 UTC) #111
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) linux_chromium_asan_rel_ng on ...
3 years, 10 months ago (2017-02-17 23:22:06 UTC) #113
Evan Stade
https://codereview.chromium.org/2695493002/diff/340001/chrome/app/vector_icons/new_tab_mac_touchbar.icon File chrome/app/vector_icons/new_tab_mac_touchbar.icon (right): https://codereview.chromium.org/2695493002/diff/340001/chrome/app/vector_icons/new_tab_mac_touchbar.icon#newcode5 chrome/app/vector_icons/new_tab_mac_touchbar.icon:5: CANVAS_DIMENSIONS, 36, the new tab icon that I see ...
3 years, 10 months ago (2017-02-18 00:01:44 UTC) #114
spqchan
https://codereview.chromium.org/2695493002/diff/340001/chrome/app/vector_icons/new_tab_mac_touchbar.icon File chrome/app/vector_icons/new_tab_mac_touchbar.icon (right): https://codereview.chromium.org/2695493002/diff/340001/chrome/app/vector_icons/new_tab_mac_touchbar.icon#newcode5 chrome/app/vector_icons/new_tab_mac_touchbar.icon:5: CANVAS_DIMENSIONS, 36, On 2017/02/18 00:01:44, Evan Stade wrote: > ...
3 years, 10 months ago (2017-02-18 05:12:33 UTC) #115
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/2695493002/340001
3 years, 10 months ago (2017-02-18 05:13:08 UTC) #117
commit-bot: I haz the power
Failed to apply patch for chrome/app/vector_icons/BUILD.gn: While running git apply --index -p1; error: patch failed: ...
3 years, 10 months ago (2017-02-18 06:23:19 UTC) #119
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/2695493002/360001
3 years, 10 months ago (2017-02-18 07:19:16 UTC) #122
commit-bot: I haz the power
3 years, 10 months ago (2017-02-18 09:17:33 UTC) #125
Message was sent while issue was closed.
Committed patchset #14 (id:360001) as
https://chromium.googlesource.com/chromium/src/+/4ad0a609fea4c17f2b2d71e446bf...

Powered by Google App Engine
This is Rietveld 408576698