Index: views/examples/native_theme_checkbox_example.cc |
diff --git a/views/examples/native_theme_checkbox_example.cc b/views/examples/native_theme_checkbox_example.cc |
deleted file mode 100644 |
index 3359a70710dce290edd5702cad7ff95b331dda45..0000000000000000000000000000000000000000 |
--- a/views/examples/native_theme_checkbox_example.cc |
+++ /dev/null |
@@ -1,35 +0,0 @@ |
-// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#include "views/examples/native_theme_checkbox_example.h" |
- |
-#include "base/stringprintf.h" |
-#include "base/utf_string_conversions.h" |
-#include "views/controls/button/checkbox.h" |
-#include "views/controls/button/radio_button.h" |
-#include "views/layout/fill_layout.h" |
- |
-namespace examples { |
- |
-NativeThemeCheckboxExample::NativeThemeCheckboxExample(ExamplesMain* main) |
- : ExampleBase(main, "Native Theme Checkbox"), |
- count_(0) { |
-} |
- |
-NativeThemeCheckboxExample::~NativeThemeCheckboxExample() { |
-} |
- |
-void NativeThemeCheckboxExample::CreateExampleView(views::View* container) { |
- button_ = new views::Checkbox(ASCIIToUTF16("Checkbox")); |
- button_->set_listener(this); |
- container->SetLayoutManager(new views::FillLayout); |
- container->AddChildView(button_); |
-} |
- |
-void NativeThemeCheckboxExample::ButtonPressed(views::Button* sender, |
- const views::Event& event) { |
- PrintStatus(base::StringPrintf("Pressed! count: %d", ++count_).c_str()); |
-} |
- |
-} // namespace examples |