OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef WEBKIT_COMPOSITOR_BINDINGS_WEB_TRANSFORMATION_MATRIX_UTIL_H_ |
| 6 #define WEBKIT_COMPOSITOR_BINDINGS_WEB_TRANSFORMATION_MATRIX_UTIL_H_ |
| 7 |
| 8 #include "third_party/WebKit/Source/Platform/chromium/public/WebTransformationMa
trix.h" |
| 9 #include "ui/gfx/transform.h" |
| 10 |
| 11 namespace webkit { |
| 12 |
| 13 class WebTransformationMatrixUtil { |
| 14 public: |
| 15 static gfx::Transform ToTransform( |
| 16 const WebKit::WebTransformationMatrix& matrix); |
| 17 |
| 18 static WebKit::WebTransformationMatrix ToWebTransformationMatrix( |
| 19 const gfx::Transform& transform); |
| 20 }; |
| 21 |
| 22 } // namespace webkit |
| 23 |
| 24 #endif // WEBKIT_COMPOSITOR_BINDINGS_WEB_TRANSFORMATION_MATRIX_UTIL_H_ |
OLD | NEW |