| OLD | NEW |
| 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 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 467 } | 467 } |
| 468 | 468 |
| 469 void WebLayerImpl::SetContentsOpaqueIsFixed(bool fixed) { | 469 void WebLayerImpl::SetContentsOpaqueIsFixed(bool fixed) { |
| 470 contents_opaque_is_fixed_ = fixed; | 470 contents_opaque_is_fixed_ = fixed; |
| 471 } | 471 } |
| 472 | 472 |
| 473 void WebLayerImpl::setHasWillChangeTransformHint(bool has_will_change) { | 473 void WebLayerImpl::setHasWillChangeTransformHint(bool has_will_change) { |
| 474 layer_->SetHasWillChangeTransformHint(has_will_change); | 474 layer_->SetHasWillChangeTransformHint(has_will_change); |
| 475 } | 475 } |
| 476 | 476 |
| 477 void WebLayerImpl::setPreferredRasterScale(float raster_scale) { |
| 478 layer_->SetPreferredRasterScale(raster_scale); |
| 479 } |
| 480 |
| 481 void WebLayerImpl::clearPreferredRasterScale() { |
| 482 layer_->ClearPreferredRasterScale(); |
| 483 } |
| 484 |
| 477 } // namespace cc_blink | 485 } // namespace cc_blink |
| OLD | NEW |