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

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

Issue 18080016: [CSS Regions] Elements in a region should be assignable to a named flow (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed failing test (fullscreen issue), added SVG test Created 7 years, 5 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
« no previous file with comments | « Source/core/rendering/RenderNamedFlowThread.cpp ('k') | Source/core/svg/SVGElement.cpp » ('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, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org>
4 * Copyright (C) 2009 Apple Inc. All rights reserved. 4 * Copyright (C) 2009 Apple Inc. All rights reserved.
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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 113
114 MutableStylePropertySet* animatedSMILStyleProperties() const; 114 MutableStylePropertySet* animatedSMILStyleProperties() const;
115 MutableStylePropertySet* ensureAnimatedSMILStyleProperties(); 115 MutableStylePropertySet* ensureAnimatedSMILStyleProperties();
116 void setUseOverrideComputedStyle(bool); 116 void setUseOverrideComputedStyle(bool);
117 117
118 virtual bool haveLoadedRequiredResources(); 118 virtual bool haveLoadedRequiredResources();
119 119
120 virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<Even tListener>, bool useCapture) OVERRIDE; 120 virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<Even tListener>, bool useCapture) OVERRIDE;
121 virtual bool removeEventListener(const AtomicString& eventType, EventListene r*, bool useCapture) OVERRIDE; 121 virtual bool removeEventListener(const AtomicString& eventType, EventListene r*, bool useCapture) OVERRIDE;
122 122
123 virtual bool shouldMoveToFlowThread(RenderStyle*) const OVERRIDE;
124
123 protected: 125 protected:
124 SVGElement(const QualifiedName&, Document*, ConstructionType = CreateSVGElem ent); 126 SVGElement(const QualifiedName&, Document*, ConstructionType = CreateSVGElem ent);
125 127
126 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 128 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
127 129
128 virtual void finishParsingChildren(); 130 virtual void finishParsingChildren();
129 virtual void attributeChanged(const QualifiedName&, const AtomicString&, Att ributeModificationReason = ModifiedDirectly) OVERRIDE; 131 virtual void attributeChanged(const QualifiedName&, const AtomicString&, Att ributeModificationReason = ModifiedDirectly) OVERRIDE;
130 virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const OV ERRIDE; 132 virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const OV ERRIDE;
131 133
132 virtual void removedFrom(ContainerNode*) OVERRIDE; 134 virtual void removedFrom(ContainerNode*) OVERRIDE;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 178
177 inline const SVGElement* toSVGElement(const Node* node) 179 inline const SVGElement* toSVGElement(const Node* node)
178 { 180 {
179 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->isSVGElement()); 181 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->isSVGElement());
180 return static_cast<const SVGElement*>(node); 182 return static_cast<const SVGElement*>(node);
181 } 183 }
182 184
183 } 185 }
184 186
185 #endif 187 #endif
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderNamedFlowThread.cpp ('k') | Source/core/svg/SVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698