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

Side by Side Diff: third_party/WebKit/Source/core/svg/SVGMatrixTearOff.h

Issue 1876843002: Introduce few const getters for dom classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 SVGMatrixTearOff* scaleNonUniform(double sx, double sy); 79 SVGMatrixTearOff* scaleNonUniform(double sx, double sy);
80 SVGMatrixTearOff* rotate(double); 80 SVGMatrixTearOff* rotate(double);
81 SVGMatrixTearOff* flipX(); 81 SVGMatrixTearOff* flipX();
82 SVGMatrixTearOff* flipY(); 82 SVGMatrixTearOff* flipY();
83 SVGMatrixTearOff* skewX(double); 83 SVGMatrixTearOff* skewX(double);
84 SVGMatrixTearOff* skewY(double); 84 SVGMatrixTearOff* skewY(double);
85 SVGMatrixTearOff* multiply(SVGMatrixTearOff*); 85 SVGMatrixTearOff* multiply(SVGMatrixTearOff*);
86 SVGMatrixTearOff* inverse(ExceptionState&); 86 SVGMatrixTearOff* inverse(ExceptionState&);
87 SVGMatrixTearOff* rotateFromVector(double x, double y, ExceptionState&); 87 SVGMatrixTearOff* rotateFromVector(double x, double y, ExceptionState&);
88 88
89 SVGTransformTearOff* contextTransform() { return m_contextTransform; } 89 SVGTransformTearOff* contextTransform() const { return m_contextTransform; }
90 90
91 const AffineTransform& value() const; 91 const AffineTransform& value() const;
92 92
93 DECLARE_VIRTUAL_TRACE(); 93 DECLARE_VIRTUAL_TRACE();
94 94
95 private: 95 private:
96 explicit SVGMatrixTearOff(const AffineTransform&); 96 explicit SVGMatrixTearOff(const AffineTransform&);
97 explicit SVGMatrixTearOff(SVGTransformTearOff*); 97 explicit SVGMatrixTearOff(SVGTransformTearOff*);
98 98
99 AffineTransform* mutableValue(); 99 AffineTransform* mutableValue();
100 void commitChange(); 100 void commitChange();
101 101
102 AffineTransform m_staticValue; 102 AffineTransform m_staticValue;
103 103
104 Member<SVGTransformTearOff> m_contextTransform; 104 Member<SVGTransformTearOff> m_contextTransform;
105 }; 105 };
106 106
107 } // namespace blink 107 } // namespace blink
108 108
109 #endif // SVGMatrixTearOff_h 109 #endif // SVGMatrixTearOff_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/RelList.h ('k') | third_party/WebKit/Source/core/svg/SVGViewSpec.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698