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(); |