diff options
author | jdduke@chromium.org <jdduke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-18 20:33:03 +0000 |
---|---|---|
committer | jdduke@chromium.org <jdduke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-18 20:33:03 +0000 |
commit | d0874b2242fb963fc04c9bf5157ac27666f37b18 (patch) | |
tree | 23b3eeaa8b7d10e15a63011fed71bee1a0732d59 /android_webview/common | |
parent | bfa86fa9155488d62cb089f7d29e786b31ce1b76 (diff) | |
download | chromium_src-d0874b2242fb963fc04c9bf5157ac27666f37b18.zip chromium_src-d0874b2242fb963fc04c9bf5157ac27666f37b18.tar.gz chromium_src-d0874b2242fb963fc04c9bf5157ac27666f37b18.tar.bz2 |
Allow for synchronous compositor input handling when UI and compositor threads
are merged.
In particular, we provide a hook for input event filtering in
RenderWidgetHostView, which is used by RenderWidgetHostImpl during input event
processing. When the UI and compositor threads are merged (via a
WebView-specific flag), this hook allows compositor-relevant input events to be
filtered and processed synchronously, prior to their being forwarded to the
renderer.
BUG=
Review URL: https://chromiumcodereview.appspot.com/12416005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188797 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview/common')
-rw-r--r-- | android_webview/common/render_view_messages.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/android_webview/common/render_view_messages.h b/android_webview/common/render_view_messages.h index c84e094..2f6db4f 100644 --- a/android_webview/common/render_view_messages.h +++ b/android_webview/common/render_view_messages.h @@ -96,3 +96,10 @@ IPC_MESSAGE_ROUTED1(AwViewHostMsg_UpdateHitTestData, // Notification that a new picture becomes available. It is only sent if // AwViewMsg_EnableCapturePictureCallback was previously enabled. IPC_MESSAGE_ROUTED0(AwViewHostMsg_PictureUpdated) + +// Sent by the renderer when accelerated compositing is enabled, allowing the +// browser to perform synchronous input event filtering. +IPC_MESSAGE_ROUTED1(AwViewHostMsg_DidActivateAcceleratedCompositing, + int /* input_handler_id */) + + |