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

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

Issue 113940: Make Textfield more portable.... (Closed) Base URL: svn://svn.chromium.org/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.cc ('k') | chrome/browser/views/bug_report_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/bookmark_manager_view.cc
===================================================================
--- chrome/browser/views/bookmark_manager_view.cc (revision 17056)
+++ chrome/browser/views/bookmark_manager_view.cc (working copy)
@@ -579,7 +579,7 @@
}
BookmarkTableModel* BookmarkManagerView::CreateSearchTableModel() {
- std::wstring search_text = search_tf_->GetText();
+ std::wstring search_text = search_tf_->text();
if (search_text.empty())
return NULL;
return BookmarkTableModel::CreateSearchTableModel(GetBookmarkModel(),
@@ -599,13 +599,13 @@
table_model_.reset(new_table_model);
if (!is_search || (new_table_model && new_table_model->RowCount() > 0)) {
table_view_->SetAltText(std::wstring());
- } else if (search_tf_->GetText().empty()) {
+ } else if (search_tf_->text().empty()) {
table_view_->SetAltText(
l10n_util::GetString(IDS_BOOKMARK_MANAGER_NO_SEARCH_TEXT));
} else {
table_view_->SetAltText(
l10n_util::GetStringF(IDS_BOOKMARK_MANAGER_NO_RESULTS,
- search_tf_->GetText()));
+ search_tf_->text()));
}
}
« no previous file with comments | « chrome/browser/views/bookmark_editor_view.cc ('k') | chrome/browser/views/bug_report_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698