OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 #include "public/platform/WebFontDescription.h" | 92 #include "public/platform/WebFontDescription.h" |
93 #include "public/platform/WebHistoryScrollRestorationType.h" | 93 #include "public/platform/WebHistoryScrollRestorationType.h" |
94 #include "public/platform/WebInputEvent.h" | 94 #include "public/platform/WebInputEvent.h" |
95 #include "public/platform/WebMediaPlayer.h" | 95 #include "public/platform/WebMediaPlayer.h" |
96 #include "public/platform/WebMediaPlayerClient.h" | 96 #include "public/platform/WebMediaPlayerClient.h" |
97 #include "public/platform/WebMediaSource.h" | 97 #include "public/platform/WebMediaSource.h" |
98 #include "public/platform/WebMediaStreamSource.h" | 98 #include "public/platform/WebMediaStreamSource.h" |
99 #include "public/platform/WebMouseWheelEvent.h" | 99 #include "public/platform/WebMouseWheelEvent.h" |
100 #include "public/platform/WebPageVisibilityState.h" | 100 #include "public/platform/WebPageVisibilityState.h" |
101 #include "public/platform/WebReferrerPolicy.h" | 101 #include "public/platform/WebReferrerPolicy.h" |
| 102 #include "public/platform/WebScrollBoundaryBehavior.h" |
102 #include "public/platform/WebScrollbar.h" | 103 #include "public/platform/WebScrollbar.h" |
103 #include "public/platform/WebScrollbarBehavior.h" | 104 #include "public/platform/WebScrollbarBehavior.h" |
104 #include "public/platform/WebSelectionBound.h" | 105 #include "public/platform/WebSelectionBound.h" |
105 #include "public/platform/WebStorageQuotaError.h" | 106 #include "public/platform/WebStorageQuotaError.h" |
106 #include "public/platform/WebStorageQuotaType.h" | 107 #include "public/platform/WebStorageQuotaType.h" |
107 #include "public/platform/WebURLRequest.h" | 108 #include "public/platform/WebURLRequest.h" |
108 #include "public/platform/WebURLResponse.h" | 109 #include "public/platform/WebURLResponse.h" |
109 #include "public/platform/modules/indexeddb/WebIDBCursor.h" | 110 #include "public/platform/modules/indexeddb/WebIDBCursor.h" |
110 #include "public/platform/modules/indexeddb/WebIDBDatabase.h" | 111 #include "public/platform/modules/indexeddb/WebIDBDatabase.h" |
111 #include "public/platform/modules/indexeddb/WebIDBDatabaseException.h" | 112 #include "public/platform/modules/indexeddb/WebIDBDatabaseException.h" |
(...skipping 767 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
879 STATIC_ASSERT_ENUM(WebSettings::AutoplayPolicy::kNoUserGestureRequired, | 880 STATIC_ASSERT_ENUM(WebSettings::AutoplayPolicy::kNoUserGestureRequired, |
880 AutoplayPolicy::Type::kNoUserGestureRequired); | 881 AutoplayPolicy::Type::kNoUserGestureRequired); |
881 STATIC_ASSERT_ENUM(WebSettings::AutoplayPolicy::kUserGestureRequired, | 882 STATIC_ASSERT_ENUM(WebSettings::AutoplayPolicy::kUserGestureRequired, |
882 AutoplayPolicy::Type::kUserGestureRequired); | 883 AutoplayPolicy::Type::kUserGestureRequired); |
883 STATIC_ASSERT_ENUM( | 884 STATIC_ASSERT_ENUM( |
884 WebSettings::AutoplayPolicy::kUserGestureRequiredForCrossOrigin, | 885 WebSettings::AutoplayPolicy::kUserGestureRequiredForCrossOrigin, |
885 AutoplayPolicy::Type::kUserGestureRequiredForCrossOrigin); | 886 AutoplayPolicy::Type::kUserGestureRequiredForCrossOrigin); |
886 STATIC_ASSERT_ENUM(WebSettings::AutoplayPolicy::kDocumentUserActivationRequired, | 887 STATIC_ASSERT_ENUM(WebSettings::AutoplayPolicy::kDocumentUserActivationRequired, |
887 AutoplayPolicy::Type::kDocumentUserActivationRequired); | 888 AutoplayPolicy::Type::kDocumentUserActivationRequired); |
888 | 889 |
| 890 STATIC_ASSERT_ENUM(WebScrollBoundaryBehavior::kScrollBoundaryBehaviorTypeAuto, |
| 891 EScrollBoundaryBehavior::kAuto); |
| 892 STATIC_ASSERT_ENUM( |
| 893 WebScrollBoundaryBehavior::kScrollBoundaryBehaviorTypeContain, |
| 894 EScrollBoundaryBehavior::kContain); |
| 895 STATIC_ASSERT_ENUM(WebScrollBoundaryBehavior::kScrollBoundaryBehaviorTypeNone, |
| 896 EScrollBoundaryBehavior::kNone); |
| 897 |
889 // This ensures that the version number published in | 898 // This ensures that the version number published in |
890 // WebSerializedScriptValueVersion.h matches the serializer's understanding. | 899 // WebSerializedScriptValueVersion.h matches the serializer's understanding. |
891 // TODO(jbroman): Fix this to also account for the V8-side version. See | 900 // TODO(jbroman): Fix this to also account for the V8-side version. See |
892 // https://crbug.com/704293. | 901 // https://crbug.com/704293. |
893 static_assert(kSerializedScriptValueVersion == | 902 static_assert(kSerializedScriptValueVersion == |
894 SerializedScriptValue::kWireFormatVersion, | 903 SerializedScriptValue::kWireFormatVersion, |
895 "Update WebSerializedScriptValueVersion.h."); | 904 "Update WebSerializedScriptValueVersion.h."); |
896 | 905 |
897 } // namespace blink | 906 } // namespace blink |
OLD | NEW |