| Index: ui/views/view.h
|
| diff --git a/ui/views/view.h b/ui/views/view.h
|
| index 55cc02bb54da4eaa205df9f8adc17d5f84245279..ac638b6bf9977739593422386470caf8e2065345 100644
|
| --- a/ui/views/view.h
|
| +++ b/ui/views/view.h
|
| @@ -1150,6 +1150,12 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
|
| void Focus();
|
| void Blur();
|
|
|
| + // See documentation on variable.
|
| + bool should_use_md_focus_ring() { return should_use_md_focus_ring_; }
|
| + void set_should_use_md_focus_ring(bool use) {
|
| + should_use_md_focus_ring_ = use;
|
| + }
|
| +
|
| // System events -------------------------------------------------------------
|
|
|
| // Called when the UI theme (not the NativeTheme) has changed, overriding
|
| @@ -1546,6 +1552,9 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
|
| // The focus behavior of the view in regular and accessibility mode.
|
| FocusBehavior focus_behavior_;
|
|
|
| + // True if this view wants to display focus via a Harmony/MD style focus ring.
|
| + bool should_use_md_focus_ring_;
|
| +
|
| // Context menus -------------------------------------------------------------
|
|
|
| // The menu controller.
|
|
|