summaryrefslogtreecommitdiffstats
path: root/views/controls/button/native_button_gtk.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/button/native_button_gtk.h')
-rw-r--r--views/controls/button/native_button_gtk.h13
1 files changed, 5 insertions, 8 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_