| // Copyright 2017 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #include "third_party/blink/renderer/modules/accessibility/ax_enums.h" |
| |
| #include "third_party/blink/public/web/web_ax_enums.h" |
| #include "third_party/blink/renderer/platform/wtf/assertions.h" |
| #include "third_party/blink/renderer/platform/wtf/hash_set.h" |
| #include "third_party/blink/renderer/platform/wtf/text/string_hash.h" |
| #include "third_party/blink/renderer/platform/wtf/text/wtf_string.h" |
| |
| namespace blink { |
| |
| STATIC_ASSERT_ENUM(kWebAXExpandedUndefined, kExpandedUndefined); |
| STATIC_ASSERT_ENUM(kWebAXExpandedCollapsed, kExpandedCollapsed); |
| STATIC_ASSERT_ENUM(kWebAXExpandedExpanded, kExpandedExpanded); |
| |
| STATIC_ASSERT_ENUM(kWebAXOrientationUndefined, |
| kAccessibilityOrientationUndefined); |
| STATIC_ASSERT_ENUM(kWebAXOrientationVertical, |
| kAccessibilityOrientationVertical); |
| STATIC_ASSERT_ENUM(kWebAXOrientationHorizontal, |
| kAccessibilityOrientationHorizontal); |
| |
| STATIC_ASSERT_ENUM(WebAXStringAttribute::kAriaKeyShortcuts, |
| AXStringAttribute::kAriaKeyShortcuts); |
| STATIC_ASSERT_ENUM(WebAXStringAttribute::kAriaRoleDescription, |
| AXStringAttribute::kAriaRoleDescription); |
| STATIC_ASSERT_ENUM(WebAXObjectAttribute::kAriaActiveDescendant, |
| AXObjectAttribute::kAriaActiveDescendant); |
| STATIC_ASSERT_ENUM(WebAXObjectAttribute::kAriaErrorMessage, |
| AXObjectAttribute::kAriaErrorMessage); |
| STATIC_ASSERT_ENUM(WebAXObjectVectorAttribute::kAriaControls, |
| AXObjectVectorAttribute::kAriaControls); |
| STATIC_ASSERT_ENUM(WebAXObjectVectorAttribute::kAriaDetails, |
| AXObjectVectorAttribute::kAriaDetails); |
| STATIC_ASSERT_ENUM(WebAXObjectVectorAttribute::kAriaFlowTo, |
| AXObjectVectorAttribute::kAriaFlowTo); |
| } // namespace blink |