1 /* 2 * Copyright (C) 2012 Google Inc. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions are 6 * met: 7 * 8 * * Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. 10 * * Redistributions in binary form must reproduce the above 11 * copyright notice, this list of conditions and the following disclaimer 12 * in the documentation and/or other materials provided with the 13 * distribution. 14 * * Neither the name of Google Inc. nor the names of its 15 * contributors may be used to endorse or promote products derived from 16 * this software without specific prior written permission. 17 * 18 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 21 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 22 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 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. 29 */ 30 31 // Use this file to assert that various WebKit API enum values continue 32 // matching WebCore defined enum values. 33 34 #include "config.h" 35 36 #include "WebAXEnums.h" 37 #include "WebAXObject.h" 38 #include "WebApplicationCacheHost.h" 39 #include "WebConsoleMessage.h" 40 #include "WebContentSecurityPolicy.h" 41 #include "WebFontDescription.h" 42 #include "WebFormElement.h" 43 #include "WebGeolocationError.h" 44 #include "WebGeolocationPosition.h" 45 #include "WebIconURL.h" 46 #include "WebInputElement.h" 47 #include "WebNotificationPresenter.h" 48 #include "WebPageVisibilityState.h" 49 #include "WebSettings.h" 50 #include "WebSpeechRecognizerClient.h" 51 #include "WebTextAffinity.h" 52 #include "WebTextCheckingResult.h" 53 #include "WebTextCheckingType.h" 54 #include "WebTextDecorationType.h" 55 #include "WebView.h" 56 #include "bindings/v8/SerializedScriptValue.h" 57 #include "core/accessibility/AXObject.h" 58 #include "core/accessibility/AXObjectCache.h" 59 #include "core/dom/DocumentMarker.h" 60 #include "core/dom/ExceptionCode.h" 61 #include "core/dom/IconURL.h" 62 #include "core/editing/TextAffinity.h" 63 #include "core/fileapi/FileError.h" 64 #include "core/frame/ContentSecurityPolicy.h" 65 #include "core/html/HTMLFormElement.h" 66 #include "core/html/HTMLInputElement.h" 67 #include "core/html/shadow/TextControlInnerElements.h" 68 #include "core/loader/NavigationPolicy.h" 69 #include "core/loader/appcache/ApplicationCacheHost.h" 70 #include "core/page/InjectedStyleSheet.h" 71 #include "core/page/PageVisibilityState.h" 72 #include "core/frame/Settings.h" 73 #include "core/platform/mediastream/RTCDataChannelHandlerClient.h" 74 #include "core/platform/mediastream/RTCPeerConnectionHandlerClient.h" 75 #include "core/rendering/CompositingReasons.h" 76 #include "core/rendering/style/RenderStyleConstants.h" 77 #include "modules/geolocation/GeolocationError.h" 78 #include "modules/geolocation/GeolocationPosition.h" 79 #include "modules/indexeddb/IDBKey.h" 80 #include "modules/indexeddb/IDBKeyPath.h" 81 #include "modules/indexeddb/IDBMetadata.h" 82 #include "modules/indexeddb/IndexedDB.h" 83 #include "modules/indexeddb/chromium/IDBFactoryBackendInterfaceChromium.h" 84 #include "modules/notifications/NotificationClient.h" 85 #include "modules/quota/StorageQuota.h" 86 #include "modules/speech/SpeechRecognitionError.h" 87 #include "platform/Cursor.h" 88 #include "platform/FileMetadata.h" 89 #include "platform/FileSystemType.h" 90 #include "platform/drm/ContentDecryptionModuleSession.h" 91 #include "platform/fonts/FontDescription.h" 92 #include "platform/fonts/FontSmoothingMode.h" 93 #include "platform/graphics/filters/FilterOperation.h" 94 #include "platform/graphics/media/MediaPlayer.h" 95 #include "platform/mediastream/MediaStreamSource.h" 96 #include "platform/network/ResourceLoadPriority.h" 97 #include "platform/network/ResourceResponse.h" 98 #include "platform/text/TextChecking.h" 99 #include "platform/text/TextDecoration.h" 100 #include "platform/weborigin/ReferrerPolicy.h" 101 #include "public/platform/WebClipboard.h" 102 #include "public/platform/WebCompositingReasons.h" 103 #include "public/platform/WebCursorInfo.h" 104 #include "public/platform/WebFileError.h" 105 #include "public/platform/WebFileInfo.h" 106 #include "public/platform/WebFileSystem.h" 107 #include "public/platform/WebIDBCursor.h" 108 #include "public/platform/WebIDBDatabase.h" 109 #include "public/platform/WebIDBDatabaseException.h" 110 #include "public/platform/WebIDBFactory.h" 111 #include "public/platform/WebIDBKey.h" 112 #include "public/platform/WebIDBKeyPath.h" 113 #include "public/platform/WebIDBMetadata.h" 114 #include "public/platform/WebIDBTypes.h" 115 #include "public/platform/WebMediaPlayer.h" 116 #include "public/platform/WebMediaPlayerClient.h" 117 #include "public/platform/WebMediaSource.h" 118 #include "public/platform/WebMediaStreamSource.h" 119 #include "public/platform/WebRTCDataChannelHandlerClient.h" 120 #include "public/platform/WebRTCPeerConnectionHandlerClient.h" 121 #include "public/platform/WebReferrerPolicy.h" 122 #include "public/platform/WebScrollbar.h" 123 #include "public/platform/WebStorageQuotaError.h" 124 #include "public/platform/WebStorageQuotaType.h" 125 #include "public/platform/WebURLRequest.h" 126 #include "public/platform/WebURLResponse.h" 127 #include "public/web/WebNavigationPolicy.h" 128 #include "public/web/WebSerializedScriptValueVersion.h" 129 #include "public/web/WebTouchAction.h" 130 #include "wtf/Assertions.h" 131 #include "wtf/text/StringImpl.h" 132 133 #define COMPILE_ASSERT_MATCHING_ENUM(webkit_name, webcore_name) \ 134 COMPILE_ASSERT(int(blink::webkit_name) == int(WebCore::webcore_name), mismatching_enums) 135 136 #define COMPILE_ASSERT_MATCHING_UINT64(webkit_name, webcore_name) \ 137 COMPILE_ASSERT(blink::webkit_name == WebCore::webcore_name, mismatching_enums) 138 139 // These constants are in WTF, bring them into WebCore so the ASSERT still works for them! 140 namespace WebCore { 141 using WTF::TextCaseSensitive; 142 using WTF::TextCaseInsensitive; 143 }; 144 145 COMPILE_ASSERT_MATCHING_ENUM(WebAXEventActiveDescendantChanged, AXObjectCache::AXActiveDescendantChanged); 146 COMPILE_ASSERT_MATCHING_ENUM(WebAXEventAlert, AXObjectCache::AXAlert); 147 COMPILE_ASSERT_MATCHING_ENUM(WebAXEventAriaAttributeChanged, AXObjectCache::AXAriaAttributeChanged); 148 COMPILE_ASSERT_MATCHING_ENUM(WebAXEventAutocorrectionOccured, AXObjectCache::AXAutocorrectionOccured); 149 COMPILE_ASSERT_MATCHING_ENUM(WebAXEventBlur, AXObjectCache::AXBlur); 150 COMPILE_ASSERT_MATCHING_ENUM(WebAXEventCheckedStateChanged, AXObjectCache::AXCheckedStateChanged); 151 COMPILE_ASSERT_MATCHING_ENUM(WebAXEventChildrenChanged, AXObjectCache::AXChildrenChanged); 152 COMPILE_ASSERT_MATCHING_ENUM(WebAXEventFocus, AXObjectCache::AXFocusedUIElementChanged); 153 COMPILE_ASSERT_MATCHING_ENUM(WebAXEventHide, AXObjectCache::AXHide); 154 COMPILE_ASSERT_MATCHING_ENUM(WebAXEventInvalidStatusChanged, AXObjectCache::AXInvalidStatusChanged); 155 COMPILE_ASSERT_MATCHING_ENUM(WebAXEventLayoutComplete, AXObjectCache::AXLayoutComplete); 156 COMPILE_ASSERT_MATCHING_ENUM(WebAXEventLiveRegionChanged, AXObjectCache::AXLiveRegionChanged); 157 COMPILE_ASSERT_MATCHING_ENUM(WebAXEventLoadComplete, AXObjectCache::AXLoadComplete); 158 COMPILE_ASSERT_MATCHING_ENUM(WebAXEventLocationChanged, AXObjectCache::AXLocationChanged); 159 COMPILE_ASSERT_MATCHING_ENUM(WebAXEventMenuListItemSelected, AXObjectCache::AXMenuListItemSelected); 160 COMPILE_ASSERT_MATCHING_ENUM(WebAXEventMenuListValueChanged, AXObjectCache::AXMenuListValueChanged); 161 COMPILE_ASSERT_MATCHING_ENUM(WebAXEventRowCollapsed, AXObjectCache::AXRowCollapsed); 162 COMPILE_ASSERT_MATCHING_ENUM(WebAXEventRowCountChanged, AXObjectCache::AXRowCountChanged); 163 COMPILE_ASSERT_MATCHING_ENUM(WebAXEventRowExpanded, AXObjectCache::AXRowExpanded); 164 COMPILE_ASSERT_MATCHING_ENUM(WebAXEventScrolledToAnchor, AXObjectCache::AXScrolledToAnchor); 165 COMPILE_ASSERT_MATCHING_ENUM(WebAXEventSelectedChildrenChanged, AXObjectCache::AXSelectedChildrenChanged); 166 COMPILE_ASSERT_MATCHING_ENUM(WebAXEventSelectedTextChanged, AXObjectCache::AXSelectedTextChanged); 167 COMPILE_ASSERT_MATCHING_ENUM(WebAXEventShow, AXObjectCache::AXShow); 168 COMPILE_ASSERT_MATCHING_ENUM(WebAXEventTextChanged, AXObjectCache::AXTextChanged); 169 COMPILE_ASSERT_MATCHING_ENUM(WebAXEventTextInserted, AXObjectCache::AXTextInserted); 170 COMPILE_ASSERT_MATCHING_ENUM(WebAXEventTextRemoved, AXObjectCache::AXTextRemoved); 171 COMPILE_ASSERT_MATCHING_ENUM(WebAXEventValueChanged, AXObjectCache::AXValueChanged); 172 173 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleAlertDialog, AlertDialogRole); 174 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleAlert, AlertRole); 175 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleAnnotation, AnnotationRole); 176 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleApplication, ApplicationRole); 177 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleArticle, ArticleRole); 178 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleBanner, BannerRole); 179 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleBrowser, BrowserRole); 180 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleBusyIndicator, BusyIndicatorRole); 181 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleButton, ButtonRole); 182 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleCanvas, CanvasRole); 183 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleCell, CellRole); 184 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleCheckBox, CheckBoxRole); 185 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleColorWell, ColorWellRole); 186 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleColumnHeader, ColumnHeaderRole); 187 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleColumn, ColumnRole); 188 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleComboBox, ComboBoxRole); 189 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleComplementary, ComplementaryRole); 190 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleContentInfo, ContentInfoRole); 191 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleDefinition, DefinitionRole); 192 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleDescriptionListDetail, DescriptionListDetailRole); 193 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleDescriptionListTerm, DescriptionListTermRole); 194 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleDialog, DialogRole); 195 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleDirectory, DirectoryRole); 196 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleDisclosureTriangle, DisclosureTriangleRole); 197 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleDiv, DivRole); 198 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleDocument, DocumentRole); 199 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleDrawer, DrawerRole); 200 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleEditableText, EditableTextRole); 201 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleFooter, FooterRole); 202 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleForm, FormRole); 203 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleGrid, GridRole); 204 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleGroup, GroupRole); 205 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleGrowArea, GrowAreaRole); 206 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleHeading, HeadingRole); 207 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleHelpTag, HelpTagRole); 208 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleIgnored, IgnoredRole); 209 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleImageMapLink, ImageMapLinkRole); 210 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleImageMap, ImageMapRole); 211 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleImage, ImageRole); 212 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleIncrementor, IncrementorRole); 213 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleInlineTextBox, InlineTextBoxRole); 214 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleLabel, LabelRole); 215 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleLegend, LegendRole); 216 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleLink, LinkRole); 217 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleListBoxOption, ListBoxOptionRole); 218 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleListBox, ListBoxRole); 219 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleListItem, ListItemRole); 220 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleListMarker, ListMarkerRole); 221 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleList, ListRole); 222 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleLog, LogRole); 223 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleMain, MainRole); 224 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleMarquee, MarqueeRole); 225 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleMathElement, MathElementRole); 226 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleMath, MathRole); 227 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleMatte, MatteRole); 228 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleMenuBar, MenuBarRole); 229 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleMenuButton, MenuButtonRole); 230 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleMenuItem, MenuItemRole); 231 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleMenuListOption, MenuListOptionRole); 232 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleMenuListPopup, MenuListPopupRole); 233 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleMenu, MenuRole); 234 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleNavigation, NavigationRole); 235 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleNote, NoteRole); 236 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleOutline, OutlineRole); 237 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleParagraph, ParagraphRole); 238 COMPILE_ASSERT_MATCHING_ENUM(WebAXRolePopUpButton, PopUpButtonRole); 239 COMPILE_ASSERT_MATCHING_ENUM(WebAXRolePresentational, PresentationalRole); 240 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleProgressIndicator, ProgressIndicatorRole); 241 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleRadioButton, RadioButtonRole); 242 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleRadioGroup, RadioGroupRole); 243 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleRegion, RegionRole); 244 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleRootWebArea, RootWebAreaRole); 245 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleRowHeader, RowHeaderRole); 246 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleRow, RowRole); 247 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleRulerMarker, RulerMarkerRole); 248 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleRuler, RulerRole); 249 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleSVGRoot, SVGRootRole); 250 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleScrollArea, ScrollAreaRole); 251 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleScrollBar, ScrollBarRole); 252 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleSeamlessWebArea, SeamlessWebAreaRole); 253 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleSearch, SearchRole); 254 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleSheet, SheetRole); 255 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleSlider, SliderRole); 256 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleSliderThumb, SliderThumbRole); 257 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleSpinButtonPart, SpinButtonPartRole); 258 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleSpinButton, SpinButtonRole); 259 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleSplitGroup, SplitGroupRole); 260 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleSplitter, SplitterRole); 261 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleStaticText, StaticTextRole); 262 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleStatus, StatusRole); 263 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleSystemWide, SystemWideRole); 264 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleTabGroup, TabGroupRole); 265 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleTabList, TabListRole); 266 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleTabPanel, TabPanelRole); 267 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleTab, TabRole); 268 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleTableHeaderContainer, TableHeaderContainerRole); 269 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleTable, TableRole); 270 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleTextArea, TextAreaRole); 271 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleTextField, TextFieldRole); 272 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleTimer, TimerRole); 273 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleToggleButton, ToggleButtonRole); 274 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleToolbar, ToolbarRole); 275 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleTreeGrid, TreeGridRole); 276 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleTreeItem, TreeItemRole); 277 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleTree, TreeRole); 278 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleUnknown, UnknownRole); 279 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleUserInterfaceTooltip, UserInterfaceTooltipRole); 280 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleValueIndicator, ValueIndicatorRole); 281 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleWebArea, WebAreaRole); 282 COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleWindow, WindowRole); 283 284 COMPILE_ASSERT_MATCHING_ENUM(WebAXStateBusy, AXBusyState); 285 COMPILE_ASSERT_MATCHING_ENUM(WebAXStateChecked, AXCheckedState); 286 COMPILE_ASSERT_MATCHING_ENUM(WebAXStateCollapsed, AXCollapsedState); 287 COMPILE_ASSERT_MATCHING_ENUM(WebAXStateEnabled, AXEnabledState); 288 COMPILE_ASSERT_MATCHING_ENUM(WebAXStateExpanded, AXExpandedState); 289 COMPILE_ASSERT_MATCHING_ENUM(WebAXStateFocusable, AXFocusableState); 290 COMPILE_ASSERT_MATCHING_ENUM(WebAXStateFocused, AXFocusedState); 291 COMPILE_ASSERT_MATCHING_ENUM(WebAXStateHaspopup, AXHaspopupState); 292 COMPILE_ASSERT_MATCHING_ENUM(WebAXStateHovered, AXHoveredState); 293 COMPILE_ASSERT_MATCHING_ENUM(WebAXStateIndeterminate, AXIndeterminateState); 294 COMPILE_ASSERT_MATCHING_ENUM(WebAXStateInvisible, AXInvisibleState); 295 COMPILE_ASSERT_MATCHING_ENUM(WebAXStateLinked, AXLinkedState); 296 COMPILE_ASSERT_MATCHING_ENUM(WebAXStateMultiselectable, AXMultiselectableState); 297 COMPILE_ASSERT_MATCHING_ENUM(WebAXStateOffscreen, AXOffscreenState); 298 COMPILE_ASSERT_MATCHING_ENUM(WebAXStatePressed, AXPressedState); 299 COMPILE_ASSERT_MATCHING_ENUM(WebAXStateProtected, AXProtectedState); 300 COMPILE_ASSERT_MATCHING_ENUM(WebAXStateReadonly, AXReadonlyState); 301 COMPILE_ASSERT_MATCHING_ENUM(WebAXStateRequired, AXRequiredState); 302 COMPILE_ASSERT_MATCHING_ENUM(WebAXStateSelectable, AXSelectableState); 303 COMPILE_ASSERT_MATCHING_ENUM(WebAXStateSelected, AXSelectedState); 304 COMPILE_ASSERT_MATCHING_ENUM(WebAXStateVertical, AXVerticalState); 305 COMPILE_ASSERT_MATCHING_ENUM(WebAXStateVisited, AXVisitedState); 306 307 COMPILE_ASSERT_MATCHING_ENUM(WebAXTextDirectionLR, AccessibilityTextDirectionLeftToRight); 308 COMPILE_ASSERT_MATCHING_ENUM(WebAXTextDirectionRL, AccessibilityTextDirectionRightToLeft); 309 COMPILE_ASSERT_MATCHING_ENUM(WebAXTextDirectionTB, AccessibilityTextDirectionTopToBottom); 310 COMPILE_ASSERT_MATCHING_ENUM(WebAXTextDirectionBT, AccessibilityTextDirectionBottomToTop); 311 312 COMPILE_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::Uncached, ApplicationCacheHost::UNCACHED); 313 COMPILE_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::Idle, ApplicationCacheHost::IDLE); 314 COMPILE_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::Checking, ApplicationCacheHost::CHECKING); 315 COMPILE_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::Downloading, ApplicationCacheHost::DOWNLOADING); 316 COMPILE_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::UpdateReady, ApplicationCacheHost::UPDATEREADY); 317 COMPILE_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::Obsolete, ApplicationCacheHost::OBSOLETE); 318 COMPILE_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::CheckingEvent, ApplicationCacheHost::CHECKING_EVENT); 319 COMPILE_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::ErrorEvent, ApplicationCacheHost::ERROR_EVENT); 320 COMPILE_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::NoUpdateEvent, ApplicationCacheHost::NOUPDATE_EVENT); 321 COMPILE_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::DownloadingEvent, ApplicationCacheHost::DOWNLOADING_EVENT); 322 COMPILE_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::ProgressEvent, ApplicationCacheHost::PROGRESS_EVENT); 323 COMPILE_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::UpdateReadyEvent, ApplicationCacheHost::UPDATEREADY_EVENT); 324 COMPILE_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::CachedEvent, ApplicationCacheHost::CACHED_EVENT); 325 COMPILE_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::ObsoleteEvent, ApplicationCacheHost::OBSOLETE_EVENT); 326 327 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypePointer, Cursor::Pointer); 328 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeCross, Cursor::Cross); 329 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeHand, Cursor::Hand); 330 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeIBeam, Cursor::IBeam); 331 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeWait, Cursor::Wait); 332 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeHelp, Cursor::Help); 333 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeEastResize, Cursor::EastResize); 334 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeNorthResize, Cursor::NorthResize); 335 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeNorthEastResize, Cursor::NorthEastResize); 336 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeNorthWestResize, Cursor::NorthWestResize); 337 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeSouthResize, Cursor::SouthResize); 338 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeSouthEastResize, Cursor::SouthEastResize); 339 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeSouthWestResize, Cursor::SouthWestResize); 340 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeWestResize, Cursor::WestResize); 341 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeNorthSouthResize, Cursor::NorthSouthResize); 342 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeEastWestResize, Cursor::EastWestResize); 343 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeNorthEastSouthWestResize, Cursor::NorthEastSouthWestResize); 344 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeNorthWestSouthEastResize, Cursor::NorthWestSouthEastResize); 345 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeColumnResize, Cursor::ColumnResize); 346 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeRowResize, Cursor::RowResize); 347 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeMiddlePanning, Cursor::MiddlePanning); 348 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeEastPanning, Cursor::EastPanning); 349 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeNorthPanning, Cursor::NorthPanning); 350 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeNorthEastPanning, Cursor::NorthEastPanning); 351 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeNorthWestPanning, Cursor::NorthWestPanning); 352 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeSouthPanning, Cursor::SouthPanning); 353 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeSouthEastPanning, Cursor::SouthEastPanning); 354 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeSouthWestPanning, Cursor::SouthWestPanning); 355 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeWestPanning, Cursor::WestPanning); 356 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeMove, Cursor::Move); 357 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeVerticalText, Cursor::VerticalText); 358 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeCell, Cursor::Cell); 359 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeContextMenu, Cursor::ContextMenu); 360 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeAlias, Cursor::Alias); 361 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeProgress, Cursor::Progress); 362 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeNoDrop, Cursor::NoDrop); 363 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeCopy, Cursor::Copy); 364 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeNone, Cursor::None); 365 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeNotAllowed, Cursor::NotAllowed); 366 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeZoomIn, Cursor::ZoomIn); 367 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeZoomOut, Cursor::ZoomOut); 368 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeGrab, Cursor::Grab); 369 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeGrabbing, Cursor::Grabbing); 370 COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeCustom, Cursor::Custom); 371 372 COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::GenericFamilyNone, FontDescription::NoFamily); 373 COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::GenericFamilyStandard, FontDescription::StandardFamily); 374 COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::GenericFamilySerif, FontDescription::SerifFamily); 375 COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::GenericFamilySansSerif, FontDescription::SansSerifFamily); 376 COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::GenericFamilyMonospace, FontDescription::MonospaceFamily); 377 COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::GenericFamilyCursive, FontDescription::CursiveFamily); 378 COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::GenericFamilyFantasy, FontDescription::FantasyFamily); 379 380 COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::SmoothingAuto, AutoSmoothing); 381 COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::SmoothingNone, NoSmoothing); 382 COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::SmoothingGrayscale, Antialiased); 383 COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::SmoothingSubpixel, SubpixelAntialiased); 384 385 COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::Weight100, FontWeight100); 386 COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::Weight200, FontWeight200); 387 COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::Weight300, FontWeight300); 388 COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::Weight400, FontWeight400); 389 COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::Weight500, FontWeight500); 390 COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::Weight600, FontWeight600); 391 COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::Weight700, FontWeight700); 392 COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::Weight800, FontWeight800); 393 COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::Weight900, FontWeight900); 394 COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::WeightNormal, FontWeightNormal); 395 COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::WeightBold, FontWeightBold); 396 397 COMPILE_ASSERT_MATCHING_ENUM(WebIconURL::TypeInvalid, InvalidIcon); 398 COMPILE_ASSERT_MATCHING_ENUM(WebIconURL::TypeFavicon, Favicon); 399 COMPILE_ASSERT_MATCHING_ENUM(WebIconURL::TypeTouch, TouchIcon); 400 COMPILE_ASSERT_MATCHING_ENUM(WebIconURL::TypeTouchPrecomposed, TouchPrecomposedIcon); 401 402 #if ENABLE(INPUT_SPEECH) 403 COMPILE_ASSERT_MATCHING_ENUM(WebInputElement::Idle, InputFieldSpeechButtonElement::Idle); 404 COMPILE_ASSERT_MATCHING_ENUM(WebInputElement::Recording, InputFieldSpeechButtonElement::Recording); 405 COMPILE_ASSERT_MATCHING_ENUM(WebInputElement::Recognizing, InputFieldSpeechButtonElement::Recognizing); 406 #endif 407 408 COMPILE_ASSERT_MATCHING_ENUM(WebNode::ElementNode, Node::ELEMENT_NODE); 409 COMPILE_ASSERT_MATCHING_ENUM(WebNode::AttributeNode, Node::ATTRIBUTE_NODE); 410 COMPILE_ASSERT_MATCHING_ENUM(WebNode::TextNode, Node::TEXT_NODE); 411 COMPILE_ASSERT_MATCHING_ENUM(WebNode::CDataSectionNode, Node::CDATA_SECTION_NODE); 412 COMPILE_ASSERT_MATCHING_ENUM(WebNode::EntityNode, Node::ENTITY_NODE); 413 COMPILE_ASSERT_MATCHING_ENUM(WebNode::ProcessingInstructionsNode, Node::PROCESSING_INSTRUCTION_NODE); 414 COMPILE_ASSERT_MATCHING_ENUM(WebNode::CommentNode, Node::COMMENT_NODE); 415 COMPILE_ASSERT_MATCHING_ENUM(WebNode::DocumentNode, Node::DOCUMENT_NODE); 416 COMPILE_ASSERT_MATCHING_ENUM(WebNode::DocumentTypeNode, Node::DOCUMENT_TYPE_NODE); 417 COMPILE_ASSERT_MATCHING_ENUM(WebNode::DocumentFragmentNode, Node::DOCUMENT_FRAGMENT_NODE); 418 COMPILE_ASSERT_MATCHING_ENUM(WebNode::NotationNode, Node::NOTATION_NODE); 419 COMPILE_ASSERT_MATCHING_ENUM(WebNode::XPathNamespaceNode, Node::XPATH_NAMESPACE_NODE); 420 421 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::NetworkStateEmpty, MediaPlayer::Empty); 422 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::NetworkStateIdle, MediaPlayer::Idle); 423 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::NetworkStateLoading, MediaPlayer::Loading); 424 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::NetworkStateLoaded, MediaPlayer::Loaded); 425 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::NetworkStateFormatError, MediaPlayer::FormatError); 426 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::NetworkStateNetworkError, MediaPlayer::NetworkError); 427 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::NetworkStateDecodeError, MediaPlayer::DecodeError); 428 429 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::ReadyStateHaveNothing, MediaPlayer::HaveNothing); 430 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::ReadyStateHaveMetadata, MediaPlayer::HaveMetadata); 431 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::ReadyStateHaveCurrentData, MediaPlayer::HaveCurrentData); 432 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::ReadyStateHaveFutureData, MediaPlayer::HaveFutureData); 433 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::ReadyStateHaveEnoughData, MediaPlayer::HaveEnoughData); 434 435 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::PreloadNone, MediaPlayer::None); 436 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::PreloadMetaData, MediaPlayer::MetaData); 437 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::PreloadAuto, MediaPlayer::Auto); 438 439 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::MediaKeyExceptionNoError, MediaPlayer::NoError); 440 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::MediaKeyExceptionInvalidPlayerState, MediaPlayer::InvalidPlayerState); 441 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::MediaKeyExceptionKeySystemNotSupported, MediaPlayer::KeySystemNotSupported); 442 443 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayerClient::MediaKeyErrorCodeUnknown, MediaPlayerClient::UnknownError); 444 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayerClient::MediaKeyErrorCodeClient, MediaPlayerClient::ClientError); 445 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayerClient::MediaKeyErrorCodeService, MediaPlayerClient::ServiceError); 446 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayerClient::MediaKeyErrorCodeOutput, MediaPlayerClient::OutputError); 447 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayerClient::MediaKeyErrorCodeHardwareChange, MediaPlayerClient::HardwareChangeError); 448 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayerClient::MediaKeyErrorCodeDomain, MediaPlayerClient::DomainError); 449 450 COMPILE_ASSERT_MATCHING_ENUM(WebContentDecryptionModuleSession::Client::MediaKeyErrorCodeUnknown, ContentDecryptionModuleSessionClient::UnknownError); 451 COMPILE_ASSERT_MATCHING_ENUM(WebContentDecryptionModuleSession::Client::MediaKeyErrorCodeClient, ContentDecryptionModuleSessionClient::ClientError); 452 453 COMPILE_ASSERT_MATCHING_ENUM(WebNotificationPresenter::PermissionAllowed, NotificationClient::PermissionAllowed); 454 COMPILE_ASSERT_MATCHING_ENUM(WebNotificationPresenter::PermissionNotAllowed, NotificationClient::PermissionNotAllowed); 455 COMPILE_ASSERT_MATCHING_ENUM(WebNotificationPresenter::PermissionDenied, NotificationClient::PermissionDenied); 456 457 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::Horizontal, HorizontalScrollbar); 458 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::Vertical, VerticalScrollbar); 459 460 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollByLine, ScrollByLine); 461 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollByPage, ScrollByPage); 462 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollByDocument, ScrollByDocument); 463 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollByPixel, ScrollByPixel); 464 465 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::RegularScrollbar, RegularScrollbar); 466 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::SmallScrollbar, SmallScrollbar); 467 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::NoPart, NoPart); 468 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::BackButtonStartPart, BackButtonStartPart); 469 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ForwardButtonStartPart, ForwardButtonStartPart); 470 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::BackTrackPart, BackTrackPart); 471 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ThumbPart, ThumbPart); 472 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ForwardTrackPart, ForwardTrackPart); 473 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::BackButtonEndPart, BackButtonEndPart); 474 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ForwardButtonEndPart, ForwardButtonEndPart); 475 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollbarBGPart, ScrollbarBGPart); 476 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::TrackBGPart, TrackBGPart); 477 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::AllParts, AllParts); 478 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollbarOverlayStyleDefault, ScrollbarOverlayStyleDefault); 479 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollbarOverlayStyleDark, ScrollbarOverlayStyleDark); 480 COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollbarOverlayStyleLight, ScrollbarOverlayStyleLight); 481 482 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::EditingBehaviorMac, EditingMacBehavior); 483 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::EditingBehaviorWin, EditingWindowsBehavior); 484 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::EditingBehaviorUnix, EditingUnixBehavior); 485 COMPILE_ASSERT_MATCHING_ENUM(WebSettings::EditingBehaviorAndroid, EditingAndroidBehavior); 486 487 COMPILE_ASSERT_MATCHING_ENUM(WebTextAffinityUpstream, UPSTREAM); 488 COMPILE_ASSERT_MATCHING_ENUM(WebTextAffinityDownstream, DOWNSTREAM); 489 490 COMPILE_ASSERT_MATCHING_ENUM(WebView::InjectStyleInAllFrames, InjectStyleInAllFrames); 491 COMPILE_ASSERT_MATCHING_ENUM(WebView::InjectStyleInTopFrameOnly, InjectStyleInTopFrameOnly); 492 493 COMPILE_ASSERT_MATCHING_ENUM(WebIDBDatabaseExceptionUnknownError, UnknownError); 494 COMPILE_ASSERT_MATCHING_ENUM(WebIDBDatabaseExceptionConstraintError, ConstraintError); 495 COMPILE_ASSERT_MATCHING_ENUM(WebIDBDatabaseExceptionDataError, DataError); 496 COMPILE_ASSERT_MATCHING_ENUM(WebIDBDatabaseExceptionVersionError, VersionError); 497 COMPILE_ASSERT_MATCHING_ENUM(WebIDBDatabaseExceptionAbortError, AbortError); 498 COMPILE_ASSERT_MATCHING_ENUM(WebIDBDatabaseExceptionQuotaError, QuotaExceededError); 499 COMPILE_ASSERT_MATCHING_ENUM(WebIDBDatabaseExceptionTimeoutError, TimeoutError); 500 501 COMPILE_ASSERT_MATCHING_ENUM(WebIDBKeyTypeInvalid, IDBKey::InvalidType); 502 COMPILE_ASSERT_MATCHING_ENUM(WebIDBKeyTypeArray, IDBKey::ArrayType); 503 COMPILE_ASSERT_MATCHING_ENUM(WebIDBKeyTypeBinary, IDBKey::BinaryType); 504 COMPILE_ASSERT_MATCHING_ENUM(WebIDBKeyTypeString, IDBKey::StringType); 505 COMPILE_ASSERT_MATCHING_ENUM(WebIDBKeyTypeDate, IDBKey::DateType); 506 COMPILE_ASSERT_MATCHING_ENUM(WebIDBKeyTypeNumber, IDBKey::NumberType); 507 508 COMPILE_ASSERT_MATCHING_ENUM(WebIDBKeyPathTypeNull, IDBKeyPath::NullType); 509 COMPILE_ASSERT_MATCHING_ENUM(WebIDBKeyPathTypeString, IDBKeyPath::StringType); 510 COMPILE_ASSERT_MATCHING_ENUM(WebIDBKeyPathTypeArray, IDBKeyPath::ArrayType); 511 512 COMPILE_ASSERT_MATCHING_ENUM(WebIDBMetadata::NoIntVersion, IDBDatabaseMetadata::NoIntVersion); 513 514 COMPILE_ASSERT_MATCHING_ENUM(WebIDBCursor::Next, IndexedDB::CursorNext); 515 COMPILE_ASSERT_MATCHING_ENUM(WebIDBCursor::NextNoDuplicate, IndexedDB::CursorNextNoDuplicate); 516 COMPILE_ASSERT_MATCHING_ENUM(WebIDBCursor::Prev, IndexedDB::CursorPrev); 517 COMPILE_ASSERT_MATCHING_ENUM(WebIDBCursor::PrevNoDuplicate, IndexedDB::CursorPrevNoDuplicate); 518 519 COMPILE_ASSERT_MATCHING_ENUM(WebFileSystem::TypeTemporary, FileSystemTypeTemporary); 520 COMPILE_ASSERT_MATCHING_ENUM(WebFileSystem::TypePersistent, FileSystemTypePersistent); 521 COMPILE_ASSERT_MATCHING_ENUM(WebFileSystem::TypeExternal, FileSystemTypeExternal); 522 COMPILE_ASSERT_MATCHING_ENUM(WebFileSystem::TypeIsolated, FileSystemTypeIsolated); 523 COMPILE_ASSERT_MATCHING_ENUM(WebFileInfo::TypeUnknown, FileMetadata::TypeUnknown); 524 COMPILE_ASSERT_MATCHING_ENUM(WebFileInfo::TypeFile, FileMetadata::TypeFile); 525 COMPILE_ASSERT_MATCHING_ENUM(WebFileInfo::TypeDirectory, FileMetadata::TypeDirectory); 526 527 COMPILE_ASSERT_MATCHING_ENUM(WebFileErrorNotFound, FileError::NOT_FOUND_ERR); 528 COMPILE_ASSERT_MATCHING_ENUM(WebFileErrorSecurity, FileError::SECURITY_ERR); 529 COMPILE_ASSERT_MATCHING_ENUM(WebFileErrorAbort, FileError::ABORT_ERR); 530 COMPILE_ASSERT_MATCHING_ENUM(WebFileErrorNotReadable, FileError::NOT_READABLE_ERR); 531 COMPILE_ASSERT_MATCHING_ENUM(WebFileErrorEncoding, FileError::ENCODING_ERR); 532 COMPILE_ASSERT_MATCHING_ENUM(WebFileErrorNoModificationAllowed, FileError::NO_MODIFICATION_ALLOWED_ERR); 533 COMPILE_ASSERT_MATCHING_ENUM(WebFileErrorInvalidState, FileError::INVALID_STATE_ERR); 534 COMPILE_ASSERT_MATCHING_ENUM(WebFileErrorSyntax, FileError::SYNTAX_ERR); 535 COMPILE_ASSERT_MATCHING_ENUM(WebFileErrorInvalidModification, FileError::INVALID_MODIFICATION_ERR); 536 COMPILE_ASSERT_MATCHING_ENUM(WebFileErrorQuotaExceeded, FileError::QUOTA_EXCEEDED_ERR); 537 COMPILE_ASSERT_MATCHING_ENUM(WebFileErrorTypeMismatch, FileError::TYPE_MISMATCH_ERR); 538 COMPILE_ASSERT_MATCHING_ENUM(WebFileErrorPathExists, FileError::PATH_EXISTS_ERR); 539 540 COMPILE_ASSERT_MATCHING_ENUM(WebGeolocationError::ErrorPermissionDenied, GeolocationError::PermissionDenied); 541 COMPILE_ASSERT_MATCHING_ENUM(WebGeolocationError::ErrorPositionUnavailable, GeolocationError::PositionUnavailable); 542 543 COMPILE_ASSERT_MATCHING_ENUM(WebTextCheckingTypeSpelling, TextCheckingTypeSpelling); 544 COMPILE_ASSERT_MATCHING_ENUM(WebTextCheckingTypeGrammar, TextCheckingTypeGrammar); 545 546 // TODO(rouslan): Remove these comparisons between text-checking and text-decoration enum values after removing the 547 // deprecated constructor WebTextCheckingResult(WebTextCheckingType). 548 COMPILE_ASSERT_MATCHING_ENUM(WebTextCheckingTypeSpelling, TextDecorationTypeSpelling); 549 COMPILE_ASSERT_MATCHING_ENUM(WebTextCheckingTypeGrammar, TextDecorationTypeGrammar); 550 551 COMPILE_ASSERT_MATCHING_ENUM(WebTextDecorationTypeSpelling, TextDecorationTypeSpelling); 552 COMPILE_ASSERT_MATCHING_ENUM(WebTextDecorationTypeGrammar, TextDecorationTypeGrammar); 553 COMPILE_ASSERT_MATCHING_ENUM(WebTextDecorationTypeInvisibleSpellcheck, TextDecorationTypeInvisibleSpellcheck); 554 555 COMPILE_ASSERT_MATCHING_ENUM(WebStorageQuotaErrorNotSupported, NotSupportedError); 556 COMPILE_ASSERT_MATCHING_ENUM(WebStorageQuotaErrorInvalidModification, InvalidModificationError); 557 COMPILE_ASSERT_MATCHING_ENUM(WebStorageQuotaErrorInvalidAccess, InvalidAccessError); 558 COMPILE_ASSERT_MATCHING_ENUM(WebStorageQuotaErrorAbort, AbortError); 559 560 COMPILE_ASSERT_MATCHING_ENUM(WebStorageQuotaTypeTemporary, StorageQuota::Temporary); 561 COMPILE_ASSERT_MATCHING_ENUM(WebStorageQuotaTypePersistent, StorageQuota::Persistent); 562 563 COMPILE_ASSERT_MATCHING_ENUM(WebPageVisibilityStateVisible, PageVisibilityStateVisible); 564 COMPILE_ASSERT_MATCHING_ENUM(WebPageVisibilityStateHidden, PageVisibilityStateHidden); 565 COMPILE_ASSERT_MATCHING_ENUM(WebPageVisibilityStatePrerender, PageVisibilityStatePrerender); 566 567 COMPILE_ASSERT_MATCHING_ENUM(WebMediaStreamSource::TypeAudio, MediaStreamSource::TypeAudio); 568 COMPILE_ASSERT_MATCHING_ENUM(WebMediaStreamSource::TypeVideo, MediaStreamSource::TypeVideo); 569 COMPILE_ASSERT_MATCHING_ENUM(WebMediaStreamSource::ReadyStateLive, MediaStreamSource::ReadyStateLive); 570 COMPILE_ASSERT_MATCHING_ENUM(WebMediaStreamSource::ReadyStateMuted, MediaStreamSource::ReadyStateMuted); 571 COMPILE_ASSERT_MATCHING_ENUM(WebMediaStreamSource::ReadyStateEnded, MediaStreamSource::ReadyStateEnded); 572 573 COMPILE_ASSERT_MATCHING_ENUM(WebRTCPeerConnectionHandlerClient::SignalingStateStable, RTCPeerConnectionHandlerClient::SignalingStateStable); 574 COMPILE_ASSERT_MATCHING_ENUM(WebRTCPeerConnectionHandlerClient::SignalingStateHaveLocalOffer, RTCPeerConnectionHandlerClient::SignalingStateHaveLocalOffer); 575 COMPILE_ASSERT_MATCHING_ENUM(WebRTCPeerConnectionHandlerClient::SignalingStateHaveRemoteOffer, RTCPeerConnectionHandlerClient::SignalingStateHaveRemoteOffer); 576 COMPILE_ASSERT_MATCHING_ENUM(WebRTCPeerConnectionHandlerClient::SignalingStateHaveLocalPrAnswer, RTCPeerConnectionHandlerClient::SignalingStateHaveLocalPrAnswer); 577 COMPILE_ASSERT_MATCHING_ENUM(WebRTCPeerConnectionHandlerClient::SignalingStateHaveRemotePrAnswer, RTCPeerConnectionHandlerClient::SignalingStateHaveRemotePrAnswer); 578 COMPILE_ASSERT_MATCHING_ENUM(WebRTCPeerConnectionHandlerClient::SignalingStateClosed, RTCPeerConnectionHandlerClient::SignalingStateClosed); 579 580 COMPILE_ASSERT_MATCHING_ENUM(WebRTCPeerConnectionHandlerClient::ICEConnectionStateStarting, RTCPeerConnectionHandlerClient::IceConnectionStateNew); 581 COMPILE_ASSERT_MATCHING_ENUM(WebRTCPeerConnectionHandlerClient::ICEConnectionStateNew, RTCPeerConnectionHandlerClient::IceConnectionStateNew); 582 COMPILE_ASSERT_MATCHING_ENUM(WebRTCPeerConnectionHandlerClient::ICEConnectionStateChecking, RTCPeerConnectionHandlerClient::IceConnectionStateChecking); 583 COMPILE_ASSERT_MATCHING_ENUM(WebRTCPeerConnectionHandlerClient::ICEConnectionStateConnected, RTCPeerConnectionHandlerClient::IceConnectionStateConnected); 584 COMPILE_ASSERT_MATCHING_ENUM(WebRTCPeerConnectionHandlerClient::ICEConnectionStateCompleted, RTCPeerConnectionHandlerClient::IceConnectionStateCompleted); 585 COMPILE_ASSERT_MATCHING_ENUM(WebRTCPeerConnectionHandlerClient::ICEConnectionStateFailed, RTCPeerConnectionHandlerClient::IceConnectionStateFailed); 586 COMPILE_ASSERT_MATCHING_ENUM(WebRTCPeerConnectionHandlerClient::ICEConnectionStateDisconnected, RTCPeerConnectionHandlerClient::IceConnectionStateDisconnected); 587 COMPILE_ASSERT_MATCHING_ENUM(WebRTCPeerConnectionHandlerClient::ICEConnectionStateClosed, RTCPeerConnectionHandlerClient::IceConnectionStateClosed); 588 589 COMPILE_ASSERT_MATCHING_ENUM(WebRTCPeerConnectionHandlerClient::ICEGatheringStateNew, RTCPeerConnectionHandlerClient::IceGatheringStateNew); 590 COMPILE_ASSERT_MATCHING_ENUM(WebRTCPeerConnectionHandlerClient::ICEGatheringStateGathering, RTCPeerConnectionHandlerClient::IceGatheringStateGathering); 591 COMPILE_ASSERT_MATCHING_ENUM(WebRTCPeerConnectionHandlerClient::ICEGatheringStateComplete, RTCPeerConnectionHandlerClient::IceGatheringStateComplete); 592 593 COMPILE_ASSERT_MATCHING_ENUM(WebRTCDataChannelHandlerClient::ReadyStateConnecting, RTCDataChannelHandlerClient::ReadyStateConnecting); 594 COMPILE_ASSERT_MATCHING_ENUM(WebRTCDataChannelHandlerClient::ReadyStateOpen, RTCDataChannelHandlerClient::ReadyStateOpen); 595 COMPILE_ASSERT_MATCHING_ENUM(WebRTCDataChannelHandlerClient::ReadyStateClosing, RTCDataChannelHandlerClient::ReadyStateClosing); 596 COMPILE_ASSERT_MATCHING_ENUM(WebRTCDataChannelHandlerClient::ReadyStateClosed, RTCDataChannelHandlerClient::ReadyStateClosed); 597 598 COMPILE_ASSERT_MATCHING_ENUM(WebSpeechRecognizerClient::OtherError, SpeechRecognitionError::ErrorCodeOther); 599 COMPILE_ASSERT_MATCHING_ENUM(WebSpeechRecognizerClient::NoSpeechError, SpeechRecognitionError::ErrorCodeNoSpeech); 600 COMPILE_ASSERT_MATCHING_ENUM(WebSpeechRecognizerClient::AbortedError, SpeechRecognitionError::ErrorCodeAborted); 601 COMPILE_ASSERT_MATCHING_ENUM(WebSpeechRecognizerClient::AudioCaptureError, SpeechRecognitionError::ErrorCodeAudioCapture); 602 COMPILE_ASSERT_MATCHING_ENUM(WebSpeechRecognizerClient::NetworkError, SpeechRecognitionError::ErrorCodeNetwork); 603 COMPILE_ASSERT_MATCHING_ENUM(WebSpeechRecognizerClient::NotAllowedError, SpeechRecognitionError::ErrorCodeNotAllowed); 604 COMPILE_ASSERT_MATCHING_ENUM(WebSpeechRecognizerClient::ServiceNotAllowedError, SpeechRecognitionError::ErrorCodeServiceNotAllowed); 605 COMPILE_ASSERT_MATCHING_ENUM(WebSpeechRecognizerClient::BadGrammarError, SpeechRecognitionError::ErrorCodeBadGrammar); 606 COMPILE_ASSERT_MATCHING_ENUM(WebSpeechRecognizerClient::LanguageNotSupportedError, SpeechRecognitionError::ErrorCodeLanguageNotSupported); 607 608 COMPILE_ASSERT_MATCHING_ENUM(WebReferrerPolicyAlways, ReferrerPolicyAlways); 609 COMPILE_ASSERT_MATCHING_ENUM(WebReferrerPolicyDefault, ReferrerPolicyDefault); 610 COMPILE_ASSERT_MATCHING_ENUM(WebReferrerPolicyNever, ReferrerPolicyNever); 611 COMPILE_ASSERT_MATCHING_ENUM(WebReferrerPolicyOrigin, ReferrerPolicyOrigin); 612 613 COMPILE_ASSERT_MATCHING_ENUM(WebContentSecurityPolicyTypeReport, ContentSecurityPolicy::Report); 614 COMPILE_ASSERT_MATCHING_ENUM(WebContentSecurityPolicyTypeEnforce, ContentSecurityPolicy::Enforce); 615 616 COMPILE_ASSERT_MATCHING_ENUM(WebURLResponse::Unknown, ResourceResponse::Unknown); 617 COMPILE_ASSERT_MATCHING_ENUM(WebURLResponse::HTTP_0_9, ResourceResponse::HTTP_0_9); 618 COMPILE_ASSERT_MATCHING_ENUM(WebURLResponse::HTTP_1_0, ResourceResponse::HTTP_1_0); 619 COMPILE_ASSERT_MATCHING_ENUM(WebURLResponse::HTTP_1_1, ResourceResponse::HTTP_1_1); 620 621 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::CORSModeUnspecified, MediaPlayerClient::Unspecified); 622 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::CORSModeAnonymous, MediaPlayerClient::Anonymous); 623 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::CORSModeUseCredentials, MediaPlayerClient::UseCredentials); 624 625 COMPILE_ASSERT_MATCHING_ENUM(WebFormElement::AutocompleteResultSuccess, HTMLFormElement::AutocompleteResultSuccess); 626 COMPILE_ASSERT_MATCHING_ENUM(WebFormElement::AutocompleteResultErrorDisabled, HTMLFormElement::AutocompleteResultErrorDisabled); 627 COMPILE_ASSERT_MATCHING_ENUM(WebFormElement::AutocompleteResultErrorCancel, HTMLFormElement::AutocompleteResultErrorCancel); 628 COMPILE_ASSERT_MATCHING_ENUM(WebFormElement::AutocompleteResultErrorInvalid, HTMLFormElement::AutocompleteResultErrorInvalid); 629 630 COMPILE_ASSERT_MATCHING_ENUM(WebURLRequest::PriorityUnresolved, ResourceLoadPriorityUnresolved); 631 COMPILE_ASSERT_MATCHING_ENUM(WebURLRequest::PriorityVeryLow, ResourceLoadPriorityVeryLow); 632 COMPILE_ASSERT_MATCHING_ENUM(WebURLRequest::PriorityLow, ResourceLoadPriorityLow); 633 COMPILE_ASSERT_MATCHING_ENUM(WebURLRequest::PriorityMedium, ResourceLoadPriorityMedium); 634 COMPILE_ASSERT_MATCHING_ENUM(WebURLRequest::PriorityHigh, ResourceLoadPriorityHigh); 635 COMPILE_ASSERT_MATCHING_ENUM(WebURLRequest::PriorityVeryHigh, ResourceLoadPriorityVeryHigh); 636 637 COMPILE_ASSERT_MATCHING_ENUM(WebNavigationPolicyIgnore, NavigationPolicyIgnore); 638 COMPILE_ASSERT_MATCHING_ENUM(WebNavigationPolicyDownload, NavigationPolicyDownload); 639 COMPILE_ASSERT_MATCHING_ENUM(WebNavigationPolicyCurrentTab, NavigationPolicyCurrentTab); 640 COMPILE_ASSERT_MATCHING_ENUM(WebNavigationPolicyNewBackgroundTab, NavigationPolicyNewBackgroundTab); 641 COMPILE_ASSERT_MATCHING_ENUM(WebNavigationPolicyNewForegroundTab, NavigationPolicyNewForegroundTab); 642 COMPILE_ASSERT_MATCHING_ENUM(WebNavigationPolicyNewWindow, NavigationPolicyNewWindow); 643 COMPILE_ASSERT_MATCHING_ENUM(WebNavigationPolicyNewPopup, NavigationPolicyNewPopup); 644 645 COMPILE_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelDebug, DebugMessageLevel); 646 COMPILE_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelLog, LogMessageLevel); 647 COMPILE_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelWarning, WarningMessageLevel); 648 COMPILE_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelError, ErrorMessageLevel); 649 COMPILE_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelInfo, InfoMessageLevel); 650 651 COMPILE_ASSERT_MATCHING_ENUM(WebTouchActionNone, TouchActionNone); 652 COMPILE_ASSERT_MATCHING_ENUM(WebTouchActionAuto, TouchActionAuto); 653 COMPILE_ASSERT_MATCHING_ENUM(WebTouchActionPanX, TouchActionPanX); 654 COMPILE_ASSERT_MATCHING_ENUM(WebTouchActionPanY, TouchActionPanY); 655 656 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonUnknown, CompositingReasonNone); 657 COMPILE_ASSERT_MATCHING_UINT64(CompositingReason3DTransform, CompositingReason3DTransform); 658 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonVideo, CompositingReasonVideo); 659 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonCanvas, CompositingReasonCanvas); 660 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonPlugin, CompositingReasonPlugin); 661 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonIFrame, CompositingReasonIFrame); 662 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonBackfaceVisibilityHidden, CompositingReasonBackfaceVisibilityHidden); 663 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonAnimation, CompositingReasonAnimation); 664 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonFilters, CompositingReasonFilters); 665 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonPositionFixed, CompositingReasonPositionFixed); 666 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonPositionSticky, CompositingReasonPositionSticky); 667 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonOverflowScrollingTouch, CompositingReasonOverflowScrollingTouch); 668 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonAssumedOverlap, CompositingReasonAssumedOverlap); 669 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonOverlap, CompositingReasonOverlap); 670 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonNegativeZIndexChildren, CompositingReasonNegativeZIndexChildren); 671 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonTransformWithCompositedDescendants, CompositingReasonTransformWithCompositedDescendants); 672 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonOpacityWithCompositedDescendants, CompositingReasonOpacityWithCompositedDescendants); 673 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonMaskWithCompositedDescendants, CompositingReasonMaskWithCompositedDescendants); 674 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonReflectionWithCompositedDescendants, CompositingReasonReflectionWithCompositedDescendants); 675 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonFilterWithCompositedDescendants, CompositingReasonFilterWithCompositedDescendants); 676 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonBlendingWithCompositedDescendants, CompositingReasonBlendingWithCompositedDescendants); 677 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonClipsCompositingDescendants, CompositingReasonClipsCompositingDescendants); 678 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonPerspective, CompositingReasonPerspective); 679 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonPreserve3D, CompositingReasonPreserve3D); 680 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonReflectionOfCompositedParent, CompositingReasonReflectionOfCompositedParent); 681 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonRoot, CompositingReasonRoot); 682 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonLayerForClip, CompositingReasonLayerForClip); 683 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonLayerForScrollbar, CompositingReasonLayerForScrollbar); 684 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonLayerForScrollingContainer, CompositingReasonLayerForScrollingContainer); 685 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonLayerForForeground, CompositingReasonLayerForForeground); 686 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonLayerForBackground, CompositingReasonLayerForBackground); 687 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonLayerForMask, CompositingReasonLayerForMask); 688 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonOverflowScrollingParent, CompositingReasonOverflowScrollingParent); 689 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonOutOfFlowClipping, CompositingReasonOutOfFlowClipping); 690 COMPILE_ASSERT_MATCHING_UINT64(CompositingReasonIsolateCompositedDescendants, CompositingReasonIsolateCompositedDescendants); 691 COMPILE_ASSERT_MATCHING_UINT64(kSerializedScriptValueVersion, SerializedScriptValue::wireFormatVersion); 692