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

Unified Diff: ui/views/view.h

Issue 2210763002: MacViews a11y: Sync VoiceOver cursor with keyboard focus. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments, delete accessibilityShouldUseUniqueId. Created 4 years, 3 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/views/view.h
diff --git a/ui/views/view.h b/ui/views/view.h
index 55cc02bb54da4eaa205df9f8adc17d5f84245279..5007ca55a457f85b06c03d268e42ff72dcf83a85 100644
--- a/ui/views/view.h
+++ b/ui/views/view.h
@@ -940,6 +940,10 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
// Accessibility -------------------------------------------------------------
+ // Gets the NativeViewAccessibility instance for this view, and creates one if
+ // it doesn't yet exist.
+ NativeViewAccessibility* GetNativeViewAccessibility();
+
// Modifies |state| to reflect the current accessible state of this view.
virtual void GetAccessibleState(ui::AXViewState* state) { }

Powered by Google App Engine
This is Rietveld 408576698