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

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

Issue 2289143004: Add ink drop ripple (but no highlight) to comboboxes in harmony. (Closed)
Patch Set: remove explicit and improve combobox example Created 4 years, 4 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/controls/menu/submenu_view.cc ('k') | ui/views/controls/prefix_selector.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/prefix_delegate.h
diff --git a/ui/views/controls/prefix_delegate.h b/ui/views/controls/prefix_delegate.h
index a6d27ebe7e01c12fcd101765751ce25aa86ccd03..cd3930a6da28ab7691bb2d90e01ca5f0c52f21db 100644
--- a/ui/views/controls/prefix_delegate.h
+++ b/ui/views/controls/prefix_delegate.h
@@ -6,11 +6,12 @@
#define UI_VIEWS_CONTROLS_PREFIX_DELEGATE_H_
#include "ui/views/view.h"
+#include "ui/views/views_export.h"
namespace views {
// An interface used to expose lists of items for selection by text input.
-class VIEWS_EXPORT PrefixDelegate : public View {
+class VIEWS_EXPORT PrefixDelegate {
public:
// Returns the total number of selectable items.
virtual int GetRowCount() = 0;
@@ -24,9 +25,6 @@ class VIEWS_EXPORT PrefixDelegate : public View {
// Returns the item at the specified row.
virtual base::string16 GetTextForRow(int row) = 0;
-
- protected:
- ~PrefixDelegate() override {}
};
} // namespace views
« no previous file with comments | « ui/views/controls/menu/submenu_view.cc ('k') | ui/views/controls/prefix_selector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698