From d65cab7ac310ea12c5d946ff40242a243ce911da Mon Sep 17 00:00:00 2001 From: "jcampan@google.com" Date: Tue, 12 Aug 2008 01:25:41 +0000 Subject: Enabling sync_channel in the browser to allow accessibility code making blocking calls. This replaces my previous CL that was somehow duplicating some of these functionalities. BUG=None TEST=Run the unit tests. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@691 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/ipc_sync_message.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'chrome/common/ipc_sync_message.h') diff --git a/chrome/common/ipc_sync_message.h b/chrome/common/ipc_sync_message.h index bcf47cbe..8ab6cae 100644 --- a/chrome/common/ipc_sync_message.h +++ b/chrome/common/ipc_sync_message.h @@ -63,6 +63,10 @@ class SyncMessage : public Message { } } + // Call this if you always want to pump messages. You can call this method + // or set_pump_messages_event but not both. + void EnableMessagePumping(); + HANDLE pump_messages_event() const { return pump_messages_event_; } // Returns true if the message is a reply to the given request id. -- cgit v1.1