summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/bookmark_bubble_view.h
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-02 04:47:36 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-02 04:47:36 +0000
commita0d0d38b5d45d7be151bad91a2231d3679432d13 (patch)
tree65866dc75a0ca59d3bd51804db05560e41b9ebf2 /chrome/browser/views/bookmark_bubble_view.h
parent73c8cb87ca07481b24f7823c1f2f99f0b530ef11 (diff)
downloadchromium_src-a0d0d38b5d45d7be151bad91a2231d3679432d13.zip
chromium_src-a0d0d38b5d45d7be151bad91a2231d3679432d13.tar.gz
chromium_src-a0d0d38b5d45d7be151bad91a2231d3679432d13.tar.bz2
Make Combobox portable
BUG=none TEST=none Review URL: http://codereview.chromium.org/113991 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17382 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/bookmark_bubble_view.h')
-rw-r--r--chrome/browser/views/bookmark_bubble_view.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/chrome/browser/views/bookmark_bubble_view.h b/chrome/browser/views/bookmark_bubble_view.h
index 187a193e..5083a52 100644
--- a/chrome/browser/views/bookmark_bubble_view.h
+++ b/chrome/browser/views/bookmark_bubble_view.h
@@ -9,7 +9,7 @@
#include "chrome/browser/views/info_bubble.h"
#include "googleurl/src/gurl.h"
#include "views/controls/button/button.h"
-#include "views/controls/combo_box.h"
+#include "views/controls/combobox/combobox.h"
#include "views/controls/link.h"
#include "views/view.h"
@@ -30,7 +30,7 @@ class Textfield;
class BookmarkBubbleView : public views::View,
public views::LinkController,
public views::ButtonListener,
- public views::ComboBox::Listener,
+ public views::Combobox::Listener,
public InfoBubbleDelegate {
public:
static void Show(views::Window* window,
@@ -60,13 +60,13 @@ class BookmarkBubbleView : public views::View,
// Model for the combobox showing the list of folders to choose from. The
// list always contains the bookmark bar, other node and parent. The list
// also contains an extra item that shows the text 'Choose another folder...'.
- class RecentlyUsedFoldersModel : public views::ComboBox::Model {
+ class RecentlyUsedFoldersModel : public views::Combobox::Model {
public:
RecentlyUsedFoldersModel(BookmarkModel* bb_model, BookmarkNode* node);
- // ComboBox::Model methods. Call through to nodes_.
- virtual int GetItemCount(views::ComboBox* source);
- virtual std::wstring GetItemAt(views::ComboBox* source, int index);
+ // Combobox::Model methods. Call through to nodes_.
+ virtual int GetItemCount(views::Combobox* source);
+ virtual std::wstring GetItemAt(views::Combobox* source, int index);
// Returns the node at the specified index.
BookmarkNode* GetNodeAt(int index);
@@ -104,8 +104,8 @@ class BookmarkBubbleView : public views::View,
// ButtonListener method, closes the bubble or opens the edit dialog.
virtual void ButtonPressed(views::Button* sender);
- // ComboBox::Listener method. Changes the parent of the bookmark.
- virtual void ItemChanged(views::ComboBox* combo_box,
+ // Combobox::Listener method. Changes the parent of the bookmark.
+ virtual void ItemChanged(views::Combobox* combobox,
int prev_index,
int new_index);
@@ -158,9 +158,9 @@ class BookmarkBubbleView : public views::View,
// Textfield showing the title of the bookmark.
views::Textfield* title_tf_;
- // ComboBox showing a handful of folders the user can choose from, including
+ // Combobox showing a handful of folders the user can choose from, including
// the current parent.
- views::ComboBox* parent_combobox_;
+ views::Combobox* parent_combobox_;
// When the destructor is invoked should the bookmark be removed?
bool remove_bookmark_;