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

Side by Side Diff: base/message_loop/message_pump_gtk.h

Issue 16897006: Move message_pump to base/message_loop. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 6 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 | « base/message_loop/message_pump_glib_unittest.cc ('k') | base/message_loop/message_pump_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) 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 BASE_MESSAGE_PUMP_GTK_H_ 5 #ifndef BASE_MESSAGE_LOOP_MESSAGE_PUMP_GTK_H_
6 #define BASE_MESSAGE_PUMP_GTK_H_ 6 #define BASE_MESSAGE_LOOP_MESSAGE_PUMP_GTK_H_
7 7
8 #include "base/message_pump_glib.h" 8 #include "base/message_loop/message_pump_glib.h"
9 9
10 typedef union _GdkEvent GdkEvent; 10 typedef union _GdkEvent GdkEvent;
11 typedef struct _XDisplay Display; 11 typedef struct _XDisplay Display;
12 12
13 namespace base { 13 namespace base {
14 14
15 // The documentation for this class is in message_pump_glib.h 15 // The documentation for this class is in message_pump_glib.h
16 class MessagePumpObserver { 16 class MessagePumpObserver {
17 public: 17 public:
18 // This method is called before processing a message. 18 // This method is called before processing a message.
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 // Callback prior to gdk dispatching an event. 66 // Callback prior to gdk dispatching an event.
67 static void EventDispatcher(GdkEvent* event, void* data); 67 static void EventDispatcher(GdkEvent* event, void* data);
68 68
69 DISALLOW_COPY_AND_ASSIGN(MessagePumpGtk); 69 DISALLOW_COPY_AND_ASSIGN(MessagePumpGtk);
70 }; 70 };
71 71
72 typedef MessagePumpGtk MessagePumpForUI; 72 typedef MessagePumpGtk MessagePumpForUI;
73 73
74 } // namespace base 74 } // namespace base
75 75
76 #endif // BASE_MESSAGE_PUMP_GTK_H_ 76 #endif // BASE_MESSAGE_LOOP_MESSAGE_PUMP_GTK_H_
OLDNEW
« no previous file with comments | « base/message_loop/message_pump_glib_unittest.cc ('k') | base/message_loop/message_pump_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698