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

Unified Diff: chrome/browser/views/select_profile_dialog.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
« no previous file with comments | « chrome/browser/views/options/languages_page_view.cc ('k') | chrome/browser/views/select_profile_dialog.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/select_profile_dialog.h
===================================================================
--- chrome/browser/views/select_profile_dialog.h (revision 17310)
+++ chrome/browser/views/select_profile_dialog.h (working copy)
@@ -15,7 +15,7 @@
#include "base/ref_counted.h"
#include "chrome/browser/shell_dialogs.h"
#include "chrome/browser/user_data_manager.h"
-#include "views/controls/combo_box.h"
+#include "views/controls/combobox/combobox.h"
#include "views/window/dialog_delegate.h"
class SelectProfileDialogHelper;
@@ -28,7 +28,7 @@
class SelectProfileDialog
: public views::DialogDelegate,
public views::View,
- public views::ComboBox::Model,
+ public views::Combobox::Model,
public GetProfilesHelper::Delegate {
public:
// Creates and runs the dialog.
@@ -54,9 +54,9 @@
virtual std::wstring GetWindowTitle() const;
virtual bool IsModal() const { return false; }
- // views::ComboBox::Model methods.
- virtual int GetItemCount(views::ComboBox* source);
- virtual std::wstring GetItemAt(views::ComboBox* source, int index);
+ // views::Combobox::Model methods.
+ virtual int GetItemCount(views::Combobox* source);
+ virtual std::wstring GetItemAt(views::Combobox* source, int index);
// GetProfilesHelper::Delegate method.
virtual void OnGetProfilesDone(const std::vector<std::wstring>& profiles);
@@ -68,7 +68,7 @@
void SetupControls();
// UI controls.
- views::ComboBox* profile_combobox_;
+ views::Combobox* profile_combobox_;
views::Label* select_profile_label_;
std::vector<std::wstring> profiles_;
« no previous file with comments | « chrome/browser/views/options/languages_page_view.cc ('k') | chrome/browser/views/select_profile_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698