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

Side by Side Diff: cc/trees/layer_tree_host.h

Issue 1413003002: CC Animations: Fix AnimationHost mode integration with Property Trees. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: An attempt to fix weird EXPECT_EQ compilation errors. Created 5 years, 2 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 unified diff | Download patch
« no previous file with comments | « cc/test/animation_timelines_test_common.cc ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_TREES_LAYER_TREE_HOST_H_ 5 #ifndef CC_TREES_LAYER_TREE_HOST_H_
6 #define CC_TREES_LAYER_TREE_HOST_H_ 6 #define CC_TREES_LAYER_TREE_HOST_H_
7 7
8 #include <limits> 8 #include <limits>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 void RecordFrameTimingEvents( 310 void RecordFrameTimingEvents(
311 scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events, 311 scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events,
312 scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events); 312 scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events);
313 313
314 Layer* LayerById(int id) const; 314 Layer* LayerById(int id) const;
315 void RegisterLayer(Layer* layer); 315 void RegisterLayer(Layer* layer);
316 void UnregisterLayer(Layer* layer); 316 void UnregisterLayer(Layer* layer);
317 // LayerTreeMutatorsClient implementation. 317 // LayerTreeMutatorsClient implementation.
318 bool IsLayerInTree(int layer_id, LayerTreeType tree_type) const override; 318 bool IsLayerInTree(int layer_id, LayerTreeType tree_type) const override;
319 void SetMutatorsNeedCommit() override; 319 void SetMutatorsNeedCommit() override;
320 void SetMutatorsNeedRebuildPropertyTrees() override;
320 void SetLayerFilterMutated(int layer_id, 321 void SetLayerFilterMutated(int layer_id,
321 LayerTreeType tree_type, 322 LayerTreeType tree_type,
322 const FilterOperations& filters) override; 323 const FilterOperations& filters) override;
323 void SetLayerOpacityMutated(int layer_id, 324 void SetLayerOpacityMutated(int layer_id,
324 LayerTreeType tree_type, 325 LayerTreeType tree_type,
325 float opacity) override; 326 float opacity) override;
326 void SetLayerTransformMutated(int layer_id, 327 void SetLayerTransformMutated(int layer_id,
327 LayerTreeType tree_type, 328 LayerTreeType tree_type,
328 const gfx::Transform& transform) override; 329 const gfx::Transform& transform) override;
329 void SetLayerScrollOffsetMutated( 330 void SetLayerScrollOffsetMutated(
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 494
494 uint32_t surface_id_namespace_; 495 uint32_t surface_id_namespace_;
495 uint32_t next_surface_sequence_; 496 uint32_t next_surface_sequence_;
496 497
497 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 498 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
498 }; 499 };
499 500
500 } // namespace cc 501 } // namespace cc
501 502
502 #endif // CC_TREES_LAYER_TREE_HOST_H_ 503 #endif // CC_TREES_LAYER_TREE_HOST_H_
OLDNEW
« no previous file with comments | « cc/test/animation_timelines_test_common.cc ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698