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

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

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_editor_view.h ('k') | chrome/browser/views/bookmark_manager_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/bookmark_editor_view.cc
===================================================================
--- chrome/browser/views/bookmark_editor_view.cc (revision 17006)
+++ chrome/browser/views/bookmark_editor_view.cc (working copy)
@@ -33,7 +33,7 @@
using views::GridLayout;
using views::Label;
using views::NativeButton;
-using views::TextField;
+using views::Textfield;
// Background color of text field when URL is invalid.
static const SkColor kErrorColor = SkColorSetRGB(0xFF, 0xBC, 0xBC);
@@ -170,7 +170,7 @@
return (bb_node->GetParent() && bb_node->GetParent()->GetParent());
}
-void BookmarkEditorView::ContentsChanged(TextField* sender,
+void BookmarkEditorView::ContentsChanged(Textfield* sender,
const std::wstring& new_contents) {
UserInputChanged();
}
@@ -207,9 +207,9 @@
if (show_tree_ && bb_model_->IsLoaded())
ExpandAndSelect();
window()->Show();
- // Select all the text in the name textfield.
+ // Select all the text in the name Textfield.
title_tf_.SelectAll();
- // Give focus to the name textfield.
+ // Give focus to the name Textfield.
title_tf_.RequestFocus();
}
« no previous file with comments | « chrome/browser/views/bookmark_editor_view.h ('k') | chrome/browser/views/bookmark_manager_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698