To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
LGTM, this sounds great.
In chrome/browser/android/shortcut_helper.cc it looks like standalone
is the only mode that does something, so I guess that (display-mode:
browser) and (display-mode: standalone) are the only media queries
which could currently match?
I'm curious if this ends up being mapped to Android's
setSystemUiVisibility flags in the end:
https://developer.android.com/reference/android/view/View.html#setSystemUiVisibility(int)
Android seems to have very many modes, are there enough modes in the
spec to map to all of the Android modes that make sense? Parity with
native and all that...
Philip
On Thu, Jan 15, 2015 at 12:41 PM, Kenneth Rohde Christiansen
<kenneth.christiansen@gmail.com> wrote:
> Primary eng emails
> kenneth.r.christiansen@intel.com
> email to blink-dev+unsubscribe@chromium.org.
Primary eng emailsSpecSummaryAdd a media query feature for detecting the display mode used when launching/loading the web app. Default mode is 'browser' but other modes can be declared using a manifest: http://updates.html5rocks.com/2014/11/Support-for-installable-web-apps-with-webapp-manifest-in-chrome-38-for-AndroidMotivationDevelopers would like to be able to detect from JS and be able to use different styling depending on the display mode set in the manifest file.This enables various use-cases such as* decide whether to promote "Add to homescreen";* offer a different UI (like back button when in 'standalone');* have data required to record usage metrics.Similar JS API already exists on iOS navigator.standalone and web developers have requested the same for the new Web Application Manifest.Related GitHub issues: https://github.com/w3c/manifest/issues/273 and https://github.com/w3c/manifest/issues/155Compatibility RiskPublic support for the Web Application Manifest have been given by Chrome, Firefox and IE. Web developers have expressed interest in this addition and it has support from the developers working on Web Application Manifest at Google and Mozilla according to the GitHub issues.Describe the degree of compatibility risk you believe this change posesLow - It has been requested and discussed for a long time. iOS provides similar means. The 'display' field in the manifest is already shipping in Chrome so name is unlikely to change.Ongoing technical constraintsNoneWill this feature be supported on all five Blink platforms (Windows, Mac, Linux, Chrome OS, and Android)?
Yes, with the default value 'browser'. Platforms supporting the Web Application Manifest will support all supported display modes.OWP launch tracking bug (Web Application Manifest):Entry in Chromium Dashboard (Web Application Manifest):Requesting approval to ship?Yes - feature is relatively small.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
On Thu Jan 15 2015 at 3:41:06 AM Kenneth Rohde Christiansen <kenneth.ch...@gmail.com> wrote:Primary eng emailsSpecSummaryAdd a media query feature for detecting the display mode used when launching/loading the web app. Default mode is 'browser' but other modes can be declared using a manifest: http://updates.html5rocks.com/2014/11/Support-for-installable-web-apps-with-webapp-manifest-in-chrome-38-for-AndroidMotivationDevelopers would like to be able to detect from JS and be able to use different styling depending on the display mode set in the manifest file.This enables various use-cases such as* decide whether to promote "Add to homescreen";* offer a different UI (like back button when in 'standalone');* have data required to record usage metrics.Similar JS API already exists on iOS navigator.standalone and web developers have requested the same for the new Web Application Manifest.Related GitHub issues: https://github.com/w3c/manifest/issues/273 and https://github.com/w3c/manifest/issues/155Compatibility RiskPublic support for the Web Application Manifest have been given by Chrome, Firefox and IE. Web developers have expressed interest in this addition and it has support from the developers working on Web Application Manifest at Google and Mozilla according to the GitHub issues.Describe the degree of compatibility risk you believe this change posesLow - It has been requested and discussed for a long time. iOS provides similar means. The 'display' field in the manifest is already shipping in Chrome so name is unlikely to change.Ongoing technical constraintsNoneWill this feature be supported on all five Blink platforms (Windows, Mac, Linux, Chrome OS, and Android)?There are six platforms: WebView was recently added. Do you intend to support it? If so, what would the semantics be?
Not only Chrome applications. There is the application shortcut feature (Wrench->More tools->Create application shortcuts...), which is unrelated to Chrome applications/extensions/whatever. I am not sure this feature exists everywhere (maybe only on Windows, maybe not). This is the standalone mode, I believe.