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 763 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
875 ProgressBarCompletion::kResourcesBeforeDCLAndSameOriginIFrames); | 876 ProgressBarCompletion::kResourcesBeforeDCLAndSameOriginIFrames); |
876 | 877 |
877 STATIC_ASSERT_ENUM(WebSettings::AutoplayPolicy::kNoUserGestureRequired, | 878 STATIC_ASSERT_ENUM(WebSettings::AutoplayPolicy::kNoUserGestureRequired, |
878 AutoplayPolicy::Type::kNoUserGestureRequired); | 879 AutoplayPolicy::Type::kNoUserGestureRequired); |
879 STATIC_ASSERT_ENUM(WebSettings::AutoplayPolicy::kUserGestureRequired, | 880 STATIC_ASSERT_ENUM(WebSettings::AutoplayPolicy::kUserGestureRequired, |
880 AutoplayPolicy::Type::kUserGestureRequired); | 881 AutoplayPolicy::Type::kUserGestureRequired); |
881 STATIC_ASSERT_ENUM( | 882 STATIC_ASSERT_ENUM( |
882 WebSettings::AutoplayPolicy::kUserGestureRequiredForCrossOrigin, | 883 WebSettings::AutoplayPolicy::kUserGestureRequiredForCrossOrigin, |
883 AutoplayPolicy::Type::kUserGestureRequiredForCrossOrigin); | 884 AutoplayPolicy::Type::kUserGestureRequiredForCrossOrigin); |
884 | 885 |
| 886 STATIC_ASSERT_ENUM(WebScrollBoundaryBehavior::kScrollBoundaryBehaviorTypeAuto, |
| 887 EScrollBoundaryBehavior::kAuto); |
| 888 STATIC_ASSERT_ENUM( |
| 889 WebScrollBoundaryBehavior::kScrollBoundaryBehaviorTypeContain, |
| 890 EScrollBoundaryBehavior::kContain); |
| 891 STATIC_ASSERT_ENUM(WebScrollBoundaryBehavior::kScrollBoundaryBehaviorTypeNone, |
| 892 EScrollBoundaryBehavior::kNone); |
| 893 |
885 // This ensures that the version number published in | 894 // This ensures that the version number published in |
886 // WebSerializedScriptValueVersion.h matches the serializer's understanding. | 895 // WebSerializedScriptValueVersion.h matches the serializer's understanding. |
887 // TODO(jbroman): Fix this to also account for the V8-side version. See | 896 // TODO(jbroman): Fix this to also account for the V8-side version. See |
888 // https://crbug.com/704293. | 897 // https://crbug.com/704293. |
889 static_assert(kSerializedScriptValueVersion == | 898 static_assert(kSerializedScriptValueVersion == |
890 SerializedScriptValue::kWireFormatVersion, | 899 SerializedScriptValue::kWireFormatVersion, |
891 "Update WebSerializedScriptValueVersion.h."); | 900 "Update WebSerializedScriptValueVersion.h."); |
892 | 901 |
893 } // namespace blink | 902 } // namespace blink |
OLD | NEW |