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

Unified Diff: ui/accessibility/ax_utils.h

Issue 2671563002: MacViews: Implement NSAccessibilityPressAction for Views with clickable roles. (Closed)
Patch Set: Use method instead of private member. Created 3 years, 11 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
Index: ui/accessibility/ax_utils.h
diff --git a/ui/accessibility/ax_utils.h b/ui/accessibility/ax_utils.h
new file mode 100644
index 0000000000000000000000000000000000000000..8c51f3195bb79989d4055ebfb25e2c5d29b8d212
--- /dev/null
+++ b/ui/accessibility/ax_utils.h
@@ -0,0 +1,17 @@
+// 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_UTILS_H_
+#define UI_ACCESSIBILITY_AX_UTILS_H_
+
+#include "ui/accessibility/ax_enums.h"
+#include "ui/accessibility/ax_export.h"
+
+namespace ui {
+
+AX_EXPORT bool IsRoleClickable(AXRole role);
tapted 2017/02/09 02:45:18 nit: needs a comment
Patti Lor 2017/02/09 23:11:23 Done.
+
+} // namespace ui
+
+#endif // UI_ACCESSIBILITY_AX_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698