diff options
Diffstat (limited to 'base/message_pump_glib.cc')
-rw-r--r-- | base/message_pump_glib.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/base/message_pump_glib.cc b/base/message_pump_glib.cc index 0f8e197..e032de4 100644 --- a/base/message_pump_glib.cc +++ b/base/message_pump_glib.cc @@ -225,6 +225,10 @@ void MessagePumpForUI::WillProcessEvent(GdkEvent* event) { FOR_EACH_OBSERVER(Observer, observers_, WillProcessEvent(event)); } +void MessagePumpForUI::DidProcessEvent(GdkEvent* event) { + FOR_EACH_OBSERVER(Observer, observers_, DidProcessEvent(event)); +} + void MessagePumpForUI::Quit() { if (state_) { state_->should_quit = true; @@ -254,6 +258,7 @@ void MessagePumpForUI::ScheduleDelayedWork(const Time& delayed_work_time) { void MessagePumpForUI::EventDispatcher(GdkEvent* event, gpointer data) { reinterpret_cast<MessagePumpForUI*>(data)->WillProcessEvent(event); gtk_main_do_event(event); + reinterpret_cast<MessagePumpForUI*>(data)->DidProcessEvent(event); } } // namespace base |