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

Unified Diff: ui/views/examples/example_combobox_model.cc

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
« no previous file with comments | « ui/views/examples/example_combobox_model.h ('k') | ui/views/examples/examples_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/examples/example_combobox_model.cc
diff --git a/ui/views/examples/example_combobox_model.cc b/ui/views/examples/example_combobox_model.cc
index 800b64e0223d92bc648917fb076fca7254f87f70..c1a6b39368c628ffddddc5781a62b1e8941f36cb 100644
--- a/ui/views/examples/example_combobox_model.cc
+++ b/ui/views/examples/example_combobox_model.cc
@@ -1,12 +1,10 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/examples/example_combobox_model.h"
-#include "base/stringprintf.h"
#include "base/utf_string_conversions.h"
-#include "ui/base/models/combobox_model.h"
namespace views {
namespace examples {
@@ -18,7 +16,7 @@ ExampleComboboxModel::ExampleComboboxModel(const char** strings, int count)
ExampleComboboxModel::~ExampleComboboxModel() {
}
-int ExampleComboboxModel::GetItemCount() {
+int ExampleComboboxModel::GetItemCount() const {
return count_;
}
« no previous file with comments | « ui/views/examples/example_combobox_model.h ('k') | ui/views/examples/examples_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698