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

Issue 1654723002: Enable showing the toolkit-views simplified fullscreen UI on Mac. (Closed)

Created:
4 years, 10 months ago by tapted
Modified:
4 years, 10 months ago
Reviewers:
msw, spqchan
CC:
chromium-reviews, tfarina, chrome-apps-syd-reviews_chromium.org, Matt Giuca
Base URL:
https://chromium.googlesource.com/chromium/src.git@20150112-MacViews-NewFullscreenBubble
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable showing the toolkit-views simplified fullscreen UI on Mac. Puts the new simplified fullscreen UI behind chrome://flags/#simplified-fullscreen-ui on Mac. It uses the toolkit-views UI, since it's already written and works pretty well. Only few things need to be farmed out to the delegate since the bubble can't assume its parent is a views::Widget. Fixes a quirk where opacity-animating bubbles would briefly change their bounds to have zero-height and back during construction. (We complain about visible but zero-sized Widgets on Mac). If this all works we can delete some ~700 lines of Cocoa code when this simplified fullscreen UI is default on Mac. BUG=352425 Committed: https://crrev.com/eb0962214e28fcbe6349bae6214d020cfe67f7cc Cr-Commit-Position: refs/heads/master@{#373386}

Patch Set 1 : Get BrowserView caught up #

Patch Set 2 : Fix zero-height bubble #

Total comments: 8

Patch Set 3 : msw comments #

Total comments: 4

Patch Set 4 : Update section comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+153 lines, -31 lines) Patch
M chrome/browser/ui/cocoa/browser/exclusive_access_controller_views.h View 1 2 3 chunks +22 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/browser/exclusive_access_controller_views.mm View 1 2 6 chunks +60 lines, -1 line 0 comments Download
M chrome/browser/ui/views/exclusive_access_bubble_views.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/exclusive_access_bubble_views.cc View 1 2 8 chunks +16 lines, -16 lines 0 comments Download
M chrome/browser/ui/views/exclusive_access_bubble_views_context.h View 1 2 2 chunks +20 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.h View 1 2 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 3 2 chunks +24 lines, -6 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 21 (12 generated)
tapted
spqchan: please review the cocoa stuff msw: please review the views stuff cc mgiuca fyi ...
4 years, 10 months ago (2016-02-03 06:20:53 UTC) #8
spqchan
Cocoa code LGTM
4 years, 10 months ago (2016-02-03 17:31:53 UTC) #9
msw
https://codereview.chromium.org/1654723002/diff/100001/chrome/browser/ui/views/exclusive_access_bubble_views.cc File chrome/browser/ui/views/exclusive_access_bubble_views.cc (right): https://codereview.chromium.org/1654723002/diff/100001/chrome/browser/ui/views/exclusive_access_bubble_views.cc#newcode392 chrome/browser/ui/views/exclusive_access_bubble_views.cc:392: animated_attribute_(ExpectedAnimationAttribute()) { On 2016/02/03 06:20:53, tapted wrote: > this ...
4 years, 10 months ago (2016-02-03 18:52:24 UTC) #10
tapted
https://codereview.chromium.org/1654723002/diff/100001/chrome/browser/ui/views/exclusive_access_bubble_views_context.h File chrome/browser/ui/views/exclusive_access_bubble_views_context.h (right): https://codereview.chromium.org/1654723002/diff/100001/chrome/browser/ui/views/exclusive_access_bubble_views_context.h#newcode18 chrome/browser/ui/views/exclusive_access_bubble_views_context.h:18: class ExclusiveAccessBubbleViewsContext : public ui::AcceleratorProvider { On 2016/02/03 18:52:24, ...
4 years, 10 months ago (2016-02-03 21:58:25 UTC) #12
msw
lgtm https://codereview.chromium.org/1654723002/diff/140001/chrome/browser/ui/views/frame/browser_view.cc File chrome/browser/ui/views/frame/browser_view.cc (right): https://codereview.chromium.org/1654723002/diff/140001/chrome/browser/ui/views/frame/browser_view.cc#newcode2667 chrome/browser/ui/views/frame/browser_view.cc:2667: // BrowserView, ExclusiveAccessContext overrides optional nit: "overrides:" (or ...
4 years, 10 months ago (2016-02-03 22:11:56 UTC) #13
tapted
https://codereview.chromium.org/1654723002/diff/140001/chrome/browser/ui/views/frame/browser_view.cc File chrome/browser/ui/views/frame/browser_view.cc (right): https://codereview.chromium.org/1654723002/diff/140001/chrome/browser/ui/views/frame/browser_view.cc#newcode2667 chrome/browser/ui/views/frame/browser_view.cc:2667: // BrowserView, ExclusiveAccessContext overrides On 2016/02/03 22:11:56, msw wrote: ...
4 years, 10 months ago (2016-02-03 22:27:53 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1654723002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1654723002/160001
4 years, 10 months ago (2016-02-03 22:50:06 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:160001)
4 years, 10 months ago (2016-02-03 23:45:41 UTC) #19
commit-bot: I haz the power
4 years, 10 months ago (2016-02-03 23:46:59 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/eb0962214e28fcbe6349bae6214d020cfe67f7cc
Cr-Commit-Position: refs/heads/master@{#373386}

Powered by Google App Engine
This is Rietveld 408576698