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

Issue 1972543002: Fullscreen / mouselock bubble: Use new theming even when flag disabled. (Closed)

Created:
4 years, 7 months ago by Matt Giuca
Modified:
4 years, 7 months ago
Reviewers:
msw, Evan Stade
CC:
chromium-reviews, tfarina, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@fullscreen-remove-permission
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fullscreen / mouselock bubble: Use new theming even when flag disabled. Only applies with simplified-fullscreen-ui flag disabled, and only on Windows, Linux and Chrome OS. Now the notification has: - White-on-black, and transparent background. - Always fade-in/out instead of slide-down/up. - New-style padding. - No message saying "<domain> has gone full screen". - The new message with border around "Esc", except when there is a clickable link. Basically, it now looks and behaves the same as with the flag enabled, except that for fullscreen, you can hover the mouse to the top of the screen to re-show the bubble, and there is a clickable link to get out of fullscreen. This is a concession to allow for users without a keyboard to escape fullscreen (until we can implement a better solution). Lots of code can now be deleted, but saving that for a follow-up. BUG=594868, 610900 Committed: https://crrev.com/90ed48601fd68e17b3cc3aa288c1926ef0fe675a Cr-Commit-Position: refs/heads/master@{#393796}

Patch Set 1 #

Patch Set 2 : Simplify shadow type logic. #

Total comments: 6

Patch Set 3 : Respond to review. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -82 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +5 lines, -3 lines 0 comments Download
M chrome/browser/ui/exclusive_access/exclusive_access_bubble.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/exclusive_access_bubble_views.cc View 1 2 9 chunks +37 lines, -79 lines 2 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 14 (5 generated)
Matt Giuca
I wanted to just start deleting all the code, but it looks like we have ...
4 years, 7 months ago (2016-05-13 04:31:11 UTC) #2
msw
lgtm with nits https://codereview.chromium.org/1972543002/diff/20001/chrome/browser/ui/views/exclusive_access_bubble_views.cc File chrome/browser/ui/views/exclusive_access_bubble_views.cc (right): https://codereview.chromium.org/1972543002/diff/20001/chrome/browser/ui/views/exclusive_access_bubble_views.cc#newcode317 chrome/browser/ui/views/exclusive_access_bubble_views.cc:317: accelerator = browser_fullscreen_exit_accelerator_; nit: init |accelerator| ...
4 years, 7 months ago (2016-05-13 17:08:12 UTC) #3
Matt Giuca
https://codereview.chromium.org/1972543002/diff/20001/chrome/browser/ui/views/exclusive_access_bubble_views.cc File chrome/browser/ui/views/exclusive_access_bubble_views.cc (right): https://codereview.chromium.org/1972543002/diff/20001/chrome/browser/ui/views/exclusive_access_bubble_views.cc#newcode317 chrome/browser/ui/views/exclusive_access_bubble_views.cc:317: accelerator = browser_fullscreen_exit_accelerator_; On 2016/05/13 17:08:11, msw wrote: > ...
4 years, 7 months ago (2016-05-16 04:59:45 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1972543002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1972543002/40001
4 years, 7 months ago (2016-05-16 04:59:57 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-16 06:22:39 UTC) #8
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/90ed48601fd68e17b3cc3aa288c1926ef0fe675a Cr-Commit-Position: refs/heads/master@{#393796}
4 years, 7 months ago (2016-05-16 06:24:20 UTC) #10
Evan Stade
https://codereview.chromium.org/1972543002/diff/40001/chrome/browser/ui/views/exclusive_access_bubble_views.cc File chrome/browser/ui/views/exclusive_access_bubble_views.cc (right): https://codereview.chromium.org/1972543002/diff/40001/chrome/browser/ui/views/exclusive_access_bubble_views.cc#newcode28 chrome/browser/ui/views/exclusive_access_bubble_views.cc:28: #include "ui/native_theme/native_theme.h" you can remove this now
4 years, 7 months ago (2016-05-17 00:23:23 UTC) #12
Matt Giuca
https://codereview.chromium.org/1972543002/diff/40001/chrome/browser/ui/views/exclusive_access_bubble_views.cc File chrome/browser/ui/views/exclusive_access_bubble_views.cc (right): https://codereview.chromium.org/1972543002/diff/40001/chrome/browser/ui/views/exclusive_access_bubble_views.cc#newcode28 chrome/browser/ui/views/exclusive_access_bubble_views.cc:28: #include "ui/native_theme/native_theme.h" On 2016/05/17 00:23:23, Evan Stade wrote: > ...
4 years, 7 months ago (2016-05-17 00:58:01 UTC) #13
Evan Stade
4 years, 7 months ago (2016-05-17 00:59:39 UTC) #14
Message was sent while issue was closed.
On 2016/05/17 00:58:01, Matt Giuca wrote:
>
https://codereview.chromium.org/1972543002/diff/40001/chrome/browser/ui/views...
> File chrome/browser/ui/views/exclusive_access_bubble_views.cc (right):
> 
>
https://codereview.chromium.org/1972543002/diff/40001/chrome/browser/ui/views...
> chrome/browser/ui/views/exclusive_access_bubble_views.cc:28: #include
> "ui/native_theme/native_theme.h"
> On 2016/05/17 00:23:23, Evan Stade wrote:
> > you can remove this now
> 
> Sorry, I realised this after the CL went through. But it is getting removed in
> the next CL (https://codereview.chromium.org/1971033003) which is in the CQ
now.

no worries, thanks for removing a TODO(estade)

Powered by Google App Engine
This is Rietveld 408576698