Index: ui/views/view.h |
diff --git a/ui/views/view.h b/ui/views/view.h |
index 55cc02bb54da4eaa205df9f8adc17d5f84245279..86e38768bcc054f5d2261474897a245562e4149e 100644 |
--- a/ui/views/view.h |
+++ b/ui/views/view.h |
@@ -774,6 +774,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); |
@@ -940,6 +942,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) { } |
@@ -1139,9 +1145,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(); |