| OLD | NEW |
| 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 <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/strings/nullable_string16.h" | 10 #include "base/strings/nullable_string16.h" |
| 11 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
| 12 #include "third_party/WebKit/public/platform/WebScreenOrientationLockType.h" | 12 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebScree
nOrientationLockType.h" |
| 13 #include "ui/gfx/geometry/size.h" | 13 #include "ui/gfx/geometry/size.h" |
| 14 #include "url/gurl.h" | 14 #include "url/gurl.h" |
| 15 | 15 |
| 16 namespace content { | 16 namespace content { |
| 17 | 17 |
| 18 // The Manifest structure is an internal representation of the Manifest file | 18 // The Manifest structure is an internal representation of the Manifest file |
| 19 // described in the "Manifest for Web Application" document: | 19 // described in the "Manifest for Web Application" document: |
| 20 // http://w3c.github.io/manifest/ | 20 // http://w3c.github.io/manifest/ |
| 21 struct CONTENT_EXPORT Manifest { | 21 struct CONTENT_EXPORT Manifest { |
| 22 enum DisplayMode { | 22 enum DisplayMode { |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 | 119 |
| 120 // Maximum length for all the strings inside the Manifest when it is sent over | 120 // Maximum length for all the strings inside the Manifest when it is sent over |
| 121 // IPC. The renderer process should truncate the strings before sending the | 121 // IPC. The renderer process should truncate the strings before sending the |
| 122 // Manifest and the browser process must do the same when receiving it. | 122 // Manifest and the browser process must do the same when receiving it. |
| 123 static const size_t kMaxIPCStringLength; | 123 static const size_t kMaxIPCStringLength; |
| 124 }; | 124 }; |
| 125 | 125 |
| 126 } // namespace content | 126 } // namespace content |
| 127 | 127 |
| 128 #endif // CONTENT_PUBLIC_COMMON_MANIFEST_H_ | 128 #endif // CONTENT_PUBLIC_COMMON_MANIFEST_H_ |
| OLD | NEW |