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/bug_report_view.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/bug_report_view.h')
-rw-r--r-- | chrome/browser/views/bug_report_view.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/chrome/browser/views/bug_report_view.h b/chrome/browser/views/bug_report_view.h index 9fec67f..59df265 100644 --- a/chrome/browser/views/bug_report_view.h +++ b/chrome/browser/views/bug_report_view.h @@ -8,7 +8,7 @@ #include "chrome/browser/net/url_fetcher.h" #include "googleurl/src/gurl.h" #include "views/controls/combo_box.h" -#include "views/controls/text_field.h" +#include "views/controls/textfield/textfield.h" #include "views/view.h" #include "views/window/dialog_delegate.h" @@ -35,7 +35,7 @@ class BugReportComboBoxModel; class BugReportView : public views::View, public views::DialogDelegate, public views::ComboBox::Listener, - public views::TextField::Controller { + public views::Textfield::Controller { public: explicit BugReportView(Profile* profile, TabContents* tab); virtual ~BugReportView(); @@ -48,11 +48,11 @@ class BugReportView : public views::View, // Overridden from views::View: virtual gfx::Size GetPreferredSize(); - // views::TextField::Controller implementation: - virtual void ContentsChanged(views::TextField* sender, + // views::Textfield::Controller implementation: + 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); // views::ComboBox::Listener implementation: virtual void ItemChanged(views::ComboBox* combo_box, int prev_index, @@ -92,9 +92,9 @@ class BugReportView : public views::View, views::Label* page_title_label_; views::Label* page_title_text_; views::Label* page_url_label_; - views::TextField* page_url_text_; + views::Textfield* page_url_text_; views::Label* description_label_; - views::TextField* description_text_; + views::Textfield* description_text_; views::Checkbox* include_page_source_checkbox_; views::Checkbox* include_page_image_checkbox_; |