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

Unified Diff: chrome/browser/views/options/language_combobox_model.h

Issue 113991: Make Combobox portable (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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: chrome/browser/views/options/language_combobox_model.h
===================================================================
--- chrome/browser/views/options/language_combobox_model.h (revision 17310)
+++ chrome/browser/views/options/language_combobox_model.h (working copy)
@@ -6,12 +6,12 @@
#define CHROME_BROWSER_VIEWS_OPTIONS_LANGUAGE_COMBOBOX_MODEL_H_
#include "chrome/browser/profile.h"
-#include "views/controls/combo_box.h"
+#include "views/controls/combobox/combobox.h"
///////////////////////////////////////////////////////////////////////////////
// LanguageComboboxModel
// The model that fills the dropdown of valid UI languages.
-class LanguageComboboxModel : public views::ComboBox::Model {
+class LanguageComboboxModel : public views::Combobox::Model {
public:
struct LocaleData {
LocaleData() { }
@@ -34,9 +34,9 @@
void InitNativeNames(const std::vector<std::string>& locale_codes);
// Overridden from views::Combobox::Model:
- virtual int GetItemCount(views::ComboBox* source);
+ virtual int GetItemCount(views::Combobox* source);
- virtual std::wstring GetItemAt(views::ComboBox* source, int index);
+ virtual std::wstring GetItemAt(views::Combobox* source, int index);
// Return the locale for the given index. E.g., may return pt-BR.
std::string GetLocaleFromIndex(int index);
« no previous file with comments | « chrome/browser/views/options/general_page_view.cc ('k') | chrome/browser/views/options/language_combobox_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698