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

Side by Side Diff: chrome/browser/gtk/reload_button_gtk.h

Issue 3135034: Cleanup: Put signal handlers in alphabetical order. Group a couple other thi... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/gtk/reload_button_gtk.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_GTK_RELOAD_BUTTON_GTK_H_ 5 #ifndef CHROME_BROWSER_GTK_RELOAD_BUTTON_GTK_H_
6 #define CHROME_BROWSER_GTK_RELOAD_BUTTON_GTK_H_ 6 #define CHROME_BROWSER_GTK_RELOAD_BUTTON_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 10
(...skipping 24 matching lines...) Expand all
35 void ChangeMode(Mode mode, bool force); 35 void ChangeMode(Mode mode, bool force);
36 36
37 // Provide NotificationObserver implementation. 37 // Provide NotificationObserver implementation.
38 virtual void Observe(NotificationType type, 38 virtual void Observe(NotificationType type,
39 const NotificationSource& source, 39 const NotificationSource& source,
40 const NotificationDetails& details); 40 const NotificationDetails& details);
41 41
42 private: 42 private:
43 friend class ReloadButtonGtkPeer; 43 friend class ReloadButtonGtkPeer;
44 44
45 CHROMEGTK_CALLBACK_0(ReloadButtonGtk, void, OnClicked);
45 CHROMEGTK_CALLBACK_1(ReloadButtonGtk, gboolean, OnExpose, GdkEventExpose*); 46 CHROMEGTK_CALLBACK_1(ReloadButtonGtk, gboolean, OnExpose, GdkEventExpose*);
46 CHROMEGTK_CALLBACK_1(ReloadButtonGtk, gboolean, OnLeaveNotify, 47 CHROMEGTK_CALLBACK_1(ReloadButtonGtk, gboolean, OnLeaveNotify,
47 GdkEventCrossing*); 48 GdkEventCrossing*);
48 CHROMEGTK_CALLBACK_0(ReloadButtonGtk, void, OnClicked);
49 CHROMEGTK_CALLBACK_4(ReloadButtonGtk, gboolean, OnQueryTooltip, gint, gint, 49 CHROMEGTK_CALLBACK_4(ReloadButtonGtk, gboolean, OnQueryTooltip, gint, gint,
50 gboolean, GtkTooltip*); 50 gboolean, GtkTooltip*);
51 51
52 void SetToggled(); 52 void SetToggled();
53 53
54 bool timer_running() const { 54 bool timer_running() const {
55 return timer_.IsRunning() || pretend_timer_is_running_for_unittest_; 55 return timer_.IsRunning() || pretend_timer_is_running_for_unittest_;
56 } 56 }
57 57
58 void OnButtonTimer(); 58 void OnButtonTimer();
(...skipping 25 matching lines...) Expand all
84 CustomDrawButtonBase reload_; 84 CustomDrawButtonBase reload_;
85 CustomDrawButtonBase stop_; 85 CustomDrawButtonBase stop_;
86 CustomDrawHoverController hover_controller_; 86 CustomDrawHoverController hover_controller_;
87 87
88 OwnedWidgetGtk widget_; 88 OwnedWidgetGtk widget_;
89 89
90 DISALLOW_IMPLICIT_CONSTRUCTORS(ReloadButtonGtk); 90 DISALLOW_IMPLICIT_CONSTRUCTORS(ReloadButtonGtk);
91 }; 91 };
92 92
93 #endif // CHROME_BROWSER_GTK_RELOAD_BUTTON_GTK_H_ 93 #endif // CHROME_BROWSER_GTK_RELOAD_BUTTON_GTK_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/gtk/reload_button_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698