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

Side by Side Diff: third_party/WebKit/public/web/WebFrameOwnerProperties.h

Issue 2391883006: Mojo-ify implementation of screen orientation locking/unlocking. (Closed)
Patch Set: Codereview update Created 4 years, 1 month 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 WebFrameOwnerProperties_h 5 #ifndef WebFrameOwnerProperties_h
6 #define WebFrameOwnerProperties_h 6 #define WebFrameOwnerProperties_h
7 7
8 #include "public/platform/WebString.h" 8 #include "../platform/WebString.h"
9 #include "public/platform/WebVector.h" 9 #include "../platform/WebVector.h"
10 #include "public/platform/modules/permissions/WebPermissionType.h" 10 #include "../platform/modules/permissions/WebPermissionType.h"
mlamouri (slow - plz ping) 2016/11/18 14:51:20 Why is this change required?
lunalu1 2016/11/21 20:23:52 Because the compiler complained. I don't remember
11 #include <algorithm> 11 #include <algorithm>
12 12
13 namespace blink { 13 namespace blink {
14 14
15 struct WebFrameOwnerProperties { 15 struct WebFrameOwnerProperties {
16 enum class ScrollingMode { Auto, AlwaysOff, AlwaysOn, Last = AlwaysOn }; 16 enum class ScrollingMode { Auto, AlwaysOff, AlwaysOn, Last = AlwaysOn };
17 17
18 ScrollingMode scrollingMode; 18 ScrollingMode scrollingMode;
19 int marginWidth; 19 int marginWidth;
20 int marginHeight; 20 int marginHeight;
(...skipping 20 matching lines...) Expand all
41 marginHeight(marginHeight), 41 marginHeight(marginHeight),
42 allowFullscreen(allowFullscreen), 42 allowFullscreen(allowFullscreen),
43 requiredCsp(requiredCsp), 43 requiredCsp(requiredCsp),
44 delegatedPermissions(delegatedPermissions) {} 44 delegatedPermissions(delegatedPermissions) {}
45 #endif 45 #endif
46 }; 46 };
47 47
48 } // namespace blink 48 } // namespace blink
49 49
50 #endif 50 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698