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

Side by Side Diff: cc/blink/web_transform_operations_impl.h

Issue 1616653002: CC Animation: Move files from cc_blink to Source/platform/animation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Fix copyrights and years. Created 4 years, 10 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CC_BLINK_WEB_TRANSFORM_OPERATIONS_IMPL_H_
6 #define CC_BLINK_WEB_TRANSFORM_OPERATIONS_IMPL_H_
7
8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "cc/animation/transform_operations.h"
11 #include "cc/blink/cc_blink_export.h"
12 #include "third_party/WebKit/public/platform/WebTransformOperations.h"
13
14 namespace cc_blink {
15
16 class WebTransformOperationsImpl : public blink::WebTransformOperations {
17 public:
18 CC_BLINK_EXPORT WebTransformOperationsImpl();
19 ~WebTransformOperationsImpl() override;
20
21 const cc::TransformOperations& AsTransformOperations() const;
22
23 // Implementation of blink::WebTransformOperations methods
24 bool canBlendWith(const blink::WebTransformOperations& other) const override;
25 void appendTranslate(double x, double y, double z) override;
26 void appendRotate(double x, double y, double z, double degrees) override;
27 void appendScale(double x, double y, double z) override;
28 void appendSkew(double x, double y) override;
29 void appendPerspective(double depth) override;
30 void appendMatrix(const SkMatrix44&) override;
31 void appendIdentity() override;
32 bool isIdentity() const override;
33
34 private:
35 cc::TransformOperations transform_operations_;
36
37 DISALLOW_COPY_AND_ASSIGN(WebTransformOperationsImpl);
38 };
39
40 } // namespace cc_blink
41
42 #endif // CC_BLINK_WEB_TRANSFORM_OPERATIONS_IMPL_H_
OLDNEW
« no previous file with comments | « cc/blink/web_transform_animation_curve_impl.cc ('k') | cc/blink/web_transform_operations_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698