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

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: Move accessibilityFocusedUIElement from BrowserCrApplication to BridgedContentView. Created 4 years, 4 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 6b45c6313baf3bee9f08047d3891e28b35de22d1..0be90f3e5a0960008c59a912c48a1e1ca1b8217e 100644
--- a/ui/views/view.h
+++ b/ui/views/view.h
@@ -945,6 +945,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();
tapted 2016/09/26 05:19:18 I'm unsure about this - we'll have to see what vie
Patti Lor 2016/09/28 00:29:14 I like your alternative, but I think it needs to b
dmazzoni 2016/09/29 16:06:15 For context, the reason I didn't add GetNativeView
Patti Lor 2016/10/04 05:45:14 Ok, thanks for the context. I've deleted the chang
+
// 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