Index: content/renderer/manifest/manifest_parser.h |
diff --git a/content/renderer/manifest/manifest_parser.h b/content/renderer/manifest/manifest_parser.h |
index f8817314fd09c76ea44b8dd9b16bb89b0f73d6c8..ab47732e27bf5268a99964c82238f6257e567138 100644 |
--- a/content/renderer/manifest/manifest_parser.h |
+++ b/content/renderer/manifest/manifest_parser.h |
@@ -5,6 +5,8 @@ |
#ifndef CONTENT_RENDERER_MANIFEST_MANIFEST_PARSER_H_ |
#define CONTENT_RENDERER_MANIFEST_MANIFEST_PARSER_H_ |
+#include <stdint.h> |
+ |
#include "base/strings/nullable_string16.h" |
#include "base/strings/string_piece.h" |
#include "content/common/content_export.h" |
@@ -81,6 +83,11 @@ class CONTENT_EXPORT ManifestParser { |
// Returns the parsed GURL if any, an empty GURL if the parsing failed. |
GURL ParseStartURL(const base::DictionaryValue& dictionary); |
+ // Parses the 'theme_color' field of the manifest, as defined in: |
+ // http://w3c.github.io/manifest/#dfn-steps-for-processing-the-theme_color-member |
+ // Returns the parsed theme color if any, -1 if the parsing failed. |
mlamouri (slow - plz ping)
2015/07/16 12:35:41
Replace -1 with kInvalidOrMissingThemeColor.
Lalit Maganti
2015/07/16 14:49:02
Done.
|
+ int64_t ParseThemeColor(const base::DictionaryValue& dictionary); |
+ |
// Parses the 'display' field of the manifest, as defined in: |
// http://w3c.github.io/manifest/#dfn-steps-for-processing-the-display-member |
// Returns the parsed DisplayMode if any, DISPLAY_MODE_UNSPECIFIED if the |