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

Side by Side Diff: ui/views/widget/native_widget_gtk.cc

Issue 9595003: gtk: Move ScopedRegion into scoped_region.{h,cc}. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add missing UI_EXPORT to fix the undefined reference error Created 8 years, 9 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/views/view.cc ('k') | no next file » | 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) 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 #include "ui/views/widget/native_widget_gtk.h" 5 #include "ui/views/widget/native_widget_gtk.h"
6 6
7 #include <X11/Xatom.h> 7 #include <X11/Xatom.h>
8 #include <X11/Xlib.h> 8 #include <X11/Xlib.h>
9 #include <X11/extensions/shape.h> 9 #include <X11/extensions/shape.h>
10 #include <gdk/gdk.h> 10 #include <gdk/gdk.h>
11 #include <gdk/gdkx.h> 11 #include <gdk/gdkx.h>
12 12
13 #include <set> 13 #include <set>
14 #include <vector> 14 #include <vector>
15 15
16 #include "base/auto_reset.h" 16 #include "base/auto_reset.h"
17 #include "base/bind.h" 17 #include "base/bind.h"
18 #include "base/compiler_specific.h" 18 #include "base/compiler_specific.h"
19 #include "base/message_loop.h" 19 #include "base/message_loop.h"
20 #include "base/utf_string_conversions.h" 20 #include "base/utf_string_conversions.h"
21 #include "ui/base/dragdrop/drag_drop_types.h" 21 #include "ui/base/dragdrop/drag_drop_types.h"
22 #include "ui/base/dragdrop/os_exchange_data.h" 22 #include "ui/base/dragdrop/os_exchange_data.h"
23 #include "ui/base/dragdrop/os_exchange_data_provider_gtk.h" 23 #include "ui/base/dragdrop/os_exchange_data_provider_gtk.h"
24 #include "ui/base/gtk/g_object_destructor_filo.h" 24 #include "ui/base/gtk/g_object_destructor_filo.h"
25 #include "ui/base/gtk/gtk_signal_registrar.h" 25 #include "ui/base/gtk/gtk_signal_registrar.h"
26 #include "ui/base/gtk/gtk_windowing.h" 26 #include "ui/base/gtk/gtk_windowing.h"
27 #include "ui/base/gtk/scoped_handle_gtk.h" 27 #include "ui/base/gtk/scoped_region.h"
28 #include "ui/base/hit_test.h" 28 #include "ui/base/hit_test.h"
29 #include "ui/base/x/active_window_watcher_x.h" 29 #include "ui/base/x/active_window_watcher_x.h"
30 #include "ui/base/x/x11_util.h" 30 #include "ui/base/x/x11_util.h"
31 #include "ui/gfx/canvas_skia_paint.h" 31 #include "ui/gfx/canvas_skia_paint.h"
32 #include "ui/gfx/gtk_util.h" 32 #include "ui/gfx/gtk_util.h"
33 #include "ui/gfx/path.h" 33 #include "ui/gfx/path.h"
34 #include "ui/gfx/screen.h" 34 #include "ui/gfx/screen.h"
35 #include "ui/views/bubble/bubble_delegate.h" 35 #include "ui/views/bubble/bubble_delegate.h"
36 #include "ui/views/controls/textfield/native_textfield_views.h" 36 #include "ui/views/controls/textfield/native_textfield_views.h"
37 #include "ui/views/focus/view_storage.h" 37 #include "ui/views/focus/view_storage.h"
(...skipping 2147 matching lines...) Expand 10 before | Expand all | Expand 10 after
2185 button_pressed = event->type == GDK_BUTTON_PRESS || 2185 button_pressed = event->type == GDK_BUTTON_PRESS ||
2186 event->type == GDK_2BUTTON_PRESS || 2186 event->type == GDK_2BUTTON_PRESS ||
2187 event->type == GDK_3BUTTON_PRESS; 2187 event->type == GDK_3BUTTON_PRESS;
2188 gdk_event_free(event); 2188 gdk_event_free(event);
2189 } 2189 }
2190 return button_pressed; 2190 return button_pressed;
2191 } 2191 }
2192 2192
2193 } // namespace internal 2193 } // namespace internal
2194 } // namespace views 2194 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698