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

Unified Diff: chrome/browser/views/bug_report_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/bug_report_view.h ('k') | chrome/browser/views/edit_keyword_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/bug_report_view.cc
===================================================================
--- chrome/browser/views/bug_report_view.cc (revision 17006)
+++ chrome/browser/views/bug_report_view.cc (working copy)
@@ -200,13 +200,13 @@
page_url_label_ = new views::Label(
l10n_util::GetString(IDS_BUGREPORT_REPORT_URL_LABEL));
// page_url_text_'s text (if any) is filled in after dialog creation
- page_url_text_ = new views::TextField;
+ page_url_text_ = new views::Textfield;
page_url_text_->SetController(this);
description_label_ = new views::Label(
l10n_util::GetString(IDS_BUGREPORT_DESCRIPTION_LABEL));
description_text_ =
- new views::TextField(views::TextField::STYLE_MULTILINE);
+ new views::Textfield(views::Textfield::STYLE_MULTILINE);
description_text_->SetHeightInLines(kDescriptionLines);
include_page_source_checkbox_ = new views::Checkbox(
@@ -298,12 +298,12 @@
GetDialogClientView()->UpdateDialogButtons();
}
-void BugReportView::ContentsChanged(views::TextField* sender,
+void BugReportView::ContentsChanged(views::Textfield* sender,
const std::wstring& new_contents) {
}
-bool BugReportView::HandleKeystroke(views::TextField* sender,
- const views::TextField::Keystroke& key) {
+bool BugReportView::HandleKeystroke(views::Textfield* sender,
+ const views::Textfield::Keystroke& key) {
return false;
}
« no previous file with comments | « chrome/browser/views/bug_report_view.h ('k') | chrome/browser/views/edit_keyword_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698