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

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

Issue 1151373005: Update Blink's screen orientation path in Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix one include Created 5 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 <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
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_
OLDNEW
« no previous file with comments | « content/public/browser/screen_orientation_provider.cc ('k') | content/public/test/layouttest_support.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698