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

Unified Diff: chrome/browser/views/bookmark_editor_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_bubble_view.cc ('k') | chrome/browser/views/bookmark_manager_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/bookmark_editor_view.cc
===================================================================
--- chrome/browser/views/bookmark_editor_view.cc (revision 17056)
+++ chrome/browser/views/bookmark_editor_view.cc (working copy)
@@ -386,12 +386,12 @@
}
}
GURL BookmarkEditorView::GetInputURL() const {
- std::wstring input = URLFixerUpper::FixupURL(url_tf_.GetText(), L"");
+ std::wstring input = URLFixerUpper::FixupURL(url_tf_.text(), L"");
return GURL(input);
}
std::wstring BookmarkEditorView::GetInputTitle() const {
- return title_tf_.GetText();
+ return title_tf_.text();
}
void BookmarkEditorView::UserInputChanged() {
@@ -399,7 +399,7 @@
if (!url.is_valid())
url_tf_.SetBackgroundColor(kErrorColor);
else
- url_tf_.SetDefaultBackgroundColor();
+ url_tf_.UseDefaultBackgroundColor();
GetDialogClientView()->UpdateDialogButtons();
}
« no previous file with comments | « chrome/browser/views/bookmark_bubble_view.cc ('k') | chrome/browser/views/bookmark_manager_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698