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

Side by Side Diff: third_party/WebKit/Source/platform/animation/CompositorFilterKeyframe.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: GC 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
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * Copyright (C) 2013 Intel Corporation. All rights reserved. 3 * Copyright (C) 2013 Intel Corporation. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 11 matching lines...) Expand all
22 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 22 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 23 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 24 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 */ 30 */
31 31
32 #ifndef WebFilterKeyframe_h 32 #ifndef CompositorFilterKeyframe_h
33 #define WebFilterKeyframe_h 33 #define CompositorFilterKeyframe_h
34 34
35 #include "WebFilterOperations.h" 35 #include "platform/graphics/CompositorFilterOperations.h"
36 #include "WebPrivateOwnPtr.h" 36 #include "public/platform/WebPrivateOwnPtr.h"
37 37
38 #if INSIDE_BLINK 38 #if INSIDE_BLINK
loyso (OOO) 2016/02/01 05:31:32 This is internal blink header now. Do I need to er
loyso (OOO) 2016/02/01 06:33:04 Done.
39 namespace WTF { template <typename T> class PassOwnPtr; } 39 namespace WTF { template <typename T> class PassOwnPtr; }
40 #endif 40 #endif
41 41
42 namespace blink { 42 namespace blink {
43 43
44 class WebFilterKeyframe { 44 class CompositorFilterKeyframe {
45 public: 45 public:
46 #if INSIDE_BLINK 46 #if INSIDE_BLINK
47 BLINK_PLATFORM_EXPORT WebFilterKeyframe(double time, PassOwnPtr<WebFilterOpe rations>); 47 BLINK_PLATFORM_EXPORT CompositorFilterKeyframe(double time, PassOwnPtr<Compo sitorFilterOperations>);
48 #endif 48 #endif
49 49
50 BLINK_PLATFORM_EXPORT ~WebFilterKeyframe(); 50 BLINK_PLATFORM_EXPORT ~CompositorFilterKeyframe();
51 51
52 double time() const { return m_time; } 52 double time() const { return m_time; }
53 53
54 const WebFilterOperations& value() const { return *m_value.get(); } 54 const CompositorFilterOperations& value() const { return *m_value.get(); }
55 55
56 private: 56 private:
57 double m_time; 57 double m_time;
58 WebPrivateOwnPtr<WebFilterOperations> m_value; 58 WebPrivateOwnPtr<CompositorFilterOperations> m_value;
59 }; 59 };
60 60
61 } // namespace blink 61 } // namespace blink
62 62
63 #endif // WebFilterKeyframe_h 63 #endif // CompositorFilterKeyframe_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698