diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-27 19:47:23 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-27 19:47:23 +0000 |
commit | ba96e33fd8a5b9610de51f6d3e15e6c469674dc2 (patch) | |
tree | da17919af6b99801762e4d7618e92e53dc13a9f3 /chrome/browser/views/new_profile_dialog.h | |
parent | 44c1d4872df77d6ac3bd064a7634078c443a332f (diff) | |
download | chromium_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.h')
-rw-r--r-- | chrome/browser/views/new_profile_dialog.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/views/new_profile_dialog.h b/chrome/browser/views/new_profile_dialog.h index a06729d..2ce169e 100644 --- a/chrome/browser/views/new_profile_dialog.h +++ b/chrome/browser/views/new_profile_dialog.h @@ -11,7 +11,7 @@ #include "base/basictypes.h" #include "base/message_loop.h" #include "chrome/browser/shell_dialogs.h" -#include "views/controls/text_field.h" +#include "views/controls/textfield/textfield.h" #include "views/window/dialog_delegate.h" class MessageBoxView; @@ -22,7 +22,7 @@ class Window; // Dialog that prompts the user to create a new profile. class NewProfileDialog : public views::DialogDelegate, - public views::TextField::Controller { + public views::Textfield::Controller { public: // Creates and runs the dialog. static void RunDialog(); @@ -36,11 +36,11 @@ class NewProfileDialog : public views::DialogDelegate, virtual std::wstring GetWindowTitle() const; virtual void DeleteDelegate(); - // views::TextField::Controller methods. - virtual void ContentsChanged(views::TextField* sender, + // views::Textfield::Controller methods. + virtual void ContentsChanged(views::Textfield* sender, const std::wstring& new_contents); - virtual bool HandleKeystroke(views::TextField* sender, - const views::TextField::Keystroke& key) { + virtual bool HandleKeystroke(views::Textfield* sender, + const views::Textfield::Keystroke& key) { return false; } |