Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(387)

Unified Diff: content/public/renderer/content_renderer_client.h

Issue 15920002: Fix WebView compositor input handling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/renderer/content_renderer_client.h
diff --git a/content/public/renderer/content_renderer_client.h b/content/public/renderer/content_renderer_client.h
index 8d3c7379d2b158d6e71b2ea15778ee6d0685fc28..5241ec0162b4f2c5c83b7e660bae70fc1ed4573f 100644
--- a/content/public/renderer/content_renderer_client.h
+++ b/content/public/renderer/content_renderer_client.h
@@ -62,6 +62,7 @@ namespace content {
class RenderView;
class SynchronousCompositor;
+class SynchronousInputEventFilter;
// Embedder API for participating in renderer logic.
class CONTENT_EXPORT ContentRendererClient {
@@ -250,8 +251,12 @@ class CONTENT_EXPORT ContentRendererClient {
int render_view_id,
SynchronousCompositor* compositor) {}
- // Allow the embedder to disable input event filtering by the compositor.
- virtual bool ShouldCreateCompositorInputHandler() const;
+ // Called when the render thread is created and the
+ // kEnableSynchronousRendererCompositor flag is used.
+ // The embedder must implement OverrideCompositorMessageLoop() when using
+ // this interface.
+ virtual void DidCreateSynchronousInputEventFilter(
+ SynchronousInputEventFilter* input_event_filter) {}
jamesr 2013/05/24 00:54:10 it doesn't make sense for a public/ interface to t
jdduke (slow) 2013/05/24 03:50:18 Perfect. The non-public ACK state is precisely wha
};
} // namespace content
« no previous file with comments | « content/public/renderer/android/synchronous_compositor.h ('k') | content/public/renderer/content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698