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

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

Issue 12335026: Add GetDefaultIndex() to ComboboxModel. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: UI_EXPORT Created 7 years, 10 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/base/models/combobox_model.h ('k') | ui/ui.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/models/combobox_model.cc
diff --git a/ui/shell_dialogs/select_file_policy.cc b/ui/base/models/combobox_model.cc
similarity index 66%
copy from ui/shell_dialogs/select_file_policy.cc
copy to ui/base/models/combobox_model.cc
index 7e0f5861147dea84903d9ccfd921b80dc304bec4..27b2b477b4d457c829f7e4d6c6764a3db592a072 100644
--- a/ui/shell_dialogs/select_file_policy.cc
+++ b/ui/base/models/combobox_model.cc
@@ -2,10 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ui/shell_dialogs/select_file_policy.h"
+#include "ui/base/models/combobox_model.h"
namespace ui {
-SelectFilePolicy::~SelectFilePolicy() {}
+int ComboboxModel::GetDefaultIndex() const {
+ return 0;
+}
} // namespace ui
« no previous file with comments | « ui/base/models/combobox_model.h ('k') | ui/ui.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698