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

Side by Side Diff: chrome/browser/ui/gtk/gtk_input_event_box.cc

Issue 8586044: GTK: Make the gtk port compile with GTK_DISABLE_SINGLE_INCLUDES. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Remove views/. Not our problem for gtk3 porting. Created 9 years, 1 month 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
OLDNEW
1 // Copyright (c) 2011 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 #include "chrome/browser/ui/gtk/gtk_input_event_box.h" 5 #include "chrome/browser/ui/gtk/gtk_input_event_box.h"
6 6
7 #include <gdk/gdkwindow.h> 7 #include <gdk/gdk.h>
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 #include <gtk/gtkwidget.h>
10 #include <gtk/gtkbin.h>
11 9
12 G_BEGIN_DECLS 10 G_BEGIN_DECLS
13 11
14 #define GTK_INPUT_EVENT_BOX_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), \ 12 #define GTK_INPUT_EVENT_BOX_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), \
15 GTK_TYPE_INPUT_EVENT_BOX, \ 13 GTK_TYPE_INPUT_EVENT_BOX, \
16 GtkInputEventBoxPrivate)) 14 GtkInputEventBoxPrivate))
17 15
18 typedef struct _GtkInputEventBoxPrivate GtkInputEventBoxPrivate; 16 typedef struct _GtkInputEventBoxPrivate GtkInputEventBoxPrivate;
19 17
20 struct _GtkInputEventBoxPrivate { 18 struct _GtkInputEventBoxPrivate {
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 } 148 }
151 149
152 GdkWindow* gtk_input_event_box_get_window(GtkInputEventBox* widget) { 150 GdkWindow* gtk_input_event_box_get_window(GtkInputEventBox* widget) {
153 g_return_val_if_fail(GTK_IS_INPUT_EVENT_BOX(widget), NULL); 151 g_return_val_if_fail(GTK_IS_INPUT_EVENT_BOX(widget), NULL);
154 152
155 GtkInputEventBoxPrivate* priv = GTK_INPUT_EVENT_BOX_GET_PRIVATE(widget); 153 GtkInputEventBoxPrivate* priv = GTK_INPUT_EVENT_BOX_GET_PRIVATE(widget);
156 return priv->event_window; 154 return priv->event_window;
157 } 155 }
158 156
159 G_END_DECLS 157 G_END_DECLS
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/gtk_input_event_box.h ('k') | content/browser/gpu/gpu_process_host_ui_shim.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698