| Index: ui/views/view.h
|
| diff --git a/ui/views/view.h b/ui/views/view.h
|
| index bfa107c7eb59451d32fd8c211537fb1c21eda3d0..98ba67175b7fe350d41a74ff07f9726914f8183b 100644
|
| --- a/ui/views/view.h
|
| +++ b/ui/views/view.h
|
| @@ -808,7 +808,8 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
|
| // IMPORTANT NOTE: loops in the focus hierarchy are not supported.
|
| void SetNextFocusableView(View* view);
|
|
|
| - // Sets |focus_behavior| and advances focus if necessary.
|
| + // Gets/sets |focus_behavior|. SetFocusBehavior() advances focus if necessary.
|
| + FocusBehavior focus_behavior() const { return focus_behavior_; }
|
| void SetFocusBehavior(FocusBehavior focus_behavior);
|
|
|
| // Returns true if this view is focusable, |enabled_| and drawn.
|
| @@ -1195,9 +1196,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();
|
|
|