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

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

Issue 1602343002: compositor-worker: cc->blink mutation plumbing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@compositor-worker-ian-patch
Patch Set: Created 4 years, 9 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 | « no previous file | cc/trees/layer_tree_host_impl.h » ('j') | cc/trees/layer_tree_host_impl.cc » ('J')
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 #include "cc/trees/layer_tree_host.h" 5 #include "cc/trees/layer_tree_host.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after
654 } 654 }
655 655
656 bool LayerTreeHost::CommitRequested() const { 656 bool LayerTreeHost::CommitRequested() const {
657 return proxy_->CommitRequested(); 657 return proxy_->CommitRequested();
658 } 658 }
659 659
660 bool LayerTreeHost::BeginMainFrameRequested() const { 660 bool LayerTreeHost::BeginMainFrameRequested() const {
661 return proxy_->BeginMainFrameRequested(); 661 return proxy_->BeginMainFrameRequested();
662 } 662 }
663 663
664
665 void LayerTreeHost::SetNextCommitWaitsForActivation() { 664 void LayerTreeHost::SetNextCommitWaitsForActivation() {
666 proxy_->SetNextCommitWaitsForActivation(); 665 proxy_->SetNextCommitWaitsForActivation();
667 } 666 }
668 667
669 void LayerTreeHost::SetNextCommitForcesRedraw() { 668 void LayerTreeHost::SetNextCommitForcesRedraw() {
670 next_commit_forces_redraw_ = true; 669 next_commit_forces_redraw_ = true;
671 proxy_->SetNeedsUpdateLayers(); 670 proxy_->SetNeedsUpdateLayers();
672 } 671 }
673 672
674 void LayerTreeHost::SetAnimationEvents(scoped_ptr<AnimationEvents> events) { 673 void LayerTreeHost::SetAnimationEvents(scoped_ptr<AnimationEvents> events) {
(...skipping 917 matching lines...) Expand 10 before | Expand all | Expand 10 after
1592 LayerTreeHostCommon::CallFunctionForSubtree( 1591 LayerTreeHostCommon::CallFunctionForSubtree(
1593 root_layer(), [seq_num](Layer* layer) { 1592 root_layer(), [seq_num](Layer* layer) {
1594 layer->set_property_tree_sequence_number(seq_num); 1593 layer->set_property_tree_sequence_number(seq_num);
1595 }); 1594 });
1596 1595
1597 surface_id_namespace_ = proto.surface_id_namespace(); 1596 surface_id_namespace_ = proto.surface_id_namespace();
1598 next_surface_sequence_ = proto.next_surface_sequence(); 1597 next_surface_sequence_ = proto.next_surface_sequence();
1599 } 1598 }
1600 1599
1601 } // namespace cc 1600 } // namespace cc
OLDNEW
« no previous file with comments | « no previous file | cc/trees/layer_tree_host_impl.h » ('j') | cc/trees/layer_tree_host_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698