|
Refactor the glib message-pump, and use it as the base for a gtk message pump and an X message pump.
The changes:
* Rename MessagePumpGlibX to MessagePumpX.
* Rename MessagePumpForUI to MessagePumpGlib.
* Move some stuff out of MessagePumpGlib, and into MessagePumpGtk and MessagePumpX.
* Rename MessagePumpForUI::Observer to MessageObserver, moved the platform-specific implementations into MessagePumpGtk and MessagePumpX. Ditto for MessagePumpForUI::Dispatcher.
MessagePumpX is independent of MessagePumpGtk. At the moment, MessagePumpX does process some GDK event, but once we have a complete native_widget_x, we can take out the GDK processing and things should continue to work.
BUG=none
TEST=existing message-pump tests.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=90418
Total comments: 6
Total comments: 14
Total comments: 9
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+467 lines, -620 lines) |
Patch |
|
M |
base/base.gypi
|
View
|
1
2
3
|
2 chunks |
+11 lines, -4 lines |
0 comments
|
Download
|
|
M |
base/message_loop.h
|
View
|
|
2 chunks |
+7 lines, -9 lines |
0 comments
|
Download
|
|
M |
base/message_loop.cc
|
View
|
|
3 chunks |
+8 lines, -6 lines |
0 comments
|
Download
|
|
M |
base/message_pump_glib.h
|
View
|
1
2
3
|
4 chunks |
+29 lines, -60 lines |
0 comments
|
Download
|
|
M |
base/message_pump_glib.cc
|
View
|
|
12 chunks |
+21 lines, -55 lines |
0 comments
|
Download
|
|
D |
base/message_pump_glib_x.h
|
View
|
|
1 chunk |
+0 lines, -97 lines |
0 comments
|
Download
|
|
D |
base/message_pump_glib_x.cc
|
View
|
|
1 chunk |
+0 lines, -234 lines |
0 comments
|
Download
|
|
D |
base/message_pump_glib_x_dispatch.h
|
View
|
|
1 chunk |
+0 lines, -46 lines |
0 comments
|
Download
|
|
A |
base/message_pump_gtk.h
|
View
|
1
2
3
|
1 chunk |
+74 lines, -0 lines |
0 comments
|
Download
|
|
A |
base/message_pump_gtk.cc
|
View
|
|
1 chunk |
+52 lines, -0 lines |
0 comments
|
Download
|
|
A |
base/message_pump_x.h
|
View
|
1
2
|
1 chunk |
+144 lines, -0 lines |
0 comments
|
Download
|
|
A + |
base/message_pump_x.cc
|
View
|
1
2
|
12 chunks |
+33 lines, -35 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/system_key_event_listener.h
|
View
|
1
2
|
3 chunks |
+11 lines, -8 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/system_key_event_listener.cc
|
View
|
1
2
|
4 chunks |
+11 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/xinput_hierarchy_changed_event_listener.h
|
View
|
1
2
|
2 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/xinput_hierarchy_changed_event_listener.cc
|
View
|
1
2
|
2 chunks |
+10 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/tabs/dragged_tab_controller.h
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/tabs/dragged_tab_controller.cc
|
View
|
1
2
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
media/media.gyp
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
ui/views/focus/accelerator_handler.h
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
views/controls/menu/menu_controller.h
|
View
|
1
2
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
|
M |
views/controls/menu/menu_controller.cc
|
View
|
1
2
|
2 chunks |
+9 lines, -13 lines |
0 comments
|
Download
|
|
M |
views/controls/menu/nested_dispatcher_gtk.h
|
View
|
1
2
|
2 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
|
M |
views/controls/menu/nested_dispatcher_gtk.cc
|
View
|
1
2
|
2 chunks |
+8 lines, -17 lines |
0 comments
|
Download
|
|
M |
views/focus/accelerator_handler.h
|
View
|
1
2
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
views/focus/accelerator_handler_touch.cc
|
View
|
1
2
|
1 chunk |
+9 lines, -7 lines |
0 comments
|
Download
|
|
M |
views/views.gyp
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
views/widget/native_widget_gtk.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 14 (0 generated)
|