| 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 "content/renderer/compositor_bindings/web_transform_operations_impl.h" | 5 #include "cc/blink/web_transform_operations_impl.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "ui/gfx/transform.h" | 9 #include "ui/gfx/transform.h" |
| 10 | 10 |
| 11 namespace content { | 11 namespace cc_blink { |
| 12 | 12 |
| 13 WebTransformOperationsImpl::WebTransformOperationsImpl() { | 13 WebTransformOperationsImpl::WebTransformOperationsImpl() { |
| 14 } | 14 } |
| 15 | 15 |
| 16 const cc::TransformOperations& | 16 const cc::TransformOperations& |
| 17 WebTransformOperationsImpl::AsTransformOperations() const { | 17 WebTransformOperationsImpl::AsTransformOperations() const { |
| 18 return transform_operations_; | 18 return transform_operations_; |
| 19 } | 19 } |
| 20 | 20 |
| 21 bool WebTransformOperationsImpl::canBlendWith( | 21 bool WebTransformOperationsImpl::canBlendWith( |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 transform_operations_.AppendIdentity(); | 58 transform_operations_.AppendIdentity(); |
| 59 } | 59 } |
| 60 | 60 |
| 61 bool WebTransformOperationsImpl::isIdentity() const { | 61 bool WebTransformOperationsImpl::isIdentity() const { |
| 62 return transform_operations_.IsIdentity(); | 62 return transform_operations_.IsIdentity(); |
| 63 } | 63 } |
| 64 | 64 |
| 65 WebTransformOperationsImpl::~WebTransformOperationsImpl() { | 65 WebTransformOperationsImpl::~WebTransformOperationsImpl() { |
| 66 } | 66 } |
| 67 | 67 |
| 68 } // namespace content | 68 } // namespace cc_blink |
| 69 | |
| OLD | NEW |