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

Side by Side Diff: third_party/WebKit/Source/core/animation/css/CSSAnimatableValueFactory.h

Issue 2893313004: Remove unused AnimatableValue types (Closed)
Patch Set: Created 3 years, 7 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 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 21 matching lines...) Expand all
32 #define CSSAnimatableValueFactory_h 32 #define CSSAnimatableValueFactory_h
33 33
34 #include "core/CSSPropertyNames.h" 34 #include "core/CSSPropertyNames.h"
35 #include "core/animation/animatable/AnimatableValue.h" 35 #include "core/animation/animatable/AnimatableValue.h"
36 #include "platform/wtf/Allocator.h" 36 #include "platform/wtf/Allocator.h"
37 #include "platform/wtf/PassRefPtr.h" 37 #include "platform/wtf/PassRefPtr.h"
38 38
39 namespace blink { 39 namespace blink {
40 40
41 class ComputedStyle; 41 class ComputedStyle;
42 class PropertyHandle;
43 42
44 class CSSAnimatableValueFactory { 43 class CSSAnimatableValueFactory {
45 STATIC_ONLY(CSSAnimatableValueFactory); 44 STATIC_ONLY(CSSAnimatableValueFactory);
46 45
47 public: 46 public:
48 static PassRefPtr<AnimatableValue> Create(const PropertyHandle&, 47 static PassRefPtr<AnimatableValue> Create(CSSPropertyID,
49 const ComputedStyle&); 48 const ComputedStyle&);
50
51 private:
52 static PassRefPtr<AnimatableValue> CreateFromColor(CSSPropertyID,
53 const ComputedStyle&);
54 }; 49 };
55 50
56 } // namespace blink 51 } // namespace blink
57 52
58 #endif // CSSAnimatableValueFactory_h 53 #endif // CSSAnimatableValueFactory_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698