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

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: 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 2016 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 CompositorFilterKeyframe_h
6 #define CompositorFilterKeyframe_h
7
8 #include "platform/PlatformExport.h"
9 #include "platform/graphics/CompositorFilterOperations.h"
10 #include "wtf/OwnPtr.h"
11 #include "wtf/PassOwnPtr.h"
12
13 namespace blink {
14
15 class PLATFORM_EXPORT CompositorFilterKeyframe {
16 public:
17 CompositorFilterKeyframe(double time, PassOwnPtr<CompositorFilterOperations> );
18 ~CompositorFilterKeyframe();
19
20 double time() const { return m_time; }
21
22 const CompositorFilterOperations& value() const { return *m_value.get(); }
23
24 private:
25 double m_time;
26 OwnPtr<CompositorFilterOperations> m_value;
27 };
28
29 } // namespace blink
30
31 #endif // CompositorFilterKeyframe_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698