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

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: Fix export 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
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 651 matching lines...) Expand 10 before | Expand all | Expand 10 after
662 } 662 }
663 663
664 bool LayerTreeHost::CommitRequested() const { 664 bool LayerTreeHost::CommitRequested() const {
665 return proxy_->CommitRequested(); 665 return proxy_->CommitRequested();
666 } 666 }
667 667
668 bool LayerTreeHost::BeginMainFrameRequested() const { 668 bool LayerTreeHost::BeginMainFrameRequested() const {
669 return proxy_->BeginMainFrameRequested(); 669 return proxy_->BeginMainFrameRequested();
670 } 670 }
671 671
672
673 void LayerTreeHost::SetNextCommitWaitsForActivation() { 672 void LayerTreeHost::SetNextCommitWaitsForActivation() {
674 proxy_->SetNextCommitWaitsForActivation(); 673 proxy_->SetNextCommitWaitsForActivation();
675 } 674 }
676 675
677 void LayerTreeHost::SetNextCommitForcesRedraw() { 676 void LayerTreeHost::SetNextCommitForcesRedraw() {
678 next_commit_forces_redraw_ = true; 677 next_commit_forces_redraw_ = true;
679 proxy_->SetNeedsUpdateLayers(); 678 proxy_->SetNeedsUpdateLayers();
680 } 679 }
681 680
682 void LayerTreeHost::SetAnimationEvents(scoped_ptr<AnimationEvents> events) { 681 void LayerTreeHost::SetAnimationEvents(scoped_ptr<AnimationEvents> events) {
(...skipping 897 matching lines...) Expand 10 before | Expand all | Expand 10 after
1580 LayerTreeHostCommon::CallFunctionForSubtree( 1579 LayerTreeHostCommon::CallFunctionForSubtree(
1581 root_layer(), [seq_num](Layer* layer) { 1580 root_layer(), [seq_num](Layer* layer) {
1582 layer->set_property_tree_sequence_number(seq_num); 1581 layer->set_property_tree_sequence_number(seq_num);
1583 }); 1582 });
1584 1583
1585 surface_id_namespace_ = proto.surface_id_namespace(); 1584 surface_id_namespace_ = proto.surface_id_namespace();
1586 next_surface_sequence_ = proto.next_surface_sequence(); 1585 next_surface_sequence_ = proto.next_surface_sequence();
1587 } 1586 }
1588 1587
1589 } // namespace cc 1588 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698