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

Side by Side Diff: ui/base/gtk/gtk_signal.h

Issue 6257006: Move a bunch of random other files to src/ui/base... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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 | « ui/base/gtk/gtk_integers.h ('k') | ui/base/gtk/gtk_signal_registrar.h » ('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) 2011 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 APP_GTK_SIGNAL_H_ 5 #ifndef UI_BASE_GTK_GTK_SIGNAL_H_
6 #define APP_GTK_SIGNAL_H_ 6 #define UI_BASE_GTK_GTK_SIGNAL_H_
7 #pragma once 7 #pragma once
8 8
9 typedef void* gpointer; 9 typedef void* gpointer;
10 typedef struct _GtkWidget GtkWidget; 10 typedef struct _GtkWidget GtkWidget;
11 11
12 // At the time of writing this, there were two common ways of binding our C++ 12 // At the time of writing this, there were two common ways of binding our C++
13 // code to the gobject C system. We either defined a whole bunch of "static 13 // code to the gobject C system. We either defined a whole bunch of "static
14 // MethodThunk()" which just called nonstatic Method()s on a class (which hurt 14 // MethodThunk()" which just called nonstatic Method()s on a class (which hurt
15 // readability of the headers and signal connection code) OR we declared 15 // readability of the headers and signal connection code) OR we declared
16 // "static Method()" and passed in the current object as the gpointer (and hurt 16 // "static Method()" and passed in the current object as the gpointer (and hurt
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 #define CHROMEGTK_CALLBACK_5(CLASS, RETURN, METHOD, ARG1, ARG2, ARG3, ARG4, \ 107 #define CHROMEGTK_CALLBACK_5(CLASS, RETURN, METHOD, ARG1, ARG2, ARG3, ARG4, \
108 ARG5) \ 108 ARG5) \
109 CHROMEG_CALLBACK_5(CLASS, RETURN, METHOD, GtkWidget*, ARG1, ARG2, ARG3, \ 109 CHROMEG_CALLBACK_5(CLASS, RETURN, METHOD, GtkWidget*, ARG1, ARG2, ARG3, \
110 ARG4, ARG5); 110 ARG4, ARG5);
111 111
112 #define CHROMEGTK_CALLBACK_6(CLASS, RETURN, METHOD, ARG1, ARG2, ARG3, ARG4, \ 112 #define CHROMEGTK_CALLBACK_6(CLASS, RETURN, METHOD, ARG1, ARG2, ARG3, ARG4, \
113 ARG5, ARG6) \ 113 ARG5, ARG6) \
114 CHROMEG_CALLBACK_6(CLASS, RETURN, METHOD, GtkWidget*, ARG1, ARG2, ARG3, \ 114 CHROMEG_CALLBACK_6(CLASS, RETURN, METHOD, GtkWidget*, ARG1, ARG2, ARG3, \
115 ARG4, ARG5, ARG6); 115 ARG4, ARG5, ARG6);
116 116
117 #endif // APP_GTK_SIGNAL_H_ 117 #endif // UI_BASE_GTK_GTK_SIGNAL_H_
OLDNEW
« no previous file with comments | « ui/base/gtk/gtk_integers.h ('k') | ui/base/gtk/gtk_signal_registrar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698