summaryrefslogtreecommitdiffstats
path: root/views/controls/message_box_view.cc
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-28 20:54:06 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-28 20:54:06 +0000
commit9163266850ce5d2c871afbd362940a2d04246e23 (patch)
tree31fdefc8be174c686bb02539ba2672be844fbaed /views/controls/message_box_view.cc
parentb7f02c6a9cb5cb58af781761b34895f40d35ddf1 (diff)
downloadchromium_src-9163266850ce5d2c871afbd362940a2d04246e23.zip
chromium_src-9163266850ce5d2c871afbd362940a2d04246e23.tar.gz
chromium_src-9163266850ce5d2c871afbd362940a2d04246e23.tar.bz2
Make Textfield more portable.
Split off Windows bits into NativeTextfieldWin class obscured behind NativeTextfieldWrapper interface. The APIs aren't perfectly tidy yet but this is a good first pass. BUG=none TEST=make sure you can still edit text fields, run the view unit tests. Review URL: http://codereview.chromium.org/113940 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17112 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/message_box_view.cc')
-rw-r--r--views/controls/message_box_view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/controls/message_box_view.cc b/views/controls/message_box_view.cc
index 064f644..8d68e4f 100644
--- a/views/controls/message_box_view.cc
+++ b/views/controls/message_box_view.cc
@@ -47,7 +47,7 @@ MessageBoxView::MessageBoxView(int dialog_flags,
std::wstring MessageBoxView::GetInputText() {
if (prompt_field_)
- return prompt_field_->GetText();
+ return prompt_field_->text();
return EmptyWString();
}