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

Side by Side Diff: content/public/common/manifest.h

Issue 2063003003: Implement "scope" Web Manifest parsing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge branch 'webapk_manifest' into webapk_manifest_scope0 Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_COMMON_MANIFEST_H_ 5 #ifndef CONTENT_PUBLIC_COMMON_MANIFEST_H_
6 #define CONTENT_PUBLIC_COMMON_MANIFEST_H_ 6 #define CONTENT_PUBLIC_COMMON_MANIFEST_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 // The URL of the manifest file. Null if the parsing failed. 76 // The URL of the manifest file. Null if the parsing failed.
77 GURL url; 77 GURL url;
78 78
79 // Null if the parsing failed or the field was not present. 79 // Null if the parsing failed or the field was not present.
80 base::NullableString16 name; 80 base::NullableString16 name;
81 81
82 // Null if the parsing failed or the field was not present. 82 // Null if the parsing failed or the field was not present.
83 base::NullableString16 short_name; 83 base::NullableString16 short_name;
84 84
85 // Empty if the parsing failed or the field was not present. 85 // Empty if the parsing failed or the field was not present.
86 GURL scope;
87
88 // Empty if the parsing failed or the field was not present.
86 GURL start_url; 89 GURL start_url;
87 90
88 // Set to WebDisplayModeUndefined if the parsing failed or the field was not 91 // Set to WebDisplayModeUndefined if the parsing failed or the field was not
89 // present. 92 // present.
90 blink::WebDisplayMode display; 93 blink::WebDisplayMode display;
91 94
92 // Set to blink::WebScreenOrientationLockDefault if the parsing failed or the 95 // Set to blink::WebScreenOrientationLockDefault if the parsing failed or the
93 // field was not present. 96 // field was not present.
94 blink::WebScreenOrientationLockType orientation; 97 blink::WebScreenOrientationLockType orientation;
95 98
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 static const size_t kMaxIPCStringLength; 135 static const size_t kMaxIPCStringLength;
133 136
134 // Constant representing an invalid color. Set to a value outside the 137 // Constant representing an invalid color. Set to a value outside the
135 // range of a 32-bit integer. 138 // range of a 32-bit integer.
136 static const int64_t kInvalidOrMissingColor; 139 static const int64_t kInvalidOrMissingColor;
137 }; 140 };
138 141
139 } // namespace content 142 } // namespace content
140 143
141 #endif // CONTENT_PUBLIC_COMMON_MANIFEST_H_ 144 #endif // CONTENT_PUBLIC_COMMON_MANIFEST_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/manifest/manifest_parser.h » ('j') | content/renderer/manifest/manifest_parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698