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

Side by Side Diff: third_party/WebKit/Source/platform/animation/TimingFunction.h

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. Created 4 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 /* 1 /*
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 12 matching lines...) Expand all
23 */ 23 */
24 24
25 #ifndef TimingFunction_h 25 #ifndef TimingFunction_h
26 #define TimingFunction_h 26 #define TimingFunction_h
27 27
28 #include "cc/animation/timing_function.h" 28 #include "cc/animation/timing_function.h"
29 #include "platform/animation/AnimationUtilities.h" // For blend() 29 #include "platform/animation/AnimationUtilities.h" // For blend()
30 #include "platform/heap/Handle.h" 30 #include "platform/heap/Handle.h"
31 #include "platform/heap/Heap.h" 31 #include "platform/heap/Heap.h"
32 #include "ui/gfx/geometry/cubic_bezier.h" 32 #include "ui/gfx/geometry/cubic_bezier.h"
33 #include "wtf/OwnPtr.h"
34 #include "wtf/PassOwnPtr.h"
35 #include "wtf/PassRefPtr.h" 33 #include "wtf/PassRefPtr.h"
36 #include "wtf/RefCounted.h" 34 #include "wtf/RefCounted.h"
37 #include "wtf/StdLibExtras.h" 35 #include "wtf/StdLibExtras.h"
38 #include "wtf/text/StringBuilder.h" 36 #include "wtf/text/StringBuilder.h"
39 #include "wtf/text/WTFString.h" 37 #include "wtf/text/WTFString.h"
40 38
41 namespace blink { 39 namespace blink {
42 40
43 class PLATFORM_EXPORT TimingFunction : public RefCounted<TimingFunction> { 41 class PLATFORM_EXPORT TimingFunction : public RefCounted<TimingFunction> {
44 public: 42 public:
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 value->type() == TimingFunction::k##typeName##Function, \ 222 value->type() == TimingFunction::k##typeName##Function, \
225 value.type() == TimingFunction::k##typeName##Function) 223 value.type() == TimingFunction::k##typeName##Function)
226 224
227 DEFINE_TIMING_FUNCTION_TYPE_CASTS(Linear); 225 DEFINE_TIMING_FUNCTION_TYPE_CASTS(Linear);
228 DEFINE_TIMING_FUNCTION_TYPE_CASTS(CubicBezier); 226 DEFINE_TIMING_FUNCTION_TYPE_CASTS(CubicBezier);
229 DEFINE_TIMING_FUNCTION_TYPE_CASTS(Steps); 227 DEFINE_TIMING_FUNCTION_TYPE_CASTS(Steps);
230 228
231 } // namespace blink 229 } // namespace blink
232 230
233 #endif // TimingFunction_h 231 #endif // TimingFunction_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698