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

Issue 2871103002: Don't use the manifest brand color when a PWA is in immersive fullscreen. (Closed)

Created:
3 years, 7 months ago by dominickn
Modified:
3 years, 7 months ago
Reviewers:
Ted C
CC:
chromium-reviews, dominickn+watch_chromium.org, pkotwicz+watch_chromium.org, zpeng+watch_chromium.org, agrieve+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't use the manifest brand color when a PWA is in immersive fullscreen. When in display: fullscreen, the status and navigation bars on Android are hidden, and can be swiped in by users if desired. The bars also appear if the on-screen keyboard is triggered. However, the bars sometimes appear as completely transparent, which hurts their usability. This CL explicitly sets the status bar color to black if a PWA is launched in display: fullscreen, and ignores the brand color specified in the web app manifest. This ensures that the status and navigation bars always have a solid black background and do not appear as transparent. Since PWAs that are open in display: fullscreen have the bars hidden most of the time, having a black color does not overly affect the native fit and feel too much. BUG=714704, 716686 Review-Url: https://codereview.chromium.org/2871103002 Cr-Commit-Position: refs/heads/master@{#470762} Committed: https://chromium.googlesource.com/chromium/src/+/675b4a3705f129ca9d31e22c42d9a785bc9bf29a

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -1 line) Patch
M chrome/android/java/src/org/chromium/chrome/browser/webapps/WebappActivity.java View 1 chunk +6 lines, -1 line 0 comments Download

Messages

Total messages: 13 (9 generated)
dominickn
PTAL, thanks! I've talked this over with installability folks like owencm, sbirch, and slightlyoff and ...
3 years, 7 months ago (2017-05-10 23:55:24 UTC) #6
Ted C
lgtm
3 years, 7 months ago (2017-05-10 23:59:01 UTC) #7
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/2871103002/1
3 years, 7 months ago (2017-05-11 00:05:09 UTC) #9
commit-bot: I haz the power
3 years, 7 months ago (2017-05-11 00:13:50 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/675b4a3705f129ca9d31e22c42d9...

Powered by Google App Engine
This is Rietveld 408576698