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

Unified Diff: ui/views/controls/combobox/combobox.h

Issue 2383243002: Refactor MdFocusRing to make it easier to reuse on other controls. (Closed)
Patch Set: explicit onfocus Created 4 years, 2 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
Index: ui/views/controls/combobox/combobox.h
diff --git a/ui/views/controls/combobox/combobox.h b/ui/views/controls/combobox/combobox.h
index 12c0bec723f90cab0a7114a6be26018752872c00..ca039d79d2a93f7d6ccbc7e88dacbd986939e2cf 100644
--- a/ui/views/controls/combobox/combobox.h
+++ b/ui/views/controls/combobox/combobox.h
@@ -209,6 +209,9 @@ class VIEWS_EXPORT Combobox : public View,
CustomButton* text_button_;
CustomButton* arrow_button_;
+ // A child that indicates focus.
+ View* focus_ring_;
+
// Set while the dropdown is showing. Ensures the menu is closed if |this| is
// destroyed.
std::unique_ptr<MenuModelAdapter> menu_model_adapter_;

Powered by Google App Engine
This is Rietveld 408576698