Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Unified Diff: ui/accessibility/ax_role_properties.h

Issue 2671563002: MacViews: Implement NSAccessibilityPressAction for Views with clickable roles. (Closed)
Patch Set: Add TODO for "feed" ARIA role. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/accessibility/BUILD.gn ('k') | ui/accessibility/ax_role_properties.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accessibility/ax_role_properties.h
diff --git a/ui/accessibility/ax_role_properties.h b/ui/accessibility/ax_role_properties.h
new file mode 100644
index 0000000000000000000000000000000000000000..7d9ab79611e12aa76d2d496dcc68e2e106a0a116
--- /dev/null
+++ b/ui/accessibility/ax_role_properties.h
@@ -0,0 +1,19 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UI_ACCESSIBILITY_AX_ROLE_PROPERTIES_H_
+#define UI_ACCESSIBILITY_AX_ROLE_PROPERTIES_H_
+
+#include "ui/accessibility/ax_enums.h"
+#include "ui/accessibility/ax_export.h"
+
+namespace ui {
+
+// Checks if the given role should belong to a control that can respond to
+// clicks.
+AX_EXPORT bool IsRoleClickable(AXRole role);
+
+} // namespace ui
+
+#endif // UI_ACCESSIBILITY_AX_ROLE_PROPERTIES_H_
« no previous file with comments | « ui/accessibility/BUILD.gn ('k') | ui/accessibility/ax_role_properties.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698