summaryrefslogtreecommitdiffstats
path: root/views/examples/widget_example.cc
diff options
context:
space:
mode:
authorsaintlou@chromium.org <saintlou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-23 16:48:23 +0000
committersaintlou@chromium.org <saintlou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-23 16:48:23 +0000
commita7488a134b0b011c8724ccca6d6f16a549a561e0 (patch)
tree02248ca3a406edee5ff7d346b30cd20125003456 /views/examples/widget_example.cc
parent512ac40edc7551c76bbd9bf288afee209f6bba15 (diff)
downloadchromium_src-a7488a134b0b011c8724ccca6d6f16a549a561e0.zip
chromium_src-a7488a134b0b011c8724ccca6d6f16a549a561e0.tar.gz
chromium_src-a7488a134b0b011c8724ccca6d6f16a549a561e0.tar.bz2
Updated remaining button to text button. Reverted the interposed
class NativeButtonBase which is no longer needed. BUG=none TEST=none Review URL: http://codereview.chromium.org/7218035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90220 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/examples/widget_example.cc')
-rw-r--r--views/examples/widget_example.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/examples/widget_example.cc b/views/examples/widget_example.cc
index daa8c66..07d21d1 100644
--- a/views/examples/widget_example.cc
+++ b/views/examples/widget_example.cc
@@ -4,7 +4,7 @@
#include "views/examples/widget_example.h"
-#include "views/controls/button/native_button.h"
+#include "views/controls/button/text_button.h"
#include "views/layout/box_layout.h"
#include "views/layout/layout_manager.h"
#include "views/view.h"
@@ -81,8 +81,8 @@ void WidgetExample::InitWidget(views::Widget* widget, bool transparent) {
views::TextButton* close_button = new views::TextButton(this, L"Close");
close_button->set_tag(CLOSE_WIDGET);
// TODO(oshima): support transparent native view.
- views::NativeButton* native_button =
- new views::NativeButton(this, L"Native Close");
+ views::NativeTextButton* native_button =
+ new views::NativeTextButton(this, L"Native Close");
native_button->set_tag(CLOSE_WIDGET);
views::View* button_container = new views::View();