X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fcc%2Ftest%2Ffake_proxy.h;h=27cd72cab558ebaeeb5e28e08ca3d61fd3cf9a54;hb=4a1a0bdd01eef90b0826a0e761d3379d3715c10f;hp=1d62c6f50cbb4eff0ab8ca3f72ee49ec6e26c89e;hpb=b1be5ca53587d23e7aeb77b26861fdc0a181ffd8;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/cc/test/fake_proxy.h b/src/cc/test/fake_proxy.h index 1d62c6f..27cd72c 100644 --- a/src/cc/test/fake_proxy.h +++ b/src/cc/test/fake_proxy.h @@ -13,11 +13,11 @@ namespace cc { class FakeProxy : public Proxy { public: - FakeProxy() : Proxy(NULL), layer_tree_host_(NULL) {} + FakeProxy() : Proxy(NULL, NULL), layer_tree_host_(NULL) {} explicit FakeProxy( + scoped_refptr main_task_runner, scoped_refptr 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); @@ -40,9 +40,10 @@ class FakeProxy : public Proxy { 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 AsValue() const OVERRIDE; + virtual bool MainFrameWillHappenForTesting() OVERRIDE; + virtual void AsValueInto(base::debug::TracedValue* state) const OVERRIDE; virtual RendererCapabilities& GetRendererCapabilities(); void SetMaxPartialTextureUpdates(size_t max);