Index: content/renderer/android/synchronous_compositor_factory.h |
diff --git a/content/renderer/android/synchronous_compositor_factory.h b/content/renderer/android/synchronous_compositor_factory.h |
index 9c8fdce2e08f6428cd31e729a7dabd3e8396b447..06e7c36faf61bda6a25d84b8440170c9bdcf7b0b 100644 |
--- a/content/renderer/android/synchronous_compositor_factory.h |
+++ b/content/renderer/android/synchronous_compositor_factory.h |
@@ -18,6 +18,8 @@ class OutputSurface; |
namespace content { |
+class InputHandlerManagerClient; |
+ |
// Decouples creation from usage of the parts needed for the synchonous |
// compositor rendering path. In practice this is only used in single |
// process mode (namely, for Android WebView) hence the implementation of |
@@ -34,6 +36,9 @@ class SynchronousCompositorFactory { |
virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface( |
int routing_id) = 0; |
+ // The factory maintains ownership of the returned interface. |
+ virtual InputHandlerManagerClient* GetInputHandlerManagerClient() = 0; |
+ |
protected: |
SynchronousCompositorFactory() {} |
~SynchronousCompositorFactory() {} |