summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/new_profile_dialog.cc
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/new_profile_dialog.cc
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/new_profile_dialog.cc')
-rw-r--r--chrome/browser/views/new_profile_dialog.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/views/new_profile_dialog.cc b/chrome/browser/views/new_profile_dialog.cc
index 8b851f4..c3b12bb 100644
--- a/chrome/browser/views/new_profile_dialog.cc
+++ b/chrome/browser/views/new_profile_dialog.cc
@@ -15,7 +15,7 @@
#include "grit/generated_resources.h"
#include "grit/locale_settings.h"
#include "views/controls/message_box_view.h"
-#include "views/controls/text_field.h"
+#include "views/controls/textfield/textfield.h"
#include "views/view.h"
#include "views/window/window.h"
@@ -56,7 +56,7 @@ NewProfileDialog::~NewProfileDialog() {
}
views::View* NewProfileDialog::GetInitiallyFocusedView() {
- views::TextField* text_box = message_box_view_->text_box();
+ views::Textfield* text_box = message_box_view_->text_box();
DCHECK(text_box);
return text_box;
}
@@ -85,7 +85,7 @@ void NewProfileDialog::DeleteDelegate() {
delete this;
}
-void NewProfileDialog::ContentsChanged(views::TextField* sender,
+void NewProfileDialog::ContentsChanged(views::Textfield* sender,
const std::wstring& new_contents) {
GetDialogClientView()->UpdateDialogButtons();
}