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

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

Issue 59383003: Add the button style for combobox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sky's review (5) Created 7 years 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_listener.h
diff --git a/ui/views/controls/combobox/combobox_listener.h b/ui/views/controls/combobox/combobox_listener.h
index 987f4f442dc7f2772d79b200899c3a2fc09a76d6..2609f647023f8ce1381d189671db8cdf596c65bd 100644
--- a/ui/views/controls/combobox/combobox_listener.h
+++ b/ui/views/controls/combobox/combobox_listener.h
@@ -15,6 +15,10 @@ class ComboboxListener {
public:
virtual void OnSelectedIndexChanged(Combobox* combobox) = 0;
+ // Handles when the combobox's style is the button style and the button is
+ // clicked.
+ virtual void OnComboboxTextButtonClicked(Combobox* combobox) {}
+
protected:
virtual ~ComboboxListener() {}
};

Powered by Google App Engine
This is Rietveld 408576698