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

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: Merge master + s/scoped_ptr/unique_ptr/ Created 4 years, 8 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/animation/layer_tree_mutator.h ('k') | cc/trees/layer_tree_host_impl.h » ('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 #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 703 matching lines...) Expand 10 before | Expand all | Expand 10 after
714 } 714 }
715 715
716 bool LayerTreeHost::CommitRequested() const { 716 bool LayerTreeHost::CommitRequested() const {
717 return proxy_->CommitRequested(); 717 return proxy_->CommitRequested();
718 } 718 }
719 719
720 bool LayerTreeHost::BeginMainFrameRequested() const { 720 bool LayerTreeHost::BeginMainFrameRequested() const {
721 return proxy_->BeginMainFrameRequested(); 721 return proxy_->BeginMainFrameRequested();
722 } 722 }
723 723
724
725 void LayerTreeHost::SetNextCommitWaitsForActivation() { 724 void LayerTreeHost::SetNextCommitWaitsForActivation() {
726 proxy_->SetNextCommitWaitsForActivation(); 725 proxy_->SetNextCommitWaitsForActivation();
727 } 726 }
728 727
729 void LayerTreeHost::SetNextCommitForcesRedraw() { 728 void LayerTreeHost::SetNextCommitForcesRedraw() {
730 next_commit_forces_redraw_ = true; 729 next_commit_forces_redraw_ = true;
731 proxy_->SetNeedsUpdateLayers(); 730 proxy_->SetNeedsUpdateLayers();
732 } 731 }
733 732
734 void LayerTreeHost::SetAnimationEvents( 733 void LayerTreeHost::SetAnimationEvents(
(...skipping 903 matching lines...) Expand 10 before | Expand all | Expand 10 after
1638 [seq_num](Layer* layer) { 1637 [seq_num](Layer* layer) {
1639 layer->set_property_tree_sequence_number(seq_num); 1638 layer->set_property_tree_sequence_number(seq_num);
1640 }, 1639 },
1641 CallFunctionLayerType::ALL_LAYERS); 1640 CallFunctionLayerType::ALL_LAYERS);
1642 1641
1643 surface_id_namespace_ = proto.surface_id_namespace(); 1642 surface_id_namespace_ = proto.surface_id_namespace();
1644 next_surface_sequence_ = proto.next_surface_sequence(); 1643 next_surface_sequence_ = proto.next_surface_sequence();
1645 } 1644 }
1646 1645
1647 } // namespace cc 1646 } // namespace cc
OLDNEW
« no previous file with comments | « cc/animation/layer_tree_mutator.h ('k') | cc/trees/layer_tree_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698