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

Side by Side Diff: Source/core/svg/SVGGraphicsElement.h

Issue 478243002: bindings: Adds virtual ScriptWrappable::wrap method. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 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 | « Source/core/svg/SVGGradientElement.h ('k') | Source/core/svg/SVGHKernElement.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 /* 1 /*
2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org>
4 * Copyright (C) 2014 Google, Inc. 4 * Copyright (C) 2014 Google, Inc.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 16 matching lines...) Expand all
27 #include "core/svg/SVGRectTearOff.h" 27 #include "core/svg/SVGRectTearOff.h"
28 #include "core/svg/SVGTests.h" 28 #include "core/svg/SVGTests.h"
29 29
30 namespace blink { 30 namespace blink {
31 31
32 class AffineTransform; 32 class AffineTransform;
33 class Path; 33 class Path;
34 class SVGMatrixTearOff; 34 class SVGMatrixTearOff;
35 35
36 class SVGGraphicsElement : public SVGElement, public SVGTests { 36 class SVGGraphicsElement : public SVGElement, public SVGTests {
37 DEFINE_WRAPPERTYPEINFO();
37 public: 38 public:
38 virtual ~SVGGraphicsElement(); 39 virtual ~SVGGraphicsElement();
39 40
40 enum StyleUpdateStrategy { AllowStyleUpdate, DisallowStyleUpdate }; 41 enum StyleUpdateStrategy { AllowStyleUpdate, DisallowStyleUpdate };
41 42
42 AffineTransform getCTM(StyleUpdateStrategy = AllowStyleUpdate); 43 AffineTransform getCTM(StyleUpdateStrategy = AllowStyleUpdate);
43 AffineTransform getScreenCTM(StyleUpdateStrategy = AllowStyleUpdate); 44 AffineTransform getScreenCTM(StyleUpdateStrategy = AllowStyleUpdate);
44 PassRefPtr<SVGMatrixTearOff> getCTMFromJavascript(); 45 PassRefPtr<SVGMatrixTearOff> getCTMFromJavascript();
45 PassRefPtr<SVGMatrixTearOff> getScreenCTMFromJavascript(); 46 PassRefPtr<SVGMatrixTearOff> getScreenCTMFromJavascript();
46 47
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 inline bool isSVGGraphicsElement(const SVGElement& element) 90 inline bool isSVGGraphicsElement(const SVGElement& element)
90 { 91 {
91 return element.isSVGGraphicsElement(); 92 return element.isSVGGraphicsElement();
92 } 93 }
93 94
94 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGGraphicsElement); 95 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGGraphicsElement);
95 96
96 } // namespace blink 97 } // namespace blink
97 98
98 #endif // SVGGraphicsElement_h 99 #endif // SVGGraphicsElement_h
OLDNEW
« no previous file with comments | « Source/core/svg/SVGGradientElement.h ('k') | Source/core/svg/SVGHKernElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698