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

Side by Side Diff: Source/core/css/CSSTimingFunctionValue.h

Issue 26896005: IDL compiler: remove special case capitalization (cssText, xmllang, xmlbase, xmlspace) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007, 2008, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008, 2012 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 20 matching lines...) Expand all
31 31
32 namespace WebCore { 32 namespace WebCore {
33 33
34 class CSSCubicBezierTimingFunctionValue : public CSSValue { 34 class CSSCubicBezierTimingFunctionValue : public CSSValue {
35 public: 35 public:
36 static PassRefPtr<CSSCubicBezierTimingFunctionValue> create(double x1, doubl e y1, double x2, double y2) 36 static PassRefPtr<CSSCubicBezierTimingFunctionValue> create(double x1, doubl e y1, double x2, double y2)
37 { 37 {
38 return adoptRef(new CSSCubicBezierTimingFunctionValue(x1, y1, x2, y2)); 38 return adoptRef(new CSSCubicBezierTimingFunctionValue(x1, y1, x2, y2));
39 } 39 }
40 40
41 String customCssText() const; 41 String customCSSText() const;
42 42
43 double x1() const { return m_x1; } 43 double x1() const { return m_x1; }
44 double y1() const { return m_y1; } 44 double y1() const { return m_y1; }
45 double x2() const { return m_x2; } 45 double x2() const { return m_x2; }
46 double y2() const { return m_y2; } 46 double y2() const { return m_y2; }
47 47
48 bool equals(const CSSCubicBezierTimingFunctionValue&) const; 48 bool equals(const CSSCubicBezierTimingFunctionValue&) const;
49 49
50 private: 50 private:
51 CSSCubicBezierTimingFunctionValue(double x1, double y1, double x2, double y2 ) 51 CSSCubicBezierTimingFunctionValue(double x1, double y1, double x2, double y2 )
(...skipping 16 matching lines...) Expand all
68 class CSSStepsTimingFunctionValue : public CSSValue { 68 class CSSStepsTimingFunctionValue : public CSSValue {
69 public: 69 public:
70 static PassRefPtr<CSSStepsTimingFunctionValue> create(int steps, bool stepAt Start) 70 static PassRefPtr<CSSStepsTimingFunctionValue> create(int steps, bool stepAt Start)
71 { 71 {
72 return adoptRef(new CSSStepsTimingFunctionValue(steps, stepAtStart)); 72 return adoptRef(new CSSStepsTimingFunctionValue(steps, stepAtStart));
73 } 73 }
74 74
75 int numberOfSteps() const { return m_steps; } 75 int numberOfSteps() const { return m_steps; }
76 bool stepAtStart() const { return m_stepAtStart; } 76 bool stepAtStart() const { return m_stepAtStart; }
77 77
78 String customCssText() const; 78 String customCSSText() const;
79 79
80 bool equals(const CSSStepsTimingFunctionValue&) const; 80 bool equals(const CSSStepsTimingFunctionValue&) const;
81 81
82 private: 82 private:
83 CSSStepsTimingFunctionValue(int steps, bool stepAtStart) 83 CSSStepsTimingFunctionValue(int steps, bool stepAtStart)
84 : CSSValue(StepsTimingFunctionClass) 84 : CSSValue(StepsTimingFunctionClass)
85 , m_steps(steps) 85 , m_steps(steps)
86 , m_stepAtStart(stepAtStart) 86 , m_stepAtStart(stepAtStart)
87 { 87 {
88 } 88 }
89 89
90 int m_steps; 90 int m_steps;
91 bool m_stepAtStart; 91 bool m_stepAtStart;
92 }; 92 };
93 93
94 DEFINE_CSS_VALUE_TYPE_CASTS(StepsTimingFunctionValue); 94 DEFINE_CSS_VALUE_TYPE_CASTS(StepsTimingFunctionValue);
95 95
96 } // namespace 96 } // namespace
97 97
98 #endif 98 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698