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

Unified Diff: ui/accessibility/platform/ax_platform_node_delegate.h

Issue 2490073002: MacViews/a11y: Allow accessibility clients to focus and unfocus focusable Views. (Closed)
Patch Set: Use CreateParams and MakeUnique. Created 4 years, 1 month 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/platform/ax_platform_node_delegate.h
diff --git a/ui/accessibility/platform/ax_platform_node_delegate.h b/ui/accessibility/platform/ax_platform_node_delegate.h
index 998168a76e7db89110101b25ad1bc67e7b84b817..a9006a5f428fb0da43fadfd448ad336c679e6795 100644
--- a/ui/accessibility/platform/ax_platform_node_delegate.h
+++ b/ui/accessibility/platform/ax_platform_node_delegate.h
@@ -94,6 +94,9 @@ class AX_EXPORT AXPlatformNodeDelegate {
// Whether SetStringValue() is callable, i.e. if the string value is not read
// only and if the callback exists.
virtual bool CanSetStringValue() = 0;
+
+ // Focus or unfocus a View, checking if the View is focusable first.
+ virtual bool SetFocused(const bool focused) = 0;
tapted 2016/11/11 00:36:25 nit: remove const
Patti Lor 2016/11/14 03:51:21 Done.
};
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698