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

Unified Diff: ui/base/models/combobox_model.h

Issue 9838092: ui/base/models: Make ComboboxModel::GetItemCount() a constant function. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win_rel and reland Created 8 years, 9 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/base/models/combobox_model.h
diff --git a/ui/base/models/combobox_model.h b/ui/base/models/combobox_model.h
index 828264547de721c6f3c2e4aae8e1971551b4cf9e..81fb048da571ab547b95e568a9aa6603a2c1744e 100644
--- a/ui/base/models/combobox_model.h
+++ b/ui/base/models/combobox_model.h
@@ -14,7 +14,7 @@ namespace ui {
class ComboboxModel {
public:
// Returns the number of items in the combo box.
- virtual int GetItemCount() = 0;
+ virtual int GetItemCount() const = 0;
// Returns the string at the specified index.
virtual string16 GetItemAt(int index) = 0;
« no previous file with comments | « chrome/browser/ui/views/uninstall_view.cc ('k') | ui/views/controls/combobox/native_combobox_views_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698