Index: Source/web/AssertMatchingEnums.cpp |
diff --git a/Source/web/AssertMatchingEnums.cpp b/Source/web/AssertMatchingEnums.cpp |
index 353600c93c165d8e58d7a47019cc0363d01bd4e5..4a508f6a9e9626028b48182d745a79aa0add7a44 100644 |
--- a/Source/web/AssertMatchingEnums.cpp |
+++ b/Source/web/AssertMatchingEnums.cpp |
@@ -137,531 +137,531 @@ |
namespace blink { |
-#define COMPILE_ASSERT_MATCHING_ENUM(public_name, core_name) \ |
- COMPILE_ASSERT(int(public_name) == int(core_name), mismatching_enums) |
- |
-#define COMPILE_ASSERT_MATCHING_UINT64(public_name, core_name) \ |
- COMPILE_ASSERT(public_name == core_name, mismatching_enums) |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXEventActiveDescendantChanged, AXObjectCache::AXActiveDescendantChanged); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXEventAlert, AXObjectCache::AXAlert); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXEventAriaAttributeChanged, AXObjectCache::AXAriaAttributeChanged); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXEventAutocorrectionOccured, AXObjectCache::AXAutocorrectionOccured); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXEventBlur, AXObjectCache::AXBlur); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXEventCheckedStateChanged, AXObjectCache::AXCheckedStateChanged); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXEventChildrenChanged, AXObjectCache::AXChildrenChanged); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXEventFocus, AXObjectCache::AXFocusedUIElementChanged); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXEventHide, AXObjectCache::AXHide); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXEventInvalidStatusChanged, AXObjectCache::AXInvalidStatusChanged); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXEventLayoutComplete, AXObjectCache::AXLayoutComplete); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXEventLiveRegionChanged, AXObjectCache::AXLiveRegionChanged); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXEventLoadComplete, AXObjectCache::AXLoadComplete); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXEventLocationChanged, AXObjectCache::AXLocationChanged); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXEventMenuListItemSelected, AXObjectCache::AXMenuListItemSelected); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXEventMenuListValueChanged, AXObjectCache::AXMenuListValueChanged); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXEventRowCollapsed, AXObjectCache::AXRowCollapsed); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXEventRowCountChanged, AXObjectCache::AXRowCountChanged); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXEventRowExpanded, AXObjectCache::AXRowExpanded); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXEventScrollPositionChanged, AXObjectCache::AXScrollPositionChanged); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXEventScrolledToAnchor, AXObjectCache::AXScrolledToAnchor); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXEventSelectedChildrenChanged, AXObjectCache::AXSelectedChildrenChanged); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXEventSelectedTextChanged, AXObjectCache::AXSelectedTextChanged); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXEventShow, AXObjectCache::AXShow); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXEventTextChanged, AXObjectCache::AXTextChanged); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXEventTextInserted, AXObjectCache::AXTextInserted); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXEventTextRemoved, AXObjectCache::AXTextRemoved); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXEventValueChanged, AXObjectCache::AXValueChanged); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleAlertDialog, AlertDialogRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleAlert, AlertRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleAnnotation, AnnotationRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleApplication, ApplicationRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleArticle, ArticleRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleBanner, BannerRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleBlockquote, BlockquoteRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleBusyIndicator, BusyIndicatorRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleButton, ButtonRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleCanvas, CanvasRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleCell, CellRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleCheckBox, CheckBoxRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleColorWell, ColorWellRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleColumnHeader, ColumnHeaderRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleColumn, ColumnRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleComboBox, ComboBoxRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleComplementary, ComplementaryRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleContentInfo, ContentInfoRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleDate, DateRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleDateTime, DateTimeRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleDefinition, DefinitionRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleDescriptionListDetail, DescriptionListDetailRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleDescriptionList, DescriptionListRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleDescriptionListTerm, DescriptionListTermRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleDetails, DetailsRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleDialog, DialogRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleDirectory, DirectoryRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleDisclosureTriangle, DisclosureTriangleRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleDiv, DivRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleDocument, DocumentRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleEmbeddedObject, EmbeddedObjectRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleFigcaption, FigcaptionRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleFigure, FigureRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleFooter, FooterRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleForm, FormRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleGrid, GridRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleGroup, GroupRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleHeading, HeadingRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleIframe, IframeRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleIframePresentational, IframePresentationalRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleIgnored, IgnoredRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleImageMapLink, ImageMapLinkRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleImageMap, ImageMapRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleImage, ImageRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleInlineTextBox, InlineTextBoxRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleLabel, LabelRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleLegend, LegendRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleLink, LinkRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleListBoxOption, ListBoxOptionRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleListBox, ListBoxRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleListItem, ListItemRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleListMarker, ListMarkerRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleList, ListRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleLog, LogRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleMain, MainRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleMarquee, MarqueeRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleMath, MathRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleMenuBar, MenuBarRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleMenuButton, MenuButtonRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleMenuItem, MenuItemRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleMenuItemCheckBox, MenuItemCheckBoxRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleMenuItemRadio, MenuItemRadioRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleMenuListOption, MenuListOptionRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleMenuListPopup, MenuListPopupRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleMenu, MenuRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleMeter, MeterRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleNavigation, NavigationRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleNone, NoneRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleNote, NoteRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleOutline, OutlineRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleParagraph, ParagraphRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRolePopUpButton, PopUpButtonRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRolePre, PreRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRolePresentational, PresentationalRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleProgressIndicator, ProgressIndicatorRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleRadioButton, RadioButtonRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleRadioGroup, RadioGroupRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleRegion, RegionRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleRootWebArea, RootWebAreaRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleRowHeader, RowHeaderRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleRow, RowRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleRuby, RubyRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleRuler, RulerRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleSVGRoot, SVGRootRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleScrollArea, ScrollAreaRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleScrollBar, ScrollBarRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleSeamlessWebArea, SeamlessWebAreaRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleSearch, SearchRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleSlider, SliderRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleSliderThumb, SliderThumbRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleSpinButtonPart, SpinButtonPartRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleSpinButton, SpinButtonRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleSplitter, SplitterRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleStaticText, StaticTextRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleStatus, StatusRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleTabGroup, TabGroupRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleTabList, TabListRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleTabPanel, TabPanelRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleTab, TabRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleTableHeaderContainer, TableHeaderContainerRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleTable, TableRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleTextArea, TextAreaRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleTextField, TextFieldRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleTime, TimeRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleTimer, TimerRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleToggleButton, ToggleButtonRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleToolbar, ToolbarRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleTreeGrid, TreeGridRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleTreeItem, TreeItemRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleTree, TreeRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleUnknown, UnknownRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleUserInterfaceTooltip, UserInterfaceTooltipRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleWebArea, WebAreaRole); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXRoleWindow, WindowRole); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXStateBusy, AXBusyState); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXStateChecked, AXCheckedState); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXStateEnabled, AXEnabledState); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXStateExpanded, AXExpandedState); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXStateFocusable, AXFocusableState); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXStateFocused, AXFocusedState); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXStateHaspopup, AXHaspopupState); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXStateHovered, AXHoveredState); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXStateIndeterminate, AXIndeterminateState); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXStateInvisible, AXInvisibleState); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXStateLinked, AXLinkedState); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXStateMultiselectable, AXMultiselectableState); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXStateOffscreen, AXOffscreenState); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXStatePressed, AXPressedState); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXStateProtected, AXProtectedState); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXStateReadonly, AXReadonlyState); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXStateRequired, AXRequiredState); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXStateSelectable, AXSelectableState); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXStateSelected, AXSelectedState); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXStateVertical, AXVerticalState); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXStateVisited, AXVisitedState); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXTextDirectionLR, AccessibilityTextDirectionLeftToRight); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXTextDirectionRL, AccessibilityTextDirectionRightToLeft); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXTextDirectionTB, AccessibilityTextDirectionTopToBottom); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXTextDirectionBT, AccessibilityTextDirectionBottomToTop); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXExpandedUndefined, ExpandedUndefined); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXExpandedCollapsed, ExpandedCollapsed); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXExpandedExpanded, ExpandedExpanded); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXOptionalBoolUndefined, OptionalBoolUndefined); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXOptionalBoolTrue, OptionalBoolTrue); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXOptionalBoolFalse, OptionalBoolFalse); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXOrientationUndefined, AccessibilityOrientationUndefined); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXOrientationVertical, AccessibilityOrientationVertical); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXOrientationHorizontal, AccessibilityOrientationHorizontal); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXInvalidStateUndefined, InvalidStateUndefined); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXInvalidStateFalse, InvalidStateFalse); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXInvalidStateTrue, InvalidStateTrue); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXInvalidStateSpelling, InvalidStateSpelling); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXInvalidStateGrammar, InvalidStateGrammar); |
-COMPILE_ASSERT_MATCHING_ENUM(WebAXInvalidStateOther, InvalidStateOther); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::Uncached, ApplicationCacheHost::UNCACHED); |
-COMPILE_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::Idle, ApplicationCacheHost::IDLE); |
-COMPILE_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::Checking, ApplicationCacheHost::CHECKING); |
-COMPILE_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::Downloading, ApplicationCacheHost::DOWNLOADING); |
-COMPILE_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::UpdateReady, ApplicationCacheHost::UPDATEREADY); |
-COMPILE_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::Obsolete, ApplicationCacheHost::OBSOLETE); |
-COMPILE_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::CheckingEvent, ApplicationCacheHost::CHECKING_EVENT); |
-COMPILE_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::ErrorEvent, ApplicationCacheHost::ERROR_EVENT); |
-COMPILE_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::NoUpdateEvent, ApplicationCacheHost::NOUPDATE_EVENT); |
-COMPILE_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::DownloadingEvent, ApplicationCacheHost::DOWNLOADING_EVENT); |
-COMPILE_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::ProgressEvent, ApplicationCacheHost::PROGRESS_EVENT); |
-COMPILE_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::UpdateReadyEvent, ApplicationCacheHost::UPDATEREADY_EVENT); |
-COMPILE_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::CachedEvent, ApplicationCacheHost::CACHED_EVENT); |
-COMPILE_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::ObsoleteEvent, ApplicationCacheHost::OBSOLETE_EVENT); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypePointer, Cursor::Pointer); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeCross, Cursor::Cross); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeHand, Cursor::Hand); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeIBeam, Cursor::IBeam); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeWait, Cursor::Wait); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeHelp, Cursor::Help); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeEastResize, Cursor::EastResize); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeNorthResize, Cursor::NorthResize); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeNorthEastResize, Cursor::NorthEastResize); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeNorthWestResize, Cursor::NorthWestResize); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeSouthResize, Cursor::SouthResize); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeSouthEastResize, Cursor::SouthEastResize); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeSouthWestResize, Cursor::SouthWestResize); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeWestResize, Cursor::WestResize); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeNorthSouthResize, Cursor::NorthSouthResize); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeEastWestResize, Cursor::EastWestResize); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeNorthEastSouthWestResize, Cursor::NorthEastSouthWestResize); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeNorthWestSouthEastResize, Cursor::NorthWestSouthEastResize); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeColumnResize, Cursor::ColumnResize); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeRowResize, Cursor::RowResize); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeMiddlePanning, Cursor::MiddlePanning); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeEastPanning, Cursor::EastPanning); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeNorthPanning, Cursor::NorthPanning); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeNorthEastPanning, Cursor::NorthEastPanning); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeNorthWestPanning, Cursor::NorthWestPanning); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeSouthPanning, Cursor::SouthPanning); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeSouthEastPanning, Cursor::SouthEastPanning); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeSouthWestPanning, Cursor::SouthWestPanning); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeWestPanning, Cursor::WestPanning); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeMove, Cursor::Move); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeVerticalText, Cursor::VerticalText); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeCell, Cursor::Cell); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeContextMenu, Cursor::ContextMenu); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeAlias, Cursor::Alias); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeProgress, Cursor::Progress); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeNoDrop, Cursor::NoDrop); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeCopy, Cursor::Copy); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeNone, Cursor::None); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeNotAllowed, Cursor::NotAllowed); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeZoomIn, Cursor::ZoomIn); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeZoomOut, Cursor::ZoomOut); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeGrab, Cursor::Grab); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeGrabbing, Cursor::Grabbing); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeCustom, Cursor::Custom); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::GenericFamilyNone, FontDescription::NoFamily); |
-COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::GenericFamilyStandard, FontDescription::StandardFamily); |
-COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::GenericFamilySerif, FontDescription::SerifFamily); |
-COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::GenericFamilySansSerif, FontDescription::SansSerifFamily); |
-COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::GenericFamilyMonospace, FontDescription::MonospaceFamily); |
-COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::GenericFamilyCursive, FontDescription::CursiveFamily); |
-COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::GenericFamilyFantasy, FontDescription::FantasyFamily); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::SmoothingAuto, AutoSmoothing); |
-COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::SmoothingNone, NoSmoothing); |
-COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::SmoothingGrayscale, Antialiased); |
-COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::SmoothingSubpixel, SubpixelAntialiased); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::Weight100, FontWeight100); |
-COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::Weight200, FontWeight200); |
-COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::Weight300, FontWeight300); |
-COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::Weight400, FontWeight400); |
-COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::Weight500, FontWeight500); |
-COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::Weight600, FontWeight600); |
-COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::Weight700, FontWeight700); |
-COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::Weight800, FontWeight800); |
-COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::Weight900, FontWeight900); |
-COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::WeightNormal, FontWeightNormal); |
-COMPILE_ASSERT_MATCHING_ENUM(WebFontDescription::WeightBold, FontWeightBold); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebIconURL::TypeInvalid, InvalidIcon); |
-COMPILE_ASSERT_MATCHING_ENUM(WebIconURL::TypeFavicon, Favicon); |
-COMPILE_ASSERT_MATCHING_ENUM(WebIconURL::TypeTouch, TouchIcon); |
-COMPILE_ASSERT_MATCHING_ENUM(WebIconURL::TypeTouchPrecomposed, TouchPrecomposedIcon); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebNode::ElementNode, Node::ELEMENT_NODE); |
-COMPILE_ASSERT_MATCHING_ENUM(WebNode::AttributeNode, Node::ATTRIBUTE_NODE); |
-COMPILE_ASSERT_MATCHING_ENUM(WebNode::TextNode, Node::TEXT_NODE); |
-COMPILE_ASSERT_MATCHING_ENUM(WebNode::CDataSectionNode, Node::CDATA_SECTION_NODE); |
-COMPILE_ASSERT_MATCHING_ENUM(WebNode::ProcessingInstructionsNode, Node::PROCESSING_INSTRUCTION_NODE); |
-COMPILE_ASSERT_MATCHING_ENUM(WebNode::CommentNode, Node::COMMENT_NODE); |
-COMPILE_ASSERT_MATCHING_ENUM(WebNode::DocumentNode, Node::DOCUMENT_NODE); |
-COMPILE_ASSERT_MATCHING_ENUM(WebNode::DocumentTypeNode, Node::DOCUMENT_TYPE_NODE); |
-COMPILE_ASSERT_MATCHING_ENUM(WebNode::DocumentFragmentNode, Node::DOCUMENT_FRAGMENT_NODE); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::ReadyStateHaveNothing, HTMLMediaElement::HAVE_NOTHING); |
-COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::ReadyStateHaveMetadata, HTMLMediaElement::HAVE_METADATA); |
-COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::ReadyStateHaveCurrentData, HTMLMediaElement::HAVE_CURRENT_DATA); |
-COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::ReadyStateHaveFutureData, HTMLMediaElement::HAVE_FUTURE_DATA); |
-COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::ReadyStateHaveEnoughData, HTMLMediaElement::HAVE_ENOUGH_DATA); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::PreloadNone, MediaPlayer::None); |
-COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::PreloadMetaData, MediaPlayer::MetaData); |
-COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::PreloadAuto, MediaPlayer::Auto); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonNone, NoButton); |
-COMPILE_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonLeft, LeftButton); |
-COMPILE_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonMiddle, MiddleButton); |
-COMPILE_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonRight, RightButton); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::Horizontal, HorizontalScrollbar); |
-COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::Vertical, VerticalScrollbar); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollByLine, ScrollByLine); |
-COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollByPage, ScrollByPage); |
-COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollByDocument, ScrollByDocument); |
-COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollByPixel, ScrollByPixel); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::RegularScrollbar, RegularScrollbar); |
-COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::SmallScrollbar, SmallScrollbar); |
-COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::NoPart, NoPart); |
-COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::BackButtonStartPart, BackButtonStartPart); |
-COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ForwardButtonStartPart, ForwardButtonStartPart); |
-COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::BackTrackPart, BackTrackPart); |
-COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ThumbPart, ThumbPart); |
-COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ForwardTrackPart, ForwardTrackPart); |
-COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::BackButtonEndPart, BackButtonEndPart); |
-COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ForwardButtonEndPart, ForwardButtonEndPart); |
-COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollbarBGPart, ScrollbarBGPart); |
-COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::TrackBGPart, TrackBGPart); |
-COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::AllParts, AllParts); |
-COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollbarOverlayStyleDefault, ScrollbarOverlayStyleDefault); |
-COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollbarOverlayStyleDark, ScrollbarOverlayStyleDark); |
-COMPILE_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollbarOverlayStyleLight, ScrollbarOverlayStyleLight); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebScrollbarBehavior::ButtonNone, NoButton); |
-COMPILE_ASSERT_MATCHING_ENUM(WebScrollbarBehavior::ButtonLeft, LeftButton); |
-COMPILE_ASSERT_MATCHING_ENUM(WebScrollbarBehavior::ButtonMiddle, MiddleButton); |
-COMPILE_ASSERT_MATCHING_ENUM(WebScrollbarBehavior::ButtonRight, RightButton); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebSettings::EditingBehaviorMac, EditingMacBehavior); |
-COMPILE_ASSERT_MATCHING_ENUM(WebSettings::EditingBehaviorWin, EditingWindowsBehavior); |
-COMPILE_ASSERT_MATCHING_ENUM(WebSettings::EditingBehaviorUnix, EditingUnixBehavior); |
-COMPILE_ASSERT_MATCHING_ENUM(WebSettings::EditingBehaviorAndroid, EditingAndroidBehavior); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebTextAffinityUpstream, UPSTREAM); |
-COMPILE_ASSERT_MATCHING_ENUM(WebTextAffinityDownstream, DOWNSTREAM); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebView::InjectStyleInAllFrames, InjectStyleInAllFrames); |
-COMPILE_ASSERT_MATCHING_ENUM(WebView::InjectStyleInTopFrameOnly, InjectStyleInTopFrameOnly); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebIDBDatabaseExceptionUnknownError, UnknownError); |
-COMPILE_ASSERT_MATCHING_ENUM(WebIDBDatabaseExceptionConstraintError, ConstraintError); |
-COMPILE_ASSERT_MATCHING_ENUM(WebIDBDatabaseExceptionDataError, DataError); |
-COMPILE_ASSERT_MATCHING_ENUM(WebIDBDatabaseExceptionVersionError, VersionError); |
-COMPILE_ASSERT_MATCHING_ENUM(WebIDBDatabaseExceptionAbortError, AbortError); |
-COMPILE_ASSERT_MATCHING_ENUM(WebIDBDatabaseExceptionQuotaError, QuotaExceededError); |
-COMPILE_ASSERT_MATCHING_ENUM(WebIDBDatabaseExceptionTimeoutError, TimeoutError); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebIDBKeyTypeInvalid, IDBKey::InvalidType); |
-COMPILE_ASSERT_MATCHING_ENUM(WebIDBKeyTypeArray, IDBKey::ArrayType); |
-COMPILE_ASSERT_MATCHING_ENUM(WebIDBKeyTypeBinary, IDBKey::BinaryType); |
-COMPILE_ASSERT_MATCHING_ENUM(WebIDBKeyTypeString, IDBKey::StringType); |
-COMPILE_ASSERT_MATCHING_ENUM(WebIDBKeyTypeDate, IDBKey::DateType); |
-COMPILE_ASSERT_MATCHING_ENUM(WebIDBKeyTypeNumber, IDBKey::NumberType); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebIDBKeyPathTypeNull, IDBKeyPath::NullType); |
-COMPILE_ASSERT_MATCHING_ENUM(WebIDBKeyPathTypeString, IDBKeyPath::StringType); |
-COMPILE_ASSERT_MATCHING_ENUM(WebIDBKeyPathTypeArray, IDBKeyPath::ArrayType); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebIDBMetadata::NoIntVersion, IDBDatabaseMetadata::NoIntVersion); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebFileSystem::TypeTemporary, FileSystemTypeTemporary); |
-COMPILE_ASSERT_MATCHING_ENUM(WebFileSystem::TypePersistent, FileSystemTypePersistent); |
-COMPILE_ASSERT_MATCHING_ENUM(WebFileSystem::TypeExternal, FileSystemTypeExternal); |
-COMPILE_ASSERT_MATCHING_ENUM(WebFileSystem::TypeIsolated, FileSystemTypeIsolated); |
-COMPILE_ASSERT_MATCHING_ENUM(WebFileInfo::TypeUnknown, FileMetadata::TypeUnknown); |
-COMPILE_ASSERT_MATCHING_ENUM(WebFileInfo::TypeFile, FileMetadata::TypeFile); |
-COMPILE_ASSERT_MATCHING_ENUM(WebFileInfo::TypeDirectory, FileMetadata::TypeDirectory); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebFileErrorNotFound, FileError::NOT_FOUND_ERR); |
-COMPILE_ASSERT_MATCHING_ENUM(WebFileErrorSecurity, FileError::SECURITY_ERR); |
-COMPILE_ASSERT_MATCHING_ENUM(WebFileErrorAbort, FileError::ABORT_ERR); |
-COMPILE_ASSERT_MATCHING_ENUM(WebFileErrorNotReadable, FileError::NOT_READABLE_ERR); |
-COMPILE_ASSERT_MATCHING_ENUM(WebFileErrorEncoding, FileError::ENCODING_ERR); |
-COMPILE_ASSERT_MATCHING_ENUM(WebFileErrorNoModificationAllowed, FileError::NO_MODIFICATION_ALLOWED_ERR); |
-COMPILE_ASSERT_MATCHING_ENUM(WebFileErrorInvalidState, FileError::INVALID_STATE_ERR); |
-COMPILE_ASSERT_MATCHING_ENUM(WebFileErrorSyntax, FileError::SYNTAX_ERR); |
-COMPILE_ASSERT_MATCHING_ENUM(WebFileErrorInvalidModification, FileError::INVALID_MODIFICATION_ERR); |
-COMPILE_ASSERT_MATCHING_ENUM(WebFileErrorQuotaExceeded, FileError::QUOTA_EXCEEDED_ERR); |
-COMPILE_ASSERT_MATCHING_ENUM(WebFileErrorTypeMismatch, FileError::TYPE_MISMATCH_ERR); |
-COMPILE_ASSERT_MATCHING_ENUM(WebFileErrorPathExists, FileError::PATH_EXISTS_ERR); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebGeolocationError::ErrorPermissionDenied, GeolocationError::PermissionDenied); |
-COMPILE_ASSERT_MATCHING_ENUM(WebGeolocationError::ErrorPositionUnavailable, GeolocationError::PositionUnavailable); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebTextCheckingTypeSpelling, TextCheckingTypeSpelling); |
-COMPILE_ASSERT_MATCHING_ENUM(WebTextCheckingTypeGrammar, TextCheckingTypeGrammar); |
+#define STATIC_ASSERT_MATCHING_ENUM(public_name, core_name) \ |
+ static_assert(int(public_name) == int(core_name), "mismatching enum values") |
+ |
+#define STATIC_ASSERT_MATCHING_UINT64(public_name, core_name) \ |
+ static_assert(public_name == core_name, "mismatching enum values") |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebAXEventActiveDescendantChanged, AXObjectCache::AXActiveDescendantChanged); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXEventAlert, AXObjectCache::AXAlert); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXEventAriaAttributeChanged, AXObjectCache::AXAriaAttributeChanged); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXEventAutocorrectionOccured, AXObjectCache::AXAutocorrectionOccured); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXEventBlur, AXObjectCache::AXBlur); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXEventCheckedStateChanged, AXObjectCache::AXCheckedStateChanged); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXEventChildrenChanged, AXObjectCache::AXChildrenChanged); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXEventFocus, AXObjectCache::AXFocusedUIElementChanged); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXEventHide, AXObjectCache::AXHide); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXEventInvalidStatusChanged, AXObjectCache::AXInvalidStatusChanged); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXEventLayoutComplete, AXObjectCache::AXLayoutComplete); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXEventLiveRegionChanged, AXObjectCache::AXLiveRegionChanged); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXEventLoadComplete, AXObjectCache::AXLoadComplete); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXEventLocationChanged, AXObjectCache::AXLocationChanged); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXEventMenuListItemSelected, AXObjectCache::AXMenuListItemSelected); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXEventMenuListValueChanged, AXObjectCache::AXMenuListValueChanged); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXEventRowCollapsed, AXObjectCache::AXRowCollapsed); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXEventRowCountChanged, AXObjectCache::AXRowCountChanged); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXEventRowExpanded, AXObjectCache::AXRowExpanded); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXEventScrollPositionChanged, AXObjectCache::AXScrollPositionChanged); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXEventScrolledToAnchor, AXObjectCache::AXScrolledToAnchor); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXEventSelectedChildrenChanged, AXObjectCache::AXSelectedChildrenChanged); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXEventSelectedTextChanged, AXObjectCache::AXSelectedTextChanged); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXEventShow, AXObjectCache::AXShow); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXEventTextChanged, AXObjectCache::AXTextChanged); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXEventTextInserted, AXObjectCache::AXTextInserted); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXEventTextRemoved, AXObjectCache::AXTextRemoved); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXEventValueChanged, AXObjectCache::AXValueChanged); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleAlertDialog, AlertDialogRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleAlert, AlertRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleAnnotation, AnnotationRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleApplication, ApplicationRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleArticle, ArticleRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleBanner, BannerRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleBlockquote, BlockquoteRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleBusyIndicator, BusyIndicatorRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleButton, ButtonRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleCanvas, CanvasRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleCell, CellRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleCheckBox, CheckBoxRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleColorWell, ColorWellRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleColumnHeader, ColumnHeaderRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleColumn, ColumnRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleComboBox, ComboBoxRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleComplementary, ComplementaryRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleContentInfo, ContentInfoRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleDate, DateRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleDateTime, DateTimeRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleDefinition, DefinitionRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleDescriptionListDetail, DescriptionListDetailRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleDescriptionList, DescriptionListRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleDescriptionListTerm, DescriptionListTermRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleDetails, DetailsRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleDialog, DialogRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleDirectory, DirectoryRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleDisclosureTriangle, DisclosureTriangleRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleDiv, DivRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleDocument, DocumentRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleEmbeddedObject, EmbeddedObjectRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleFigcaption, FigcaptionRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleFigure, FigureRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleFooter, FooterRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleForm, FormRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleGrid, GridRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleGroup, GroupRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleHeading, HeadingRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleIframe, IframeRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleIframePresentational, IframePresentationalRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleIgnored, IgnoredRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleImageMapLink, ImageMapLinkRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleImageMap, ImageMapRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleImage, ImageRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleInlineTextBox, InlineTextBoxRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleLabel, LabelRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleLegend, LegendRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleLink, LinkRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleListBoxOption, ListBoxOptionRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleListBox, ListBoxRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleListItem, ListItemRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleListMarker, ListMarkerRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleList, ListRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleLog, LogRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleMain, MainRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleMarquee, MarqueeRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleMath, MathRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleMenuBar, MenuBarRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleMenuButton, MenuButtonRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleMenuItem, MenuItemRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleMenuItemCheckBox, MenuItemCheckBoxRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleMenuItemRadio, MenuItemRadioRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleMenuListOption, MenuListOptionRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleMenuListPopup, MenuListPopupRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleMenu, MenuRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleMeter, MeterRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleNavigation, NavigationRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleNone, NoneRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleNote, NoteRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleOutline, OutlineRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleParagraph, ParagraphRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRolePopUpButton, PopUpButtonRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRolePre, PreRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRolePresentational, PresentationalRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleProgressIndicator, ProgressIndicatorRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleRadioButton, RadioButtonRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleRadioGroup, RadioGroupRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleRegion, RegionRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleRootWebArea, RootWebAreaRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleRowHeader, RowHeaderRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleRow, RowRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleRuby, RubyRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleRuler, RulerRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleSVGRoot, SVGRootRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleScrollArea, ScrollAreaRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleScrollBar, ScrollBarRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleSeamlessWebArea, SeamlessWebAreaRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleSearch, SearchRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleSlider, SliderRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleSliderThumb, SliderThumbRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleSpinButtonPart, SpinButtonPartRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleSpinButton, SpinButtonRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleSplitter, SplitterRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleStaticText, StaticTextRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleStatus, StatusRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleTabGroup, TabGroupRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleTabList, TabListRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleTabPanel, TabPanelRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleTab, TabRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleTableHeaderContainer, TableHeaderContainerRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleTable, TableRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleTextArea, TextAreaRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleTextField, TextFieldRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleTime, TimeRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleTimer, TimerRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleToggleButton, ToggleButtonRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleToolbar, ToolbarRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleTreeGrid, TreeGridRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleTreeItem, TreeItemRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleTree, TreeRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleUnknown, UnknownRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleUserInterfaceTooltip, UserInterfaceTooltipRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleWebArea, WebAreaRole); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXRoleWindow, WindowRole); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebAXStateBusy, AXBusyState); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXStateChecked, AXCheckedState); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXStateEnabled, AXEnabledState); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXStateExpanded, AXExpandedState); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXStateFocusable, AXFocusableState); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXStateFocused, AXFocusedState); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXStateHaspopup, AXHaspopupState); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXStateHovered, AXHoveredState); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXStateIndeterminate, AXIndeterminateState); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXStateInvisible, AXInvisibleState); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXStateLinked, AXLinkedState); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXStateMultiselectable, AXMultiselectableState); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXStateOffscreen, AXOffscreenState); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXStatePressed, AXPressedState); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXStateProtected, AXProtectedState); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXStateReadonly, AXReadonlyState); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXStateRequired, AXRequiredState); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXStateSelectable, AXSelectableState); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXStateSelected, AXSelectedState); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXStateVertical, AXVerticalState); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXStateVisited, AXVisitedState); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebAXTextDirectionLR, AccessibilityTextDirectionLeftToRight); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXTextDirectionRL, AccessibilityTextDirectionRightToLeft); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXTextDirectionTB, AccessibilityTextDirectionTopToBottom); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXTextDirectionBT, AccessibilityTextDirectionBottomToTop); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebAXExpandedUndefined, ExpandedUndefined); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXExpandedCollapsed, ExpandedCollapsed); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXExpandedExpanded, ExpandedExpanded); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebAXOptionalBoolUndefined, OptionalBoolUndefined); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXOptionalBoolTrue, OptionalBoolTrue); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXOptionalBoolFalse, OptionalBoolFalse); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebAXOrientationUndefined, AccessibilityOrientationUndefined); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXOrientationVertical, AccessibilityOrientationVertical); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXOrientationHorizontal, AccessibilityOrientationHorizontal); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebAXInvalidStateUndefined, InvalidStateUndefined); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXInvalidStateFalse, InvalidStateFalse); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXInvalidStateTrue, InvalidStateTrue); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXInvalidStateSpelling, InvalidStateSpelling); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXInvalidStateGrammar, InvalidStateGrammar); |
+STATIC_ASSERT_MATCHING_ENUM(WebAXInvalidStateOther, InvalidStateOther); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::Uncached, ApplicationCacheHost::UNCACHED); |
+STATIC_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::Idle, ApplicationCacheHost::IDLE); |
+STATIC_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::Checking, ApplicationCacheHost::CHECKING); |
+STATIC_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::Downloading, ApplicationCacheHost::DOWNLOADING); |
+STATIC_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::UpdateReady, ApplicationCacheHost::UPDATEREADY); |
+STATIC_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::Obsolete, ApplicationCacheHost::OBSOLETE); |
+STATIC_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::CheckingEvent, ApplicationCacheHost::CHECKING_EVENT); |
+STATIC_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::ErrorEvent, ApplicationCacheHost::ERROR_EVENT); |
+STATIC_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::NoUpdateEvent, ApplicationCacheHost::NOUPDATE_EVENT); |
+STATIC_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::DownloadingEvent, ApplicationCacheHost::DOWNLOADING_EVENT); |
+STATIC_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::ProgressEvent, ApplicationCacheHost::PROGRESS_EVENT); |
+STATIC_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::UpdateReadyEvent, ApplicationCacheHost::UPDATEREADY_EVENT); |
+STATIC_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::CachedEvent, ApplicationCacheHost::CACHED_EVENT); |
+STATIC_ASSERT_MATCHING_ENUM(WebApplicationCacheHost::ObsoleteEvent, ApplicationCacheHost::OBSOLETE_EVENT); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypePointer, Cursor::Pointer); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeCross, Cursor::Cross); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeHand, Cursor::Hand); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeIBeam, Cursor::IBeam); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeWait, Cursor::Wait); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeHelp, Cursor::Help); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeEastResize, Cursor::EastResize); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeNorthResize, Cursor::NorthResize); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeNorthEastResize, Cursor::NorthEastResize); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeNorthWestResize, Cursor::NorthWestResize); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeSouthResize, Cursor::SouthResize); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeSouthEastResize, Cursor::SouthEastResize); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeSouthWestResize, Cursor::SouthWestResize); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeWestResize, Cursor::WestResize); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeNorthSouthResize, Cursor::NorthSouthResize); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeEastWestResize, Cursor::EastWestResize); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeNorthEastSouthWestResize, Cursor::NorthEastSouthWestResize); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeNorthWestSouthEastResize, Cursor::NorthWestSouthEastResize); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeColumnResize, Cursor::ColumnResize); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeRowResize, Cursor::RowResize); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeMiddlePanning, Cursor::MiddlePanning); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeEastPanning, Cursor::EastPanning); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeNorthPanning, Cursor::NorthPanning); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeNorthEastPanning, Cursor::NorthEastPanning); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeNorthWestPanning, Cursor::NorthWestPanning); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeSouthPanning, Cursor::SouthPanning); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeSouthEastPanning, Cursor::SouthEastPanning); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeSouthWestPanning, Cursor::SouthWestPanning); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeWestPanning, Cursor::WestPanning); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeMove, Cursor::Move); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeVerticalText, Cursor::VerticalText); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeCell, Cursor::Cell); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeContextMenu, Cursor::ContextMenu); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeAlias, Cursor::Alias); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeProgress, Cursor::Progress); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeNoDrop, Cursor::NoDrop); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeCopy, Cursor::Copy); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeNone, Cursor::None); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeNotAllowed, Cursor::NotAllowed); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeZoomIn, Cursor::ZoomIn); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeZoomOut, Cursor::ZoomOut); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeGrab, Cursor::Grab); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeGrabbing, Cursor::Grabbing); |
+STATIC_ASSERT_MATCHING_ENUM(WebCursorInfo::TypeCustom, Cursor::Custom); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebFontDescription::GenericFamilyNone, FontDescription::NoFamily); |
+STATIC_ASSERT_MATCHING_ENUM(WebFontDescription::GenericFamilyStandard, FontDescription::StandardFamily); |
+STATIC_ASSERT_MATCHING_ENUM(WebFontDescription::GenericFamilySerif, FontDescription::SerifFamily); |
+STATIC_ASSERT_MATCHING_ENUM(WebFontDescription::GenericFamilySansSerif, FontDescription::SansSerifFamily); |
+STATIC_ASSERT_MATCHING_ENUM(WebFontDescription::GenericFamilyMonospace, FontDescription::MonospaceFamily); |
+STATIC_ASSERT_MATCHING_ENUM(WebFontDescription::GenericFamilyCursive, FontDescription::CursiveFamily); |
+STATIC_ASSERT_MATCHING_ENUM(WebFontDescription::GenericFamilyFantasy, FontDescription::FantasyFamily); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebFontDescription::SmoothingAuto, AutoSmoothing); |
+STATIC_ASSERT_MATCHING_ENUM(WebFontDescription::SmoothingNone, NoSmoothing); |
+STATIC_ASSERT_MATCHING_ENUM(WebFontDescription::SmoothingGrayscale, Antialiased); |
+STATIC_ASSERT_MATCHING_ENUM(WebFontDescription::SmoothingSubpixel, SubpixelAntialiased); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebFontDescription::Weight100, FontWeight100); |
+STATIC_ASSERT_MATCHING_ENUM(WebFontDescription::Weight200, FontWeight200); |
+STATIC_ASSERT_MATCHING_ENUM(WebFontDescription::Weight300, FontWeight300); |
+STATIC_ASSERT_MATCHING_ENUM(WebFontDescription::Weight400, FontWeight400); |
+STATIC_ASSERT_MATCHING_ENUM(WebFontDescription::Weight500, FontWeight500); |
+STATIC_ASSERT_MATCHING_ENUM(WebFontDescription::Weight600, FontWeight600); |
+STATIC_ASSERT_MATCHING_ENUM(WebFontDescription::Weight700, FontWeight700); |
+STATIC_ASSERT_MATCHING_ENUM(WebFontDescription::Weight800, FontWeight800); |
+STATIC_ASSERT_MATCHING_ENUM(WebFontDescription::Weight900, FontWeight900); |
+STATIC_ASSERT_MATCHING_ENUM(WebFontDescription::WeightNormal, FontWeightNormal); |
+STATIC_ASSERT_MATCHING_ENUM(WebFontDescription::WeightBold, FontWeightBold); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebIconURL::TypeInvalid, InvalidIcon); |
+STATIC_ASSERT_MATCHING_ENUM(WebIconURL::TypeFavicon, Favicon); |
+STATIC_ASSERT_MATCHING_ENUM(WebIconURL::TypeTouch, TouchIcon); |
+STATIC_ASSERT_MATCHING_ENUM(WebIconURL::TypeTouchPrecomposed, TouchPrecomposedIcon); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebNode::ElementNode, Node::ELEMENT_NODE); |
+STATIC_ASSERT_MATCHING_ENUM(WebNode::AttributeNode, Node::ATTRIBUTE_NODE); |
+STATIC_ASSERT_MATCHING_ENUM(WebNode::TextNode, Node::TEXT_NODE); |
+STATIC_ASSERT_MATCHING_ENUM(WebNode::CDataSectionNode, Node::CDATA_SECTION_NODE); |
+STATIC_ASSERT_MATCHING_ENUM(WebNode::ProcessingInstructionsNode, Node::PROCESSING_INSTRUCTION_NODE); |
+STATIC_ASSERT_MATCHING_ENUM(WebNode::CommentNode, Node::COMMENT_NODE); |
+STATIC_ASSERT_MATCHING_ENUM(WebNode::DocumentNode, Node::DOCUMENT_NODE); |
+STATIC_ASSERT_MATCHING_ENUM(WebNode::DocumentTypeNode, Node::DOCUMENT_TYPE_NODE); |
+STATIC_ASSERT_MATCHING_ENUM(WebNode::DocumentFragmentNode, Node::DOCUMENT_FRAGMENT_NODE); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebMediaPlayer::ReadyStateHaveNothing, HTMLMediaElement::HAVE_NOTHING); |
+STATIC_ASSERT_MATCHING_ENUM(WebMediaPlayer::ReadyStateHaveMetadata, HTMLMediaElement::HAVE_METADATA); |
+STATIC_ASSERT_MATCHING_ENUM(WebMediaPlayer::ReadyStateHaveCurrentData, HTMLMediaElement::HAVE_CURRENT_DATA); |
+STATIC_ASSERT_MATCHING_ENUM(WebMediaPlayer::ReadyStateHaveFutureData, HTMLMediaElement::HAVE_FUTURE_DATA); |
+STATIC_ASSERT_MATCHING_ENUM(WebMediaPlayer::ReadyStateHaveEnoughData, HTMLMediaElement::HAVE_ENOUGH_DATA); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebMediaPlayer::PreloadNone, MediaPlayer::None); |
+STATIC_ASSERT_MATCHING_ENUM(WebMediaPlayer::PreloadMetaData, MediaPlayer::MetaData); |
+STATIC_ASSERT_MATCHING_ENUM(WebMediaPlayer::PreloadAuto, MediaPlayer::Auto); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonNone, NoButton); |
+STATIC_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonLeft, LeftButton); |
+STATIC_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonMiddle, MiddleButton); |
+STATIC_ASSERT_MATCHING_ENUM(WebMouseEvent::ButtonRight, RightButton); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebScrollbar::Horizontal, HorizontalScrollbar); |
+STATIC_ASSERT_MATCHING_ENUM(WebScrollbar::Vertical, VerticalScrollbar); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollByLine, ScrollByLine); |
+STATIC_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollByPage, ScrollByPage); |
+STATIC_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollByDocument, ScrollByDocument); |
+STATIC_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollByPixel, ScrollByPixel); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebScrollbar::RegularScrollbar, RegularScrollbar); |
+STATIC_ASSERT_MATCHING_ENUM(WebScrollbar::SmallScrollbar, SmallScrollbar); |
+STATIC_ASSERT_MATCHING_ENUM(WebScrollbar::NoPart, NoPart); |
+STATIC_ASSERT_MATCHING_ENUM(WebScrollbar::BackButtonStartPart, BackButtonStartPart); |
+STATIC_ASSERT_MATCHING_ENUM(WebScrollbar::ForwardButtonStartPart, ForwardButtonStartPart); |
+STATIC_ASSERT_MATCHING_ENUM(WebScrollbar::BackTrackPart, BackTrackPart); |
+STATIC_ASSERT_MATCHING_ENUM(WebScrollbar::ThumbPart, ThumbPart); |
+STATIC_ASSERT_MATCHING_ENUM(WebScrollbar::ForwardTrackPart, ForwardTrackPart); |
+STATIC_ASSERT_MATCHING_ENUM(WebScrollbar::BackButtonEndPart, BackButtonEndPart); |
+STATIC_ASSERT_MATCHING_ENUM(WebScrollbar::ForwardButtonEndPart, ForwardButtonEndPart); |
+STATIC_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollbarBGPart, ScrollbarBGPart); |
+STATIC_ASSERT_MATCHING_ENUM(WebScrollbar::TrackBGPart, TrackBGPart); |
+STATIC_ASSERT_MATCHING_ENUM(WebScrollbar::AllParts, AllParts); |
+STATIC_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollbarOverlayStyleDefault, ScrollbarOverlayStyleDefault); |
+STATIC_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollbarOverlayStyleDark, ScrollbarOverlayStyleDark); |
+STATIC_ASSERT_MATCHING_ENUM(WebScrollbar::ScrollbarOverlayStyleLight, ScrollbarOverlayStyleLight); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebScrollbarBehavior::ButtonNone, NoButton); |
+STATIC_ASSERT_MATCHING_ENUM(WebScrollbarBehavior::ButtonLeft, LeftButton); |
+STATIC_ASSERT_MATCHING_ENUM(WebScrollbarBehavior::ButtonMiddle, MiddleButton); |
+STATIC_ASSERT_MATCHING_ENUM(WebScrollbarBehavior::ButtonRight, RightButton); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebSettings::EditingBehaviorMac, EditingMacBehavior); |
+STATIC_ASSERT_MATCHING_ENUM(WebSettings::EditingBehaviorWin, EditingWindowsBehavior); |
+STATIC_ASSERT_MATCHING_ENUM(WebSettings::EditingBehaviorUnix, EditingUnixBehavior); |
+STATIC_ASSERT_MATCHING_ENUM(WebSettings::EditingBehaviorAndroid, EditingAndroidBehavior); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebTextAffinityUpstream, UPSTREAM); |
+STATIC_ASSERT_MATCHING_ENUM(WebTextAffinityDownstream, DOWNSTREAM); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebView::InjectStyleInAllFrames, InjectStyleInAllFrames); |
+STATIC_ASSERT_MATCHING_ENUM(WebView::InjectStyleInTopFrameOnly, InjectStyleInTopFrameOnly); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebIDBDatabaseExceptionUnknownError, UnknownError); |
+STATIC_ASSERT_MATCHING_ENUM(WebIDBDatabaseExceptionConstraintError, ConstraintError); |
+STATIC_ASSERT_MATCHING_ENUM(WebIDBDatabaseExceptionDataError, DataError); |
+STATIC_ASSERT_MATCHING_ENUM(WebIDBDatabaseExceptionVersionError, VersionError); |
+STATIC_ASSERT_MATCHING_ENUM(WebIDBDatabaseExceptionAbortError, AbortError); |
+STATIC_ASSERT_MATCHING_ENUM(WebIDBDatabaseExceptionQuotaError, QuotaExceededError); |
+STATIC_ASSERT_MATCHING_ENUM(WebIDBDatabaseExceptionTimeoutError, TimeoutError); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebIDBKeyTypeInvalid, IDBKey::InvalidType); |
+STATIC_ASSERT_MATCHING_ENUM(WebIDBKeyTypeArray, IDBKey::ArrayType); |
+STATIC_ASSERT_MATCHING_ENUM(WebIDBKeyTypeBinary, IDBKey::BinaryType); |
+STATIC_ASSERT_MATCHING_ENUM(WebIDBKeyTypeString, IDBKey::StringType); |
+STATIC_ASSERT_MATCHING_ENUM(WebIDBKeyTypeDate, IDBKey::DateType); |
+STATIC_ASSERT_MATCHING_ENUM(WebIDBKeyTypeNumber, IDBKey::NumberType); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebIDBKeyPathTypeNull, IDBKeyPath::NullType); |
+STATIC_ASSERT_MATCHING_ENUM(WebIDBKeyPathTypeString, IDBKeyPath::StringType); |
+STATIC_ASSERT_MATCHING_ENUM(WebIDBKeyPathTypeArray, IDBKeyPath::ArrayType); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebIDBMetadata::NoIntVersion, IDBDatabaseMetadata::NoIntVersion); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebFileSystem::TypeTemporary, FileSystemTypeTemporary); |
+STATIC_ASSERT_MATCHING_ENUM(WebFileSystem::TypePersistent, FileSystemTypePersistent); |
+STATIC_ASSERT_MATCHING_ENUM(WebFileSystem::TypeExternal, FileSystemTypeExternal); |
+STATIC_ASSERT_MATCHING_ENUM(WebFileSystem::TypeIsolated, FileSystemTypeIsolated); |
+STATIC_ASSERT_MATCHING_ENUM(WebFileInfo::TypeUnknown, FileMetadata::TypeUnknown); |
+STATIC_ASSERT_MATCHING_ENUM(WebFileInfo::TypeFile, FileMetadata::TypeFile); |
+STATIC_ASSERT_MATCHING_ENUM(WebFileInfo::TypeDirectory, FileMetadata::TypeDirectory); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebFileErrorNotFound, FileError::NOT_FOUND_ERR); |
+STATIC_ASSERT_MATCHING_ENUM(WebFileErrorSecurity, FileError::SECURITY_ERR); |
+STATIC_ASSERT_MATCHING_ENUM(WebFileErrorAbort, FileError::ABORT_ERR); |
+STATIC_ASSERT_MATCHING_ENUM(WebFileErrorNotReadable, FileError::NOT_READABLE_ERR); |
+STATIC_ASSERT_MATCHING_ENUM(WebFileErrorEncoding, FileError::ENCODING_ERR); |
+STATIC_ASSERT_MATCHING_ENUM(WebFileErrorNoModificationAllowed, FileError::NO_MODIFICATION_ALLOWED_ERR); |
+STATIC_ASSERT_MATCHING_ENUM(WebFileErrorInvalidState, FileError::INVALID_STATE_ERR); |
+STATIC_ASSERT_MATCHING_ENUM(WebFileErrorSyntax, FileError::SYNTAX_ERR); |
+STATIC_ASSERT_MATCHING_ENUM(WebFileErrorInvalidModification, FileError::INVALID_MODIFICATION_ERR); |
+STATIC_ASSERT_MATCHING_ENUM(WebFileErrorQuotaExceeded, FileError::QUOTA_EXCEEDED_ERR); |
+STATIC_ASSERT_MATCHING_ENUM(WebFileErrorTypeMismatch, FileError::TYPE_MISMATCH_ERR); |
+STATIC_ASSERT_MATCHING_ENUM(WebFileErrorPathExists, FileError::PATH_EXISTS_ERR); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebGeolocationError::ErrorPermissionDenied, GeolocationError::PermissionDenied); |
+STATIC_ASSERT_MATCHING_ENUM(WebGeolocationError::ErrorPositionUnavailable, GeolocationError::PositionUnavailable); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebTextCheckingTypeSpelling, TextCheckingTypeSpelling); |
+STATIC_ASSERT_MATCHING_ENUM(WebTextCheckingTypeGrammar, TextCheckingTypeGrammar); |
// TODO(rouslan): Remove these comparisons between text-checking and text-decoration enum values after removing the |
// deprecated constructor WebTextCheckingResult(WebTextCheckingType). |
-COMPILE_ASSERT_MATCHING_ENUM(WebTextCheckingTypeSpelling, TextDecorationTypeSpelling); |
-COMPILE_ASSERT_MATCHING_ENUM(WebTextCheckingTypeGrammar, TextDecorationTypeGrammar); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebTextDecorationTypeSpelling, TextDecorationTypeSpelling); |
-COMPILE_ASSERT_MATCHING_ENUM(WebTextDecorationTypeGrammar, TextDecorationTypeGrammar); |
-COMPILE_ASSERT_MATCHING_ENUM(WebTextDecorationTypeInvisibleSpellcheck, TextDecorationTypeInvisibleSpellcheck); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebStorageQuotaErrorNotSupported, NotSupportedError); |
-COMPILE_ASSERT_MATCHING_ENUM(WebStorageQuotaErrorInvalidModification, InvalidModificationError); |
-COMPILE_ASSERT_MATCHING_ENUM(WebStorageQuotaErrorInvalidAccess, InvalidAccessError); |
-COMPILE_ASSERT_MATCHING_ENUM(WebStorageQuotaErrorAbort, AbortError); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebStorageQuotaTypeTemporary, DeprecatedStorageQuota::Temporary); |
-COMPILE_ASSERT_MATCHING_ENUM(WebStorageQuotaTypePersistent, DeprecatedStorageQuota::Persistent); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebPageVisibilityStateVisible, PageVisibilityStateVisible); |
-COMPILE_ASSERT_MATCHING_ENUM(WebPageVisibilityStateHidden, PageVisibilityStateHidden); |
-COMPILE_ASSERT_MATCHING_ENUM(WebPageVisibilityStatePrerender, PageVisibilityStatePrerender); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebMediaStreamSource::TypeAudio, MediaStreamSource::TypeAudio); |
-COMPILE_ASSERT_MATCHING_ENUM(WebMediaStreamSource::TypeVideo, MediaStreamSource::TypeVideo); |
-COMPILE_ASSERT_MATCHING_ENUM(WebMediaStreamSource::ReadyStateLive, MediaStreamSource::ReadyStateLive); |
-COMPILE_ASSERT_MATCHING_ENUM(WebMediaStreamSource::ReadyStateMuted, MediaStreamSource::ReadyStateMuted); |
-COMPILE_ASSERT_MATCHING_ENUM(WebMediaStreamSource::ReadyStateEnded, MediaStreamSource::ReadyStateEnded); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebSpeechRecognizerClient::OtherError, SpeechRecognitionError::ErrorCodeOther); |
-COMPILE_ASSERT_MATCHING_ENUM(WebSpeechRecognizerClient::NoSpeechError, SpeechRecognitionError::ErrorCodeNoSpeech); |
-COMPILE_ASSERT_MATCHING_ENUM(WebSpeechRecognizerClient::AbortedError, SpeechRecognitionError::ErrorCodeAborted); |
-COMPILE_ASSERT_MATCHING_ENUM(WebSpeechRecognizerClient::AudioCaptureError, SpeechRecognitionError::ErrorCodeAudioCapture); |
-COMPILE_ASSERT_MATCHING_ENUM(WebSpeechRecognizerClient::NetworkError, SpeechRecognitionError::ErrorCodeNetwork); |
-COMPILE_ASSERT_MATCHING_ENUM(WebSpeechRecognizerClient::NotAllowedError, SpeechRecognitionError::ErrorCodeNotAllowed); |
-COMPILE_ASSERT_MATCHING_ENUM(WebSpeechRecognizerClient::ServiceNotAllowedError, SpeechRecognitionError::ErrorCodeServiceNotAllowed); |
-COMPILE_ASSERT_MATCHING_ENUM(WebSpeechRecognizerClient::BadGrammarError, SpeechRecognitionError::ErrorCodeBadGrammar); |
-COMPILE_ASSERT_MATCHING_ENUM(WebSpeechRecognizerClient::LanguageNotSupportedError, SpeechRecognitionError::ErrorCodeLanguageNotSupported); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebReferrerPolicyAlways, ReferrerPolicyAlways); |
-COMPILE_ASSERT_MATCHING_ENUM(WebReferrerPolicyDefault, ReferrerPolicyDefault); |
-COMPILE_ASSERT_MATCHING_ENUM(WebReferrerPolicyNoReferrerWhenDowngrade, ReferrerPolicyNoReferrerWhenDowngrade); |
-COMPILE_ASSERT_MATCHING_ENUM(WebReferrerPolicyNever, ReferrerPolicyNever); |
-COMPILE_ASSERT_MATCHING_ENUM(WebReferrerPolicyOrigin, ReferrerPolicyOrigin); |
-COMPILE_ASSERT_MATCHING_ENUM(WebReferrerPolicyOriginWhenCrossOrigin, ReferrerPolicyOriginWhenCrossOrigin); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebContentSecurityPolicyTypeReport, ContentSecurityPolicyHeaderTypeReport); |
-COMPILE_ASSERT_MATCHING_ENUM(WebContentSecurityPolicyTypeEnforce, ContentSecurityPolicyHeaderTypeEnforce); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebURLResponse::Unknown, ResourceResponse::Unknown); |
-COMPILE_ASSERT_MATCHING_ENUM(WebURLResponse::HTTP_0_9, ResourceResponse::HTTP_0_9); |
-COMPILE_ASSERT_MATCHING_ENUM(WebURLResponse::HTTP_1_0, ResourceResponse::HTTP_1_0); |
-COMPILE_ASSERT_MATCHING_ENUM(WebURLResponse::HTTP_1_1, ResourceResponse::HTTP_1_1); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebFormElement::AutocompleteResultSuccess, HTMLFormElement::AutocompleteResultSuccess); |
-COMPILE_ASSERT_MATCHING_ENUM(WebFormElement::AutocompleteResultErrorDisabled, HTMLFormElement::AutocompleteResultErrorDisabled); |
-COMPILE_ASSERT_MATCHING_ENUM(WebFormElement::AutocompleteResultErrorCancel, HTMLFormElement::AutocompleteResultErrorCancel); |
-COMPILE_ASSERT_MATCHING_ENUM(WebFormElement::AutocompleteResultErrorInvalid, HTMLFormElement::AutocompleteResultErrorInvalid); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebURLRequest::PriorityUnresolved, ResourceLoadPriorityUnresolved); |
-COMPILE_ASSERT_MATCHING_ENUM(WebURLRequest::PriorityVeryLow, ResourceLoadPriorityVeryLow); |
-COMPILE_ASSERT_MATCHING_ENUM(WebURLRequest::PriorityLow, ResourceLoadPriorityLow); |
-COMPILE_ASSERT_MATCHING_ENUM(WebURLRequest::PriorityMedium, ResourceLoadPriorityMedium); |
-COMPILE_ASSERT_MATCHING_ENUM(WebURLRequest::PriorityHigh, ResourceLoadPriorityHigh); |
-COMPILE_ASSERT_MATCHING_ENUM(WebURLRequest::PriorityVeryHigh, ResourceLoadPriorityVeryHigh); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebNavigationPolicyIgnore, NavigationPolicyIgnore); |
-COMPILE_ASSERT_MATCHING_ENUM(WebNavigationPolicyDownload, NavigationPolicyDownload); |
-COMPILE_ASSERT_MATCHING_ENUM(WebNavigationPolicyCurrentTab, NavigationPolicyCurrentTab); |
-COMPILE_ASSERT_MATCHING_ENUM(WebNavigationPolicyNewBackgroundTab, NavigationPolicyNewBackgroundTab); |
-COMPILE_ASSERT_MATCHING_ENUM(WebNavigationPolicyNewForegroundTab, NavigationPolicyNewForegroundTab); |
-COMPILE_ASSERT_MATCHING_ENUM(WebNavigationPolicyNewWindow, NavigationPolicyNewWindow); |
-COMPILE_ASSERT_MATCHING_ENUM(WebNavigationPolicyNewPopup, NavigationPolicyNewPopup); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebStandardCommit, StandardCommit); |
-COMPILE_ASSERT_MATCHING_ENUM(WebBackForwardCommit, BackForwardCommit); |
-COMPILE_ASSERT_MATCHING_ENUM(WebInitialCommitInChildFrame, InitialCommitInChildFrame); |
-COMPILE_ASSERT_MATCHING_ENUM(WebHistoryInertCommit, HistoryInertCommit); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebHistorySameDocumentLoad, HistorySameDocumentLoad); |
-COMPILE_ASSERT_MATCHING_ENUM(WebHistoryDifferentDocumentLoad, HistoryDifferentDocumentLoad); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelDebug, DebugMessageLevel); |
-COMPILE_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelLog, LogMessageLevel); |
-COMPILE_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelWarning, WarningMessageLevel); |
-COMPILE_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelError, ErrorMessageLevel); |
-COMPILE_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelInfo, InfoMessageLevel); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebCustomHandlersNew, NavigatorContentUtilsClient::CustomHandlersNew); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCustomHandlersRegistered, NavigatorContentUtilsClient::CustomHandlersRegistered); |
-COMPILE_ASSERT_MATCHING_ENUM(WebCustomHandlersDeclined, NavigatorContentUtilsClient::CustomHandlersDeclined); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebTouchActionNone, TouchActionNone); |
-COMPILE_ASSERT_MATCHING_ENUM(WebTouchActionAuto, TouchActionAuto); |
-COMPILE_ASSERT_MATCHING_ENUM(WebTouchActionPanX, TouchActionPanX); |
-COMPILE_ASSERT_MATCHING_ENUM(WebTouchActionPanY, TouchActionPanY); |
-COMPILE_ASSERT_MATCHING_ENUM(WebTouchActionPinchZoom, TouchActionPinchZoom); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebSelectionBound::Caret, CompositedSelectionBound::Caret); |
-COMPILE_ASSERT_MATCHING_ENUM(WebSelectionBound::SelectionLeft, CompositedSelectionBound::SelectionLeft); |
-COMPILE_ASSERT_MATCHING_ENUM(WebSelectionBound::SelectionRight, CompositedSelectionBound::SelectionRight); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebSettings::ImageAnimationPolicyAllowed, ImageAnimationPolicyAllowed); |
-COMPILE_ASSERT_MATCHING_ENUM(WebSettings::ImageAnimationPolicyAnimateOnce, ImageAnimationPolicyAnimateOnce); |
-COMPILE_ASSERT_MATCHING_ENUM(WebSettings::ImageAnimationPolicyNoAnimation, ImageAnimationPolicyNoAnimation); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsDefault, V8CacheOptionsDefault); |
-COMPILE_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsParse, V8CacheOptionsParse); |
-COMPILE_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsCode, V8CacheOptionsCode); |
-COMPILE_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsCodeCompressed, V8CacheOptionsCodeCompressed); |
-COMPILE_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsNone, V8CacheOptionsNone); |
-COMPILE_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsParseMemory, V8CacheOptionsParseMemory); |
-COMPILE_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsHeuristics, V8CacheOptionsHeuristics); |
-COMPILE_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsHeuristicsMobile, V8CacheOptionsHeuristicsMobile); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeNone, PointerTypeNone); |
-COMPILE_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeCoarse, PointerTypeCoarse); |
-COMPILE_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeFine, PointerTypeFine); |
-COMPILE_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeNone, HoverTypeNone); |
-COMPILE_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeOnDemand, HoverTypeOnDemand); |
-COMPILE_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeHover, HoverTypeHover); |
- |
-COMPILE_ASSERT_MATCHING_ENUM(WebSecurityPolicy::PolicyAreaNone, SchemeRegistry::PolicyAreaNone); |
-COMPILE_ASSERT_MATCHING_ENUM(WebSecurityPolicy::PolicyAreaImage, SchemeRegistry::PolicyAreaImage); |
-COMPILE_ASSERT_MATCHING_ENUM(WebSecurityPolicy::PolicyAreaStyle, SchemeRegistry::PolicyAreaStyle); |
-COMPILE_ASSERT_MATCHING_ENUM(WebSecurityPolicy::PolicyAreaAll, SchemeRegistry::PolicyAreaAll); |
- |
-COMPILE_ASSERT_MATCHING_UINT64(kSerializedScriptValueVersion, SerializedScriptValue::wireFormatVersion); |
+STATIC_ASSERT_MATCHING_ENUM(WebTextCheckingTypeSpelling, TextDecorationTypeSpelling); |
+STATIC_ASSERT_MATCHING_ENUM(WebTextCheckingTypeGrammar, TextDecorationTypeGrammar); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebTextDecorationTypeSpelling, TextDecorationTypeSpelling); |
+STATIC_ASSERT_MATCHING_ENUM(WebTextDecorationTypeGrammar, TextDecorationTypeGrammar); |
+STATIC_ASSERT_MATCHING_ENUM(WebTextDecorationTypeInvisibleSpellcheck, TextDecorationTypeInvisibleSpellcheck); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebStorageQuotaErrorNotSupported, NotSupportedError); |
+STATIC_ASSERT_MATCHING_ENUM(WebStorageQuotaErrorInvalidModification, InvalidModificationError); |
+STATIC_ASSERT_MATCHING_ENUM(WebStorageQuotaErrorInvalidAccess, InvalidAccessError); |
+STATIC_ASSERT_MATCHING_ENUM(WebStorageQuotaErrorAbort, AbortError); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebStorageQuotaTypeTemporary, DeprecatedStorageQuota::Temporary); |
+STATIC_ASSERT_MATCHING_ENUM(WebStorageQuotaTypePersistent, DeprecatedStorageQuota::Persistent); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebPageVisibilityStateVisible, PageVisibilityStateVisible); |
+STATIC_ASSERT_MATCHING_ENUM(WebPageVisibilityStateHidden, PageVisibilityStateHidden); |
+STATIC_ASSERT_MATCHING_ENUM(WebPageVisibilityStatePrerender, PageVisibilityStatePrerender); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebMediaStreamSource::TypeAudio, MediaStreamSource::TypeAudio); |
+STATIC_ASSERT_MATCHING_ENUM(WebMediaStreamSource::TypeVideo, MediaStreamSource::TypeVideo); |
+STATIC_ASSERT_MATCHING_ENUM(WebMediaStreamSource::ReadyStateLive, MediaStreamSource::ReadyStateLive); |
+STATIC_ASSERT_MATCHING_ENUM(WebMediaStreamSource::ReadyStateMuted, MediaStreamSource::ReadyStateMuted); |
+STATIC_ASSERT_MATCHING_ENUM(WebMediaStreamSource::ReadyStateEnded, MediaStreamSource::ReadyStateEnded); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebSpeechRecognizerClient::OtherError, SpeechRecognitionError::ErrorCodeOther); |
+STATIC_ASSERT_MATCHING_ENUM(WebSpeechRecognizerClient::NoSpeechError, SpeechRecognitionError::ErrorCodeNoSpeech); |
+STATIC_ASSERT_MATCHING_ENUM(WebSpeechRecognizerClient::AbortedError, SpeechRecognitionError::ErrorCodeAborted); |
+STATIC_ASSERT_MATCHING_ENUM(WebSpeechRecognizerClient::AudioCaptureError, SpeechRecognitionError::ErrorCodeAudioCapture); |
+STATIC_ASSERT_MATCHING_ENUM(WebSpeechRecognizerClient::NetworkError, SpeechRecognitionError::ErrorCodeNetwork); |
+STATIC_ASSERT_MATCHING_ENUM(WebSpeechRecognizerClient::NotAllowedError, SpeechRecognitionError::ErrorCodeNotAllowed); |
+STATIC_ASSERT_MATCHING_ENUM(WebSpeechRecognizerClient::ServiceNotAllowedError, SpeechRecognitionError::ErrorCodeServiceNotAllowed); |
+STATIC_ASSERT_MATCHING_ENUM(WebSpeechRecognizerClient::BadGrammarError, SpeechRecognitionError::ErrorCodeBadGrammar); |
+STATIC_ASSERT_MATCHING_ENUM(WebSpeechRecognizerClient::LanguageNotSupportedError, SpeechRecognitionError::ErrorCodeLanguageNotSupported); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebReferrerPolicyAlways, ReferrerPolicyAlways); |
+STATIC_ASSERT_MATCHING_ENUM(WebReferrerPolicyDefault, ReferrerPolicyDefault); |
+STATIC_ASSERT_MATCHING_ENUM(WebReferrerPolicyNoReferrerWhenDowngrade, ReferrerPolicyNoReferrerWhenDowngrade); |
+STATIC_ASSERT_MATCHING_ENUM(WebReferrerPolicyNever, ReferrerPolicyNever); |
+STATIC_ASSERT_MATCHING_ENUM(WebReferrerPolicyOrigin, ReferrerPolicyOrigin); |
+STATIC_ASSERT_MATCHING_ENUM(WebReferrerPolicyOriginWhenCrossOrigin, ReferrerPolicyOriginWhenCrossOrigin); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebContentSecurityPolicyTypeReport, ContentSecurityPolicyHeaderTypeReport); |
+STATIC_ASSERT_MATCHING_ENUM(WebContentSecurityPolicyTypeEnforce, ContentSecurityPolicyHeaderTypeEnforce); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebURLResponse::Unknown, ResourceResponse::Unknown); |
+STATIC_ASSERT_MATCHING_ENUM(WebURLResponse::HTTP_0_9, ResourceResponse::HTTP_0_9); |
+STATIC_ASSERT_MATCHING_ENUM(WebURLResponse::HTTP_1_0, ResourceResponse::HTTP_1_0); |
+STATIC_ASSERT_MATCHING_ENUM(WebURLResponse::HTTP_1_1, ResourceResponse::HTTP_1_1); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebFormElement::AutocompleteResultSuccess, HTMLFormElement::AutocompleteResultSuccess); |
+STATIC_ASSERT_MATCHING_ENUM(WebFormElement::AutocompleteResultErrorDisabled, HTMLFormElement::AutocompleteResultErrorDisabled); |
+STATIC_ASSERT_MATCHING_ENUM(WebFormElement::AutocompleteResultErrorCancel, HTMLFormElement::AutocompleteResultErrorCancel); |
+STATIC_ASSERT_MATCHING_ENUM(WebFormElement::AutocompleteResultErrorInvalid, HTMLFormElement::AutocompleteResultErrorInvalid); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebURLRequest::PriorityUnresolved, ResourceLoadPriorityUnresolved); |
+STATIC_ASSERT_MATCHING_ENUM(WebURLRequest::PriorityVeryLow, ResourceLoadPriorityVeryLow); |
+STATIC_ASSERT_MATCHING_ENUM(WebURLRequest::PriorityLow, ResourceLoadPriorityLow); |
+STATIC_ASSERT_MATCHING_ENUM(WebURLRequest::PriorityMedium, ResourceLoadPriorityMedium); |
+STATIC_ASSERT_MATCHING_ENUM(WebURLRequest::PriorityHigh, ResourceLoadPriorityHigh); |
+STATIC_ASSERT_MATCHING_ENUM(WebURLRequest::PriorityVeryHigh, ResourceLoadPriorityVeryHigh); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebNavigationPolicyIgnore, NavigationPolicyIgnore); |
+STATIC_ASSERT_MATCHING_ENUM(WebNavigationPolicyDownload, NavigationPolicyDownload); |
+STATIC_ASSERT_MATCHING_ENUM(WebNavigationPolicyCurrentTab, NavigationPolicyCurrentTab); |
+STATIC_ASSERT_MATCHING_ENUM(WebNavigationPolicyNewBackgroundTab, NavigationPolicyNewBackgroundTab); |
+STATIC_ASSERT_MATCHING_ENUM(WebNavigationPolicyNewForegroundTab, NavigationPolicyNewForegroundTab); |
+STATIC_ASSERT_MATCHING_ENUM(WebNavigationPolicyNewWindow, NavigationPolicyNewWindow); |
+STATIC_ASSERT_MATCHING_ENUM(WebNavigationPolicyNewPopup, NavigationPolicyNewPopup); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebStandardCommit, StandardCommit); |
+STATIC_ASSERT_MATCHING_ENUM(WebBackForwardCommit, BackForwardCommit); |
+STATIC_ASSERT_MATCHING_ENUM(WebInitialCommitInChildFrame, InitialCommitInChildFrame); |
+STATIC_ASSERT_MATCHING_ENUM(WebHistoryInertCommit, HistoryInertCommit); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebHistorySameDocumentLoad, HistorySameDocumentLoad); |
+STATIC_ASSERT_MATCHING_ENUM(WebHistoryDifferentDocumentLoad, HistoryDifferentDocumentLoad); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelDebug, DebugMessageLevel); |
+STATIC_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelLog, LogMessageLevel); |
+STATIC_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelWarning, WarningMessageLevel); |
+STATIC_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelError, ErrorMessageLevel); |
+STATIC_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelInfo, InfoMessageLevel); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebCustomHandlersNew, NavigatorContentUtilsClient::CustomHandlersNew); |
+STATIC_ASSERT_MATCHING_ENUM(WebCustomHandlersRegistered, NavigatorContentUtilsClient::CustomHandlersRegistered); |
+STATIC_ASSERT_MATCHING_ENUM(WebCustomHandlersDeclined, NavigatorContentUtilsClient::CustomHandlersDeclined); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebTouchActionNone, TouchActionNone); |
+STATIC_ASSERT_MATCHING_ENUM(WebTouchActionAuto, TouchActionAuto); |
+STATIC_ASSERT_MATCHING_ENUM(WebTouchActionPanX, TouchActionPanX); |
+STATIC_ASSERT_MATCHING_ENUM(WebTouchActionPanY, TouchActionPanY); |
+STATIC_ASSERT_MATCHING_ENUM(WebTouchActionPinchZoom, TouchActionPinchZoom); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebSelectionBound::Caret, CompositedSelectionBound::Caret); |
+STATIC_ASSERT_MATCHING_ENUM(WebSelectionBound::SelectionLeft, CompositedSelectionBound::SelectionLeft); |
+STATIC_ASSERT_MATCHING_ENUM(WebSelectionBound::SelectionRight, CompositedSelectionBound::SelectionRight); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebSettings::ImageAnimationPolicyAllowed, ImageAnimationPolicyAllowed); |
+STATIC_ASSERT_MATCHING_ENUM(WebSettings::ImageAnimationPolicyAnimateOnce, ImageAnimationPolicyAnimateOnce); |
+STATIC_ASSERT_MATCHING_ENUM(WebSettings::ImageAnimationPolicyNoAnimation, ImageAnimationPolicyNoAnimation); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsDefault, V8CacheOptionsDefault); |
+STATIC_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsParse, V8CacheOptionsParse); |
+STATIC_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsCode, V8CacheOptionsCode); |
+STATIC_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsCodeCompressed, V8CacheOptionsCodeCompressed); |
+STATIC_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsNone, V8CacheOptionsNone); |
+STATIC_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsParseMemory, V8CacheOptionsParseMemory); |
+STATIC_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsHeuristics, V8CacheOptionsHeuristics); |
+STATIC_ASSERT_MATCHING_ENUM(WebSettings::V8CacheOptionsHeuristicsMobile, V8CacheOptionsHeuristicsMobile); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeNone, PointerTypeNone); |
+STATIC_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeCoarse, PointerTypeCoarse); |
+STATIC_ASSERT_MATCHING_ENUM(WebSettings::PointerTypeFine, PointerTypeFine); |
+STATIC_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeNone, HoverTypeNone); |
+STATIC_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeOnDemand, HoverTypeOnDemand); |
+STATIC_ASSERT_MATCHING_ENUM(WebSettings::HoverTypeHover, HoverTypeHover); |
+ |
+STATIC_ASSERT_MATCHING_ENUM(WebSecurityPolicy::PolicyAreaNone, SchemeRegistry::PolicyAreaNone); |
+STATIC_ASSERT_MATCHING_ENUM(WebSecurityPolicy::PolicyAreaImage, SchemeRegistry::PolicyAreaImage); |
+STATIC_ASSERT_MATCHING_ENUM(WebSecurityPolicy::PolicyAreaStyle, SchemeRegistry::PolicyAreaStyle); |
+STATIC_ASSERT_MATCHING_ENUM(WebSecurityPolicy::PolicyAreaAll, SchemeRegistry::PolicyAreaAll); |
+ |
+STATIC_ASSERT_MATCHING_UINT64(kSerializedScriptValueVersion, SerializedScriptValue::wireFormatVersion); |
} // namespace blink |