diff options
author | saintlou@chromium.org <saintlou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-23 16:48:23 +0000 |
---|---|---|
committer | saintlou@chromium.org <saintlou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-23 16:48:23 +0000 |
commit | a7488a134b0b011c8724ccca6d6f16a549a561e0 (patch) | |
tree | 02248ca3a406edee5ff7d346b30cd20125003456 /views/examples/widget_example.cc | |
parent | 512ac40edc7551c76bbd9bf288afee209f6bba15 (diff) | |
download | chromium_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.cc | 6 |
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(); |