Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(665)

Unified Diff: views/examples/radio_button_example.h

Issue 6955002: Change chrome to use the new native themed radio button. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Addressed some more comments from review Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « views/controls/button/radio_button.cc ('k') | views/examples/radio_button_example.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/examples/radio_button_example.h
===================================================================
--- views/examples/radio_button_example.h (revision 86135)
+++ views/examples/radio_button_example.h (working copy)
@@ -11,9 +11,12 @@
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "views/controls/button/radio_button.h"
-#include "views/controls/button/text_button.h"
#include "views/examples/example_base.h"
+namespace events {
+class TextButton;
+}
+
namespace examples {
class RadioButtonExample : public ExampleBase,
@@ -32,13 +35,16 @@
const views::Event& event) OVERRIDE;
// Two groups of 3 radio buttons.
+ views::NativeRadioButton* native_radio_buttons_[3];
views::RadioButton* radio_buttons_[3];
- views::RadioButtonNt* radio_buttons_nt_[3];
// Control button to select radio buttons, and show the status of buttons.
views::TextButton* select_;
views::TextButton* status_;
+ // The number of times the button is pressed.
+ int count_;
+
DISALLOW_COPY_AND_ASSIGN(RadioButtonExample);
};
« no previous file with comments | « views/controls/button/radio_button.cc ('k') | views/examples/radio_button_example.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698