| Index: content/public/common/manifest.h
|
| diff --git a/content/public/common/manifest.h b/content/public/common/manifest.h
|
| index 1b9b3c7ff4e77503723c5aa55c490d5f55e4b305..c790babe69598869765cd4d78acf1f2970d48fb9 100644
|
| --- a/content/public/common/manifest.h
|
| +++ b/content/public/common/manifest.h
|
| @@ -15,6 +15,14 @@ namespace content {
|
| // described in the "Manifest for Web Application" document:
|
| // http://w3c.github.io/manifest/
|
| struct CONTENT_EXPORT Manifest {
|
| + enum DisplayMode {
|
| + DISPLAY_MODE_UNSPECIFIED,
|
| + DISPLAY_MODE_FULLSCREEN,
|
| + DISPLAY_MODE_STANDALONE,
|
| + DISPLAY_MODE_MINIMAL_UI,
|
| + DISPLAY_MODE_BROWSER
|
| + };
|
| +
|
| Manifest();
|
| ~Manifest();
|
|
|
| @@ -31,6 +39,10 @@ struct CONTENT_EXPORT Manifest {
|
| // Empty if the parsing failed or the field was not present.
|
| GURL start_url;
|
|
|
| + // Set to DISPLAY_MODE_UNSPECIFIED if the parsing failed or the field was not
|
| + // present.
|
| + DisplayMode display;
|
| +
|
| // Maximum length for all the strings inside the Manifest when it is sent over
|
| // IPC. The renderer process should truncate the strings before sending the
|
| // Manifest and the browser process must do the same when receiving it.
|
|
|