| 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 #include "platform/fonts/FontSmoothingMode.h" | 71 #include "platform/fonts/FontSmoothingMode.h" |
| 72 #include "platform/loader/fetch/ResourceLoadPriority.h" | 72 #include "platform/loader/fetch/ResourceLoadPriority.h" |
| 73 #include "platform/loader/fetch/ResourceResponse.h" | 73 #include "platform/loader/fetch/ResourceResponse.h" |
| 74 #include "platform/mediastream/MediaStreamSource.h" | 74 #include "platform/mediastream/MediaStreamSource.h" |
| 75 #include "platform/network/ContentSecurityPolicyParsers.h" | 75 #include "platform/network/ContentSecurityPolicyParsers.h" |
| 76 #include "platform/scroll/ScrollTypes.h" | 76 #include "platform/scroll/ScrollTypes.h" |
| 77 #include "platform/text/TextChecking.h" | 77 #include "platform/text/TextChecking.h" |
| 78 #include "platform/text/TextDecoration.h" | 78 #include "platform/text/TextDecoration.h" |
| 79 #include "platform/weborigin/ReferrerPolicy.h" | 79 #include "platform/weborigin/ReferrerPolicy.h" |
| 80 #include "platform/weborigin/SchemeRegistry.h" | 80 #include "platform/weborigin/SchemeRegistry.h" |
| 81 #include "platform/wtf/Assertions.h" |
| 82 #include "platform/wtf/text/StringImpl.h" |
| 81 #include "public/platform/WebApplicationCacheHost.h" | 83 #include "public/platform/WebApplicationCacheHost.h" |
| 82 #include "public/platform/WebClipboard.h" | 84 #include "public/platform/WebClipboard.h" |
| 83 #include "public/platform/WebContentSecurityPolicy.h" | 85 #include "public/platform/WebContentSecurityPolicy.h" |
| 84 #include "public/platform/WebContentSecurityPolicyStruct.h" | 86 #include "public/platform/WebContentSecurityPolicyStruct.h" |
| 85 #include "public/platform/WebCursorInfo.h" | 87 #include "public/platform/WebCursorInfo.h" |
| 86 #include "public/platform/WebFileError.h" | 88 #include "public/platform/WebFileError.h" |
| 87 #include "public/platform/WebFileInfo.h" | 89 #include "public/platform/WebFileInfo.h" |
| 88 #include "public/platform/WebFileSystem.h" | 90 #include "public/platform/WebFileSystem.h" |
| 89 #include "public/platform/WebFontDescription.h" | 91 #include "public/platform/WebFontDescription.h" |
| 90 #include "public/platform/WebHistoryScrollRestorationType.h" | 92 #include "public/platform/WebHistoryScrollRestorationType.h" |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 #include "public/web/WebSandboxFlags.h" | 129 #include "public/web/WebSandboxFlags.h" |
| 128 #include "public/web/WebSecurityPolicy.h" | 130 #include "public/web/WebSecurityPolicy.h" |
| 129 #include "public/web/WebSelection.h" | 131 #include "public/web/WebSelection.h" |
| 130 #include "public/web/WebSerializedScriptValueVersion.h" | 132 #include "public/web/WebSerializedScriptValueVersion.h" |
| 131 #include "public/web/WebSettings.h" | 133 #include "public/web/WebSettings.h" |
| 132 #include "public/web/WebSpeechRecognizerClient.h" | 134 #include "public/web/WebSpeechRecognizerClient.h" |
| 133 #include "public/web/WebTextCheckingResult.h" | 135 #include "public/web/WebTextCheckingResult.h" |
| 134 #include "public/web/WebTextDecorationType.h" | 136 #include "public/web/WebTextDecorationType.h" |
| 135 #include "public/web/WebTouchAction.h" | 137 #include "public/web/WebTouchAction.h" |
| 136 #include "public/web/WebView.h" | 138 #include "public/web/WebView.h" |
| 137 #include "wtf/Assertions.h" | |
| 138 #include "wtf/text/StringImpl.h" | |
| 139 | 139 |
| 140 namespace blink { | 140 namespace blink { |
| 141 | 141 |
| 142 #define STATIC_ASSERT_ENUM(a, b) \ | 142 #define STATIC_ASSERT_ENUM(a, b) \ |
| 143 static_assert(static_cast<int>(a) == static_cast<int>(b), \ | 143 static_assert(static_cast<int>(a) == static_cast<int>(b), \ |
| 144 "mismatching enum: " #a) | 144 "mismatching enum: " #a) |
| 145 | 145 |
| 146 STATIC_ASSERT_ENUM(WebAXEventActiveDescendantChanged, | 146 STATIC_ASSERT_ENUM(WebAXEventActiveDescendantChanged, |
| 147 AXObjectCache::AXActiveDescendantChanged); | 147 AXObjectCache::AXActiveDescendantChanged); |
| 148 STATIC_ASSERT_ENUM(WebAXEventAlert, AXObjectCache::AXAlert); | 148 STATIC_ASSERT_ENUM(WebAXEventAlert, AXObjectCache::AXAlert); |
| (...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 871 | 871 |
| 872 // This ensures that the version number published in | 872 // This ensures that the version number published in |
| 873 // WebSerializedScriptValueVersion.h matches the serializer's understanding. | 873 // WebSerializedScriptValueVersion.h matches the serializer's understanding. |
| 874 // TODO(jbroman): Fix this to also account for the V8-side version. See | 874 // TODO(jbroman): Fix this to also account for the V8-side version. See |
| 875 // https://crbug.com/704293. | 875 // https://crbug.com/704293. |
| 876 static_assert(kSerializedScriptValueVersion == | 876 static_assert(kSerializedScriptValueVersion == |
| 877 SerializedScriptValue::wireFormatVersion, | 877 SerializedScriptValue::wireFormatVersion, |
| 878 "Update WebSerializedScriptValueVersion.h."); | 878 "Update WebSerializedScriptValueVersion.h."); |
| 879 | 879 |
| 880 } // namespace blink | 880 } // namespace blink |
| OLD | NEW |