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

Unified Diff: ui/views/focus/focus_manager.h

Issue 2380303004: Move MdFocusRing to be a property of FocusManager. (Closed)
Patch Set: Created 4 years, 3 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/examples/button_sticker_sheet.cc ('k') | ui/views/focus/focus_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/focus/focus_manager.h
diff --git a/ui/views/focus/focus_manager.h b/ui/views/focus/focus_manager.h
index 99ca6e6772662baf0446feffbe3bf6e705ba6e19..051d7098cb6ad62e2b6010a59fb7a93c07f2cf34 100644
--- a/ui/views/focus/focus_manager.h
+++ b/ui/views/focus/focus_manager.h
@@ -83,6 +83,10 @@ class KeyEvent;
namespace views {
+namespace internal {
+class MdFocusRing;
+}
+
class FocusManagerDelegate;
class FocusSearch;
class View;
@@ -384,6 +388,9 @@ class VIEWS_EXPORT FocusManager {
// Default value is false.
bool keyboard_accessible_;
+ // See class-level comment for MdFocusRing.
+ std::unique_ptr<internal::MdFocusRing> focus_ring_;
+
DISALLOW_COPY_AND_ASSIGN(FocusManager);
};
« no previous file with comments | « ui/views/examples/button_sticker_sheet.cc ('k') | ui/views/focus/focus_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698