OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_UI_LIBGTK2UI_GTK2_SIGNAL_H_ | 5 #ifndef CHROME_BROWSER_UI_LIBGTKUI_GTK2_SIGNAL_H_ |
6 #define CHROME_BROWSER_UI_LIBGTK2UI_GTK2_SIGNAL_H_ | 6 #define CHROME_BROWSER_UI_LIBGTKUI_GTK2_SIGNAL_H_ |
7 | 7 |
8 #include "ui/base/glib/glib_signal.h" | 8 #include "ui/base/glib/glib_signal.h" |
9 | 9 |
10 typedef struct _GtkWidget GtkWidget; | 10 typedef struct _GtkWidget GtkWidget; |
11 | 11 |
12 // These macros handle the common case where the sender object will be a | 12 // These macros handle the common case where the sender object will be a |
13 // GtkWidget*. | 13 // GtkWidget*. |
14 #define CHROMEGTK_CALLBACK_0(CLASS, RETURN, METHOD) \ | 14 #define CHROMEGTK_CALLBACK_0(CLASS, RETURN, METHOD) \ |
15 CHROMEG_CALLBACK_0(CLASS, RETURN, METHOD, GtkWidget*); | 15 CHROMEG_CALLBACK_0(CLASS, RETURN, METHOD, GtkWidget*); |
16 | 16 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 #define CHROMEGTK_VIRTUAL_CALLBACK_5(CLASS, RETURN, METHOD, ARG1, ARG2, ARG3, \ | 58 #define CHROMEGTK_VIRTUAL_CALLBACK_5(CLASS, RETURN, METHOD, ARG1, ARG2, ARG3, \ |
59 ARG4, ARG5) \ | 59 ARG4, ARG5) \ |
60 CHROMEG_VIRTUAL_CALLBACK_5(CLASS, RETURN, METHOD, GtkWidget*, ARG1, ARG2, \ | 60 CHROMEG_VIRTUAL_CALLBACK_5(CLASS, RETURN, METHOD, GtkWidget*, ARG1, ARG2, \ |
61 ARG3, ARG4, ARG5); | 61 ARG3, ARG4, ARG5); |
62 | 62 |
63 #define CHROMEGTK_VIRTUAL_CALLBACK_6(CLASS, RETURN, METHOD, ARG1, ARG2, ARG3, \ | 63 #define CHROMEGTK_VIRTUAL_CALLBACK_6(CLASS, RETURN, METHOD, ARG1, ARG2, ARG3, \ |
64 ARG4, ARG5, ARG6) \ | 64 ARG4, ARG5, ARG6) \ |
65 CHROMEG_VIRTUAL_CALLBACK_6(CLASS, RETURN, METHOD, GtkWidget*, ARG1, ARG2, \ | 65 CHROMEG_VIRTUAL_CALLBACK_6(CLASS, RETURN, METHOD, GtkWidget*, ARG1, ARG2, \ |
66 ARG3, ARG4, ARG5, ARG6); | 66 ARG3, ARG4, ARG5, ARG6); |
67 | 67 |
68 #endif // CHROME_BROWSER_UI_LIBGTK2UI_GTK2_SIGNAL_H_ | 68 #endif // CHROME_BROWSER_UI_LIBGTKUI_GTK2_SIGNAL_H_ |
OLD | NEW |