diff options
Diffstat (limited to 'views/controls/button')
-rw-r--r-- | views/controls/button/native_button_gtk.h | 13 | ||||
-rw-r--r-- | views/controls/button/native_button_wrapper.h | 6 | ||||
-rw-r--r-- | views/controls/button/radio_button.h | 10 |
3 files changed, 12 insertions, 17 deletions
diff --git a/views/controls/button/native_button_gtk.h b/views/controls/button/native_button_gtk.h index a77ca49..2ae38b1 100644 --- a/views/controls/button/native_button_gtk.h +++ b/views/controls/button/native_button_gtk.h @@ -1,6 +1,6 @@ -// Copyright (c) 2010 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. +// Copyright (c) 2010 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. #ifndef VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_GTK_H_ #define VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_GTK_H_ @@ -41,12 +41,10 @@ class NativeButtonGtk : public NativeControlGtk, public NativeButtonWrapper { // Invoked when the user clicks on the button. virtual void OnClicked(); - protected: // The NativeButton we are bound to. NativeButton* native_button_; private: - // The preferred size from the last size_request. We save this until we are // notified that data may have caused the preferred size to change because // otherwise it seems every time we call gtk_widget_size_request the size @@ -78,7 +76,7 @@ class NativeCheckboxGtk : public NativeButtonGtk { virtual void UpdateChecked(); virtual void UpdateDefault(); - // a flag to prevent OnClicked event when updating + // A flag to prevent OnClicked event when updating // gtk control via API gtk_toggle_button_set_active. bool deliver_click_event_; @@ -111,7 +109,6 @@ class NativeRadioButtonGtk : public NativeCheckboxGtk { DISALLOW_COPY_AND_ASSIGN(NativeRadioButtonGtk); }; - } // namespace views -#endif // #ifndef VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_GTK_H_ +#endif // VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_GTK_H_ diff --git a/views/controls/button/native_button_wrapper.h b/views/controls/button/native_button_wrapper.h index e8cbd99..01d9219 100644 --- a/views/controls/button/native_button_wrapper.h +++ b/views/controls/button/native_button_wrapper.h @@ -1,6 +1,6 @@ -// Copyright (c) 2009 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. +// Copyright (c) 2010 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. #ifndef VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_WRAPPER_H_ #define VIEWS_CONTROLS_BUTTON_NATIVE_BUTTON_WRAPPER_H_ diff --git a/views/controls/button/radio_button.h b/views/controls/button/radio_button.h index d71ce4e..af7f902 100644 --- a/views/controls/button/radio_button.h +++ b/views/controls/button/radio_button.h @@ -1,6 +1,6 @@ -// Copyright (c) 2010 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. +// Copyright (c) 2010 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. #ifndef VIEWS_CONTROLS_BUTTON_RADIO_BUTTON_H_ #define VIEWS_CONTROLS_BUTTON_RADIO_BUTTON_H_ @@ -39,13 +39,11 @@ class RadioButton : public Checkbox { private: friend class NativeRadioButtonGtk; - // Accessor for |native_wrapper_|. NativeButtonWrapper* native_wrapper() { return native_wrapper_; } - private: DISALLOW_COPY_AND_ASSIGN(RadioButton); }; } // namespace views -#endif // #ifndef VIEWS_CONTROLS_BUTTON_RADIO_BUTTON_H_ +#endif // VIEWS_CONTROLS_BUTTON_RADIO_BUTTON_H_ |