summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/bookmark_editor_view.h
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-27 19:47:23 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-27 19:47:23 +0000
commitba96e33fd8a5b9610de51f6d3e15e6c469674dc2 (patch)
treeda17919af6b99801762e4d7618e92e53dc13a9f3 /chrome/browser/views/bookmark_editor_view.h
parent44c1d4872df77d6ac3bd064a7634078c443a332f (diff)
downloadchromium_src-ba96e33fd8a5b9610de51f6d3e15e6c469674dc2.zip
chromium_src-ba96e33fd8a5b9610de51f6d3e15e6c469674dc2.tar.gz
chromium_src-ba96e33fd8a5b9610de51f6d3e15e6c469674dc2.tar.bz2
Move text_field.cc and rename the class to Textfield in preparation for porting.
BUG=none TEST=none Review URL: http://codereview.chromium.org/115825 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17014 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/bookmark_editor_view.h')
-rw-r--r--chrome/browser/views/bookmark_editor_view.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/chrome/browser/views/bookmark_editor_view.h b/chrome/browser/views/bookmark_editor_view.h
index 055b1a8..1758325 100644
--- a/chrome/browser/views/bookmark_editor_view.h
+++ b/chrome/browser/views/bookmark_editor_view.h
@@ -12,7 +12,7 @@
#include "chrome/browser/bookmarks/bookmark_model.h"
#include "views/controls/button/button.h"
#include "views/controls/menu/menu.h"
-#include "views/controls/text_field.h"
+#include "views/controls/textfield/textfield.h"
#include "views/controls/tree/tree_view.h"
#include "views/window/dialog_delegate.h"
@@ -38,7 +38,7 @@ class BookmarkEditorView : public BookmarkEditor,
public views::ButtonListener,
public views::TreeViewController,
public views::DialogDelegate,
- public views::TextField::Controller,
+ public views::Textfield::Controller,
public views::ContextMenuController,
public views::Menu::Delegate,
public BookmarkModelObserver {
@@ -80,11 +80,11 @@ class BookmarkEditorView : public BookmarkEditor,
virtual void OnTreeViewSelectionChanged(views::TreeView* tree_view);
virtual bool CanEdit(views::TreeView* tree_view, TreeModelNode* node);
- // TextField::Controller methods.
- virtual void ContentsChanged(views::TextField* sender,
+ // Textfield::Controller methods.
+ virtual void ContentsChanged(views::Textfield* sender,
const std::wstring& new_contents);
- virtual bool HandleKeystroke(views::TextField* sender,
- const views::TextField::Keystroke&) {
+ virtual bool HandleKeystroke(views::Textfield* sender,
+ const views::Textfield::Keystroke&) {
return false;
}
@@ -206,7 +206,7 @@ class BookmarkEditorView : public BookmarkEditor,
std::wstring GetInputTitle() const;
// Invoked when the url or title has possibly changed. Updates the background
- // of textfields and ok button appropriately.
+ // of Textfields and ok button appropriately.
void UserInputChanged();
// Creates a new group as a child of the selected node. If no node is
@@ -232,10 +232,10 @@ class BookmarkEditorView : public BookmarkEditor,
scoped_ptr<views::NativeButton> new_group_button_;
// Used for editing the URL.
- views::TextField url_tf_;
+ views::Textfield url_tf_;
// Used for editing the title.
- views::TextField title_tf_;
+ views::Textfield title_tf_;
// Initial parent to select. Is only used if node_ is NULL.
BookmarkNode* parent_;