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

Side by Side Diff: content/renderer/compositor_bindings/web_transform_operations_impl.cc

Issue 317163002: Moving compositor_bindings from webkit to content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changing dependencies due to failing ios bots Created 6 years, 6 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "webkit/renderer/compositor_bindings/web_transform_operations_impl.h" 5 #include "content/renderer/compositor_bindings/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 webkit { 11 namespace content {
12 12
13 WebTransformOperationsImpl::WebTransformOperationsImpl() {} 13 WebTransformOperationsImpl::WebTransformOperationsImpl() {
14 }
14 15
15 const cc::TransformOperations& 16 const cc::TransformOperations&
16 WebTransformOperationsImpl::AsTransformOperations() const { 17 WebTransformOperationsImpl::AsTransformOperations() const {
17 return transform_operations_; 18 return transform_operations_;
18 } 19 }
19 20
20 bool WebTransformOperationsImpl::canBlendWith( 21 bool WebTransformOperationsImpl::canBlendWith(
21 const blink::WebTransformOperations& other) const { 22 const blink::WebTransformOperations& other) const {
22 const WebTransformOperationsImpl& other_impl = 23 const WebTransformOperationsImpl& other_impl =
23 static_cast<const WebTransformOperationsImpl&>(other); 24 static_cast<const WebTransformOperationsImpl&>(other);
(...skipping 30 matching lines...) Expand all
54 } 55 }
55 56
56 void WebTransformOperationsImpl::appendIdentity() { 57 void WebTransformOperationsImpl::appendIdentity() {
57 transform_operations_.AppendIdentity(); 58 transform_operations_.AppendIdentity();
58 } 59 }
59 60
60 bool WebTransformOperationsImpl::isIdentity() const { 61 bool WebTransformOperationsImpl::isIdentity() const {
61 return transform_operations_.IsIdentity(); 62 return transform_operations_.IsIdentity();
62 } 63 }
63 64
64 WebTransformOperationsImpl::~WebTransformOperationsImpl() {} 65 WebTransformOperationsImpl::~WebTransformOperationsImpl() {
66 }
65 67
66 } // namespace webkit 68 } // namespace content
69
OLDNEW
« no previous file with comments | « content/renderer/compositor_bindings/web_transform_operations_impl.h ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698