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

Side by Side Diff: cc/blink/web_layer_impl.cc

Issue 1922393002: CC Animation: Unify ElementId in Blink Compositor Worker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@player
Patch Set: Remove NextElementId. Created 4 years, 7 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/blink/web_layer_impl.h ('k') | cc/cc.gyp » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/blink/web_layer_impl.h" 5 #include "cc/blink/web_layer_impl.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <utility> 10 #include <utility>
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 } 372 }
373 373
374 const cc::Layer* WebLayerImpl::ccLayer() const { 374 const cc::Layer* WebLayerImpl::ccLayer() const {
375 return layer_.get(); 375 return layer_.get();
376 } 376 }
377 377
378 cc::Layer* WebLayerImpl::ccLayer() { 378 cc::Layer* WebLayerImpl::ccLayer() {
379 return layer_.get(); 379 return layer_.get();
380 } 380 }
381 381
382 void WebLayerImpl::setElementId(uint64_t id) { 382 void WebLayerImpl::setElementId(cc::ElementId id) {
383 layer_->SetElementId(id); 383 layer_->SetElementId(id);
384 } 384 }
385 385
386 uint64_t WebLayerImpl::elementId() const { 386 cc::ElementId WebLayerImpl::elementId() const {
387 return layer_->element_id(); 387 return layer_->element_id();
388 } 388 }
389 389
390 void WebLayerImpl::setCompositorMutableProperties(uint32_t properties) { 390 void WebLayerImpl::setCompositorMutableProperties(uint32_t properties) {
391 layer_->SetMutableProperties(properties); 391 layer_->SetMutableProperties(properties);
392 } 392 }
393 393
394 uint32_t WebLayerImpl::compositorMutableProperties() const { 394 uint32_t WebLayerImpl::compositorMutableProperties() const {
395 return layer_->mutable_properties(); 395 return layer_->mutable_properties();
396 } 396 }
(...skipping 14 matching lines...) Expand all
411 411
412 Layer* WebLayerImpl::layer() const { 412 Layer* WebLayerImpl::layer() const {
413 return layer_.get(); 413 return layer_.get();
414 } 414 }
415 415
416 void WebLayerImpl::SetContentsOpaqueIsFixed(bool fixed) { 416 void WebLayerImpl::SetContentsOpaqueIsFixed(bool fixed) {
417 contents_opaque_is_fixed_ = fixed; 417 contents_opaque_is_fixed_ = fixed;
418 } 418 }
419 419
420 } // namespace cc_blink 420 } // namespace cc_blink
OLDNEW
« no previous file with comments | « cc/blink/web_layer_impl.h ('k') | cc/cc.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698