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

Unified Diff: chrome/browser/chromeos/options/wimax_config_view.cc

Issue 120503005: Merge NativeTextfieldViews into views::Textfield. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix touch drag and drop unit test. Created 6 years, 11 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
Index: chrome/browser/chromeos/options/wimax_config_view.cc
diff --git a/chrome/browser/chromeos/options/wimax_config_view.cc b/chrome/browser/chromeos/options/wimax_config_view.cc
index 5f59a25e4009e8a23a278860ad3093b561243d8b..896dc8dbd61aa1c6e2f19758ac66c83c7efd8727 100644
--- a/chrome/browser/chromeos/options/wimax_config_view.cc
+++ b/chrome/browser/chromeos/options/wimax_config_view.cc
@@ -89,7 +89,7 @@ bool WimaxConfigView::CanLogin() {
// TODO(benchan): Update this with the correct minimum length (don't just
// check if empty).
// If the network requires a passphrase, make sure it is the right length.
- return passphrase_textfield_ && !passphrase_textfield_->text().empty();
+ return passphrase_textfield_ && !passphrase_textfield_->GetText().empty();
}
void WimaxConfigView::UpdateDialogButtons() {
@@ -174,12 +174,12 @@ bool WimaxConfigView::Login() {
std::string WimaxConfigView::GetEapIdentity() const {
DCHECK(identity_textfield_);
- return base::UTF16ToUTF8(identity_textfield_->text());
+ return base::UTF16ToUTF8(identity_textfield_->GetText());
}
std::string WimaxConfigView::GetEapPassphrase() const {
return passphrase_textfield_ ? base::UTF16ToUTF8(
- passphrase_textfield_->text()) :
+ passphrase_textfield_->GetText()) :
std::string();
}

Powered by Google App Engine
This is Rietveld 408576698