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

Unified Diff: content/public/common/manifest.h

Issue 576073004: Add support for 'orientation' in Manifest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@manifest_display
Patch Set: Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: content/public/common/manifest.h
diff --git a/content/public/common/manifest.h b/content/public/common/manifest.h
index c790babe69598869765cd4d78acf1f2970d48fb9..35a49b138a68b490365b8cd93e0b0eb55952d9d5 100644
--- a/content/public/common/manifest.h
+++ b/content/public/common/manifest.h
@@ -7,6 +7,7 @@
#include "base/strings/nullable_string16.h"
#include "content/common/content_export.h"
+#include "third_party/WebKit/public/platform/WebScreenOrientationLockType.h"
#include "url/gurl.h"
namespace content {
@@ -43,6 +44,10 @@ struct CONTENT_EXPORT Manifest {
// present.
DisplayMode display;
+ // Set to blink::WebScreenOrientationLockDefault if the parsing failed or the
+ // field was not present.
+ blink::WebScreenOrientationLockType orientation;
+
// 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.

Powered by Google App Engine
This is Rietveld 408576698