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

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

Issue 2702433002: Clear renderer compositor trees if new page does not render in 4 seconds (Closed)
Patch Set: Removed a semicolon Created 3 years, 10 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/tiles/tile_manager_perftest.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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 442
443 void ElementIsAnimatingChanged(ElementId element_id, 443 void ElementIsAnimatingChanged(ElementId element_id,
444 ElementListType list_type, 444 ElementListType list_type,
445 const PropertyAnimationState& mask, 445 const PropertyAnimationState& mask,
446 const PropertyAnimationState& state) override; 446 const PropertyAnimationState& state) override;
447 447
448 void ScrollOffsetAnimationFinished() override {} 448 void ScrollOffsetAnimationFinished() override {}
449 gfx::ScrollOffset GetScrollOffsetForAnimation( 449 gfx::ScrollOffset GetScrollOffsetForAnimation(
450 ElementId element_id) const override; 450 ElementId element_id) const override;
451 451
452 void ResetTrees();
453
452 protected: 454 protected:
453 LayerTreeHost(InitParams* params, CompositorMode mode); 455 LayerTreeHost(InitParams* params, CompositorMode mode);
454 456
455 void InitializeThreaded( 457 void InitializeThreaded(
456 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, 458 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner,
457 scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner); 459 scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner);
458 void InitializeSingleThreaded( 460 void InitializeSingleThreaded(
459 LayerTreeHostSingleThreadClient* single_thread_client, 461 LayerTreeHostSingleThreadClient* single_thread_client,
460 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner); 462 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner);
461 void InitializeForTesting( 463 void InitializeForTesting(
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
598 MutatorHost* mutator_host_; 600 MutatorHost* mutator_host_;
599 601
600 scoped_refptr<base::SequencedTaskRunner> image_worker_task_runner_; 602 scoped_refptr<base::SequencedTaskRunner> image_worker_task_runner_;
601 603
602 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 604 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
603 }; 605 };
604 606
605 } // namespace cc 607 } // namespace cc
606 608
607 #endif // CC_TREES_LAYER_TREE_HOST_H_ 609 #endif // CC_TREES_LAYER_TREE_HOST_H_
OLDNEW
« no previous file with comments | « cc/tiles/tile_manager_perftest.cc ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698