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

Unified Diff: chrome/browser/views/bookmark_editor_view.h

Issue 115825: Move text_field.cc and rename the class to Textfield in preparation for porti... (Closed) Base URL: svn://chrome-svn/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/bookmark_bubble_view.cc ('k') | chrome/browser/views/bookmark_editor_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/bookmark_editor_view.h
===================================================================
--- chrome/browser/views/bookmark_editor_view.h (revision 17006)
+++ chrome/browser/views/bookmark_editor_view.h (working copy)
@@ -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 @@
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 @@
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 @@
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 @@
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_;
« no previous file with comments | « chrome/browser/views/bookmark_bubble_view.cc ('k') | chrome/browser/views/bookmark_editor_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698