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

Unified Diff: ui/views/view.h

Issue 2119413004: a11y: Exclude children of nested keyboard accessible controls from a11y tree. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Before revert of cross-platform ignored a11y elements. Created 4 years, 2 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/views/cocoa/bridged_content_view.mm ('k') | ui/views/view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/view.h
diff --git a/ui/views/view.h b/ui/views/view.h
index 572d3a55f0487c33d11ef164b203bcb513cce133..a5293b1afa799f7e6895ec71b5c6c5c344c0cb35 100644
--- a/ui/views/view.h
+++ b/ui/views/view.h
@@ -779,6 +779,8 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
// IMPORTANT NOTE: loops in the focus hierarchy are not supported.
void SetNextFocusableView(View* view);
+ // Returns last set focus behavior.
+ FocusBehavior focus_behavior() const { return focus_behavior_; }
// Sets |focus_behavior| and advances focus if necessary.
void SetFocusBehavior(FocusBehavior focus_behavior);
@@ -945,6 +947,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) { }
@@ -1143,9 +1149,6 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
// Focus ---------------------------------------------------------------------
- // Returns last set focus behavior.
- FocusBehavior focus_behavior() const { return focus_behavior_; }
-
// Override to be notified when focus has changed either to or from this View.
virtual void OnFocus();
virtual void OnBlur();
« no previous file with comments | « ui/views/cocoa/bridged_content_view.mm ('k') | ui/views/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698