diff options
author | oshima@google.com <oshima@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-13 21:09:42 +0000 |
---|---|---|
committer | oshima@google.com <oshima@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-13 21:09:42 +0000 |
commit | ec389b968684720aac295eaab274115878ab8112 (patch) | |
tree | f6f0eb0966a2e53be081ffdd27a53b6ac698121a /base/message_pump_x.h | |
parent | dcd9e6fef62b0bb9f1566977e7bb78d574c53bb0 (diff) | |
download | chromium_src-ec389b968684720aac295eaab274115878ab8112.zip chromium_src-ec389b968684720aac295eaab274115878ab8112.tar.gz chromium_src-ec389b968684720aac295eaab274115878ab8112.tar.bz2 |
Add ability to disable gtk event pumping in MessagePumpX
This is intermediate step to remove gtk from chromeos/touch.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7357004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92414 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/message_pump_x.h')
-rw-r--r-- | base/message_pump_x.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/base/message_pump_x.h b/base/message_pump_x.h index f7f271c..cbfdd7f 100644 --- a/base/message_pump_x.h +++ b/base/message_pump_x.h @@ -70,6 +70,10 @@ class MessagePumpX : public MessagePumpGlib { // Overridden from MessagePumpGlib: virtual bool RunOnce(GMainContext* context, bool block) OVERRIDE; + // Disables Gtk/Gdk event pumping. This will be used when + // NativeWidgetX is enabled. + static void DisableGtkMessagePump(); + private: // Some XEvent's can't be directly read from X event queue and will go // through GDK's dispatching process and may get discarded. This function |