class FakeProxy : public Proxy {
public:
- FakeProxy() : Proxy(NULL), layer_tree_host_(NULL) {}
+ FakeProxy() : Proxy(NULL, NULL), layer_tree_host_(NULL) {}
explicit FakeProxy(
+ scoped_refptr<base::SingleThreadTaskRunner> main_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner)
- : Proxy(impl_task_runner),
- layer_tree_host_(NULL) {}
+ : Proxy(main_task_runner, impl_task_runner), layer_tree_host_(NULL) {}
void SetLayerTreeHost(LayerTreeHost* host);
virtual void Stop() OVERRIDE {}
virtual void ForceSerializeOnSwapBuffers() OVERRIDE {}
virtual size_t MaxPartialTextureUpdates() const OVERRIDE;
+ virtual bool SupportsImplScrolling() const OVERRIDE;
virtual void SetDebugState(const LayerTreeDebugState& debug_state) OVERRIDE {}
- virtual bool CommitPendingForTesting() OVERRIDE;
- virtual scoped_ptr<base::Value> AsValue() const OVERRIDE;
+ virtual bool MainFrameWillHappenForTesting() OVERRIDE;
+ virtual void AsValueInto(base::debug::TracedValue* state) const OVERRIDE;
virtual RendererCapabilities& GetRendererCapabilities();
void SetMaxPartialTextureUpdates(size_t max);