summaryrefslogtreecommitdiffstats
path: root/views/examples/examples_main.cc
diff options
context:
space:
mode:
authorrogerta@chromium.org <rogerta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-27 01:07:09 +0000
committerrogerta@chromium.org <rogerta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-27 01:07:09 +0000
commitc4f06dff5def187a1e2e276d5c83ea0aaeef3299 (patch)
treea328905746e9d54e48b0a983aa2d4d2e8d37461e /views/examples/examples_main.cc
parent24af8c96481b398ef33bf1e36c57d4ab0b00c1d9 (diff)
downloadchromium_src-c4f06dff5def187a1e2e276d5c83ea0aaeef3299.zip
chromium_src-c4f06dff5def187a1e2e276d5c83ea0aaeef3299.tar.gz
chromium_src-c4f06dff5def187a1e2e276d5c83ea0aaeef3299.tar.bz2
Add classes for native themed push buttons, radio buttons, and checkboxes.
These controls expose the same public interface and the existing controls of the same type to make it easier to change between the implementations. BUG=None TEST=The new controls should look and feel like native platform controls R=ben@chromium.org Review URL: http://codereview.chromium.org/6853015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83110 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/examples/examples_main.cc')
-rw-r--r--views/examples/examples_main.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/views/examples/examples_main.cc b/views/examples/examples_main.cc
index 7f12733..8b2b647 100644
--- a/views/examples/examples_main.cc
+++ b/views/examples/examples_main.cc
@@ -20,6 +20,7 @@
#include "views/examples/menu_example.h"
#include "views/examples/message_box_example.h"
#include "views/examples/native_theme_button_example.h"
+#include "views/examples/native_theme_checkbox_example.h"
#include "views/examples/radio_button_example.h"
#include "views/examples/scroll_view_example.h"
#include "views/examples/single_split_view_example.h"
@@ -99,6 +100,10 @@ void ExamplesMain::Run() {
views::Window* window =
views::Window::CreateChromeWindow(NULL, gfx::Rect(0, 0, 850, 300), this);
+ examples::NativeThemeCheckboxExample native_theme_checkbox_example(this);
+ tabbed_pane->AddTab(native_theme_checkbox_example.GetExampleTitle(),
+ native_theme_checkbox_example.GetExampleView());
+
examples::NativeThemeButtonExample native_theme_button_example(this);
tabbed_pane->AddTab(native_theme_button_example.GetExampleTitle(),
native_theme_button_example.GetExampleView());