Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / cc / test / fake_layer_tree_host_impl.h
index 5963baa..6d31c51 100644 (file)
@@ -28,14 +28,17 @@ class FakeLayerTreeHostImpl : public LayerTreeHostImpl {
 
   virtual void CreatePendingTree() OVERRIDE;
 
-  virtual base::TimeTicks CurrentFrameTimeTicks() OVERRIDE;
-  void SetCurrentFrameTimeTicks(base::TimeTicks current_frame_time_ticks);
+  virtual BeginFrameArgs CurrentBeginFrameArgs() const OVERRIDE;
+  void SetCurrentBeginFrameArgs(const BeginFrameArgs& args);
+  void UpdateNumChildrenAndDrawPropertiesForActiveTree();
+  static void UpdateNumChildrenAndDrawProperties(LayerTreeImpl* layerTree);
+  static int RecursiveUpdateNumChildren(LayerImpl* layer);
 
-  using LayerTreeHostImpl::ActivatePendingTree;
+  using LayerTreeHostImpl::ActivateSyncTree;
   using LayerTreeHostImpl::manage_tiles_needed;
 
  private:
-  base::TimeTicks current_frame_time_ticks_;
+  BeginFrameArgs current_begin_frame_args_;
   FakeLayerTreeHostImplClient client_;
   FakeRenderingStatsInstrumentation stats_instrumentation_;
 };