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

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: Make InputEventAckState public 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..95c750917ab95dacdc13f2eb4c013e85026f573e 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 SynchronousInputEventHandler;
// Embedder API for participating in renderer logic.
class CONTENT_EXPORT ContentRendererClient {
@@ -250,8 +251,10 @@ 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;
joth 2013/05/30 01:15:02 note I'm blitzing the three webview-y methods here
+ // Called during render thread creation when both kEnableThreadedCompositing
+ // and kEnableSynchronousRendererCompositor are set.
+ virtual void DidCreateSynchronousInputEventHandler(
+ SynchronousInputEventHandler* input_event_handler) {}
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698