| 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 15 matching lines...) Expand all  Loading... | 
| 26  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 
| 27  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 
| 28  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 
| 29  */ | 29  */ | 
| 30 | 30 | 
| 31 // Use this file to assert that various WebKit API enum values continue | 31 // Use this file to assert that various WebKit API enum values continue | 
| 32 // matching WebCore defined enum values. | 32 // matching WebCore defined enum values. | 
| 33 | 33 | 
| 34 #include "config.h" | 34 #include "config.h" | 
| 35 | 35 | 
| 36 #include "AXObjectCache.h" |  | 
| 37 #include "AccessibilityObject.h" |  | 
| 38 #include "ApplicationCacheHost.h" | 36 #include "ApplicationCacheHost.h" | 
| 39 #include "ContentSecurityPolicy.h" | 37 #include "ContentSecurityPolicy.h" | 
| 40 #include "Cursor.h" | 38 #include "Cursor.h" | 
| 41 #include "DocumentMarker.h" | 39 #include "DocumentMarker.h" | 
| 42 #include "EditorInsertAction.h" | 40 #include "EditorInsertAction.h" | 
| 43 #include "ExceptionCode.h" | 41 #include "ExceptionCode.h" | 
| 44 #include "FileError.h" | 42 #include "FileError.h" | 
| 45 #include "FileMetadata.h" | 43 #include "FileMetadata.h" | 
| 46 #include "FileSystemType.h" | 44 #include "FileSystemType.h" | 
| 47 #include "FilterOperation.h" | 45 #include "FilterOperation.h" | 
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 103 #include "WebNotificationPresenter.h" | 101 #include "WebNotificationPresenter.h" | 
| 104 #include "WebPageVisibilityState.h" | 102 #include "WebPageVisibilityState.h" | 
| 105 #include "WebSettings.h" | 103 #include "WebSettings.h" | 
| 106 #include "WebSpeechRecognizerClient.h" | 104 #include "WebSpeechRecognizerClient.h" | 
| 107 #include "WebStorageQuotaError.h" | 105 #include "WebStorageQuotaError.h" | 
| 108 #include "WebStorageQuotaType.h" | 106 #include "WebStorageQuotaType.h" | 
| 109 #include "WebTextAffinity.h" | 107 #include "WebTextAffinity.h" | 
| 110 #include "WebTextCheckingResult.h" | 108 #include "WebTextCheckingResult.h" | 
| 111 #include "WebTextCheckingType.h" | 109 #include "WebTextCheckingType.h" | 
| 112 #include "WebView.h" | 110 #include "WebView.h" | 
|  | 111 #include "core/accessibility/AXObjectCache.h" | 
|  | 112 #include "core/accessibility/AccessibilityObject.h" | 
| 113 #include <public/WebClipboard.h> | 113 #include <public/WebClipboard.h> | 
| 114 #include <public/WebFileError.h> | 114 #include <public/WebFileError.h> | 
| 115 #include <public/WebFileInfo.h> | 115 #include <public/WebFileInfo.h> | 
| 116 #include <public/WebFileSystem.h> | 116 #include <public/WebFileSystem.h> | 
| 117 #include <public/WebFilterOperation.h> | 117 #include <public/WebFilterOperation.h> | 
| 118 #include <public/WebMediaStreamSource.h> | 118 #include <public/WebMediaStreamSource.h> | 
|  | 119 #include <public/WebReferrerPolicy.h> | 
| 119 #include <public/WebRTCDataChannelHandlerClient.h> | 120 #include <public/WebRTCDataChannelHandlerClient.h> | 
| 120 #include <public/WebRTCPeerConnectionHandlerClient.h> | 121 #include <public/WebRTCPeerConnectionHandlerClient.h> | 
| 121 #include <public/WebReferrerPolicy.h> |  | 
| 122 #include <public/WebScrollbar.h> | 122 #include <public/WebScrollbar.h> | 
| 123 #include <public/WebURLRequest.h> | 123 #include <public/WebURLRequest.h> | 
| 124 #include <public/WebURLResponse.h> | 124 #include <public/WebURLResponse.h> | 
| 125 #include <wtf/Assertions.h> | 125 #include <wtf/Assertions.h> | 
| 126 #include <wtf/text/StringImpl.h> | 126 #include <wtf/text/StringImpl.h> | 
| 127 | 127 | 
| 128 #define COMPILE_ASSERT_MATCHING_ENUM(webkit_name, webcore_name) \ | 128 #define COMPILE_ASSERT_MATCHING_ENUM(webkit_name, webcore_name) \ | 
| 129     COMPILE_ASSERT(int(WebKit::webkit_name) == int(WebCore::webcore_name), misma
     tching_enums) | 129     COMPILE_ASSERT(int(WebKit::webkit_name) == int(WebCore::webcore_name), misma
     tching_enums) | 
| 130 | 130 | 
| 131 // These constants are in WTF, bring them into WebCore so the ASSERT still works
      for them! | 131 // These constants are in WTF, bring them into WebCore so the ASSERT still works
      for them! | 
| (...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 610 COMPILE_ASSERT_MATCHING_ENUM(WebURLRequest::PriorityVeryLow, ResourceLoadPriorit
     yVeryLow); | 610 COMPILE_ASSERT_MATCHING_ENUM(WebURLRequest::PriorityVeryLow, ResourceLoadPriorit
     yVeryLow); | 
| 611 COMPILE_ASSERT_MATCHING_ENUM(WebURLRequest::PriorityLow, ResourceLoadPriorityLow
     ); | 611 COMPILE_ASSERT_MATCHING_ENUM(WebURLRequest::PriorityLow, ResourceLoadPriorityLow
     ); | 
| 612 COMPILE_ASSERT_MATCHING_ENUM(WebURLRequest::PriorityMedium, ResourceLoadPriority
     Medium); | 612 COMPILE_ASSERT_MATCHING_ENUM(WebURLRequest::PriorityMedium, ResourceLoadPriority
     Medium); | 
| 613 COMPILE_ASSERT_MATCHING_ENUM(WebURLRequest::PriorityHigh, ResourceLoadPriorityHi
     gh); | 613 COMPILE_ASSERT_MATCHING_ENUM(WebURLRequest::PriorityHigh, ResourceLoadPriorityHi
     gh); | 
| 614 COMPILE_ASSERT_MATCHING_ENUM(WebURLRequest::PriorityVeryHigh, ResourceLoadPriori
     tyVeryHigh); | 614 COMPILE_ASSERT_MATCHING_ENUM(WebURLRequest::PriorityVeryHigh, ResourceLoadPriori
     tyVeryHigh); | 
| 615 | 615 | 
| 616 COMPILE_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelDebug, DebugMessageLevel); | 616 COMPILE_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelDebug, DebugMessageLevel); | 
| 617 COMPILE_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelLog, LogMessageLevel); | 617 COMPILE_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelLog, LogMessageLevel); | 
| 618 COMPILE_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelWarning, WarningMessageLeve
     l); | 618 COMPILE_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelWarning, WarningMessageLeve
     l); | 
| 619 COMPILE_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelError, ErrorMessageLevel); | 619 COMPILE_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelError, ErrorMessageLevel); | 
| OLD | NEW | 
|---|