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

Side by Side Diff: cc/CCTimingFunction.cpp

Issue 10914268: Change cc files from namespace WebCore to cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « cc/CCTimingFunction.h ('k') | cc/CCVideoLayerImpl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "config.h" 5 #include "config.h"
6 6
7 #include "CCTimingFunction.h" 7 #include "CCTimingFunction.h"
8 8
9 #include <wtf/OwnPtr.h> 9 #include <wtf/OwnPtr.h>
10 10
11 namespace { 11 namespace {
12 const double epsilon = 1e-6; 12 const double epsilon = 1e-6;
13 } // namespace 13 } // namespace
14 14
15 namespace WebCore { 15 namespace cc {
16 16
17 CCTimingFunction::CCTimingFunction() 17 CCTimingFunction::CCTimingFunction()
18 { 18 {
19 } 19 }
20 20
21 CCTimingFunction::~CCTimingFunction() 21 CCTimingFunction::~CCTimingFunction()
22 { 22 {
23 } 23 }
24 24
25 double CCTimingFunction::duration() const 25 double CCTimingFunction::duration() const
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 PassOwnPtr<CCTimingFunction> CCEaseOutTimingFunction::create() 66 PassOwnPtr<CCTimingFunction> CCEaseOutTimingFunction::create()
67 { 67 {
68 return CCCubicBezierTimingFunction::create(0, 0, 0.58, 1); 68 return CCCubicBezierTimingFunction::create(0, 0, 0.58, 1);
69 } 69 }
70 70
71 PassOwnPtr<CCTimingFunction> CCEaseInOutTimingFunction::create() 71 PassOwnPtr<CCTimingFunction> CCEaseInOutTimingFunction::create()
72 { 72 {
73 return CCCubicBezierTimingFunction::create(0.42, 0, 0.58, 1); 73 return CCCubicBezierTimingFunction::create(0.42, 0, 0.58, 1);
74 } 74 }
75 75
76 } // namespace WebCore 76 } // namespace cc
OLDNEW
« no previous file with comments | « cc/CCTimingFunction.h ('k') | cc/CCVideoLayerImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698