diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-19 23:04:42 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-19 23:04:42 +0000 |
commit | dbaa96b5ef7e03908aaa9567aa4cc693bcd89fca (patch) | |
tree | 7949aefe6dfc47fe1e43df8067477c08f8586ceb /base/message_pump_glib.cc | |
parent | c19386417048319448a58cf119c1854d1e4eb0be (diff) | |
download | chromium_src-dbaa96b5ef7e03908aaa9567aa4cc693bcd89fca.zip chromium_src-dbaa96b5ef7e03908aaa9567aa4cc693bcd89fca.tar.gz chromium_src-dbaa96b5ef7e03908aaa9567aa4cc693bcd89fca.tar.bz2 |
Adds DidProcessEvent to MessagePumpGLib.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/113600
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16429 0039d316-1c4b-4281-b951-d872f2087c98
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 |