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

Side by Side Diff: Source/core/svg/SVGSVGElement.cpp

Issue 131473011: Clean the SVGSVGElement interface IDL (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Drop argument names. Created 6 years, 10 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/SVGSVGElement.h ('k') | Source/core/svg/SVGSVGElement.idl » ('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 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010 Rob Buis <buis@kde.org>
4 * Copyright (C) 2007 Apple Inc. All rights reserved. 4 * Copyright (C) 2007 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 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 if (updateRelativeLengthsOrViewBox 324 if (updateRelativeLengthsOrViewBox
325 || SVGZoomAndPan::isKnownAttribute(attrName)) { 325 || SVGZoomAndPan::isKnownAttribute(attrName)) {
326 if (renderer()) 326 if (renderer())
327 RenderSVGResource::markForLayoutAndParentResourceInvalidation(render er()); 327 RenderSVGResource::markForLayoutAndParentResourceInvalidation(render er());
328 return; 328 return;
329 } 329 }
330 330
331 SVGGraphicsElement::svgAttributeChanged(attrName); 331 SVGGraphicsElement::svgAttributeChanged(attrName);
332 } 332 }
333 333
334 unsigned SVGSVGElement::suspendRedraw(unsigned /* maxWaitMilliseconds */)
335 {
336 // FIXME: Implement me (see bug 11275)
337 return 0;
338 }
339
340 void SVGSVGElement::unsuspendRedraw(unsigned /* suspendHandleId */)
341 {
342 // FIXME: Implement me (see bug 11275)
343 }
344
345 void SVGSVGElement::unsuspendRedrawAll()
346 {
347 // FIXME: Implement me (see bug 11275)
348 }
349
350 void SVGSVGElement::forceRedraw()
351 {
352 // FIXME: Implement me (see bug 11275)
353 }
354
355 PassRefPtr<NodeList> SVGSVGElement::collectIntersectionOrEnclosureList(const Flo atRect& rect, SVGElement* referenceElement, CollectIntersectionOrEnclosure colle ct) const 334 PassRefPtr<NodeList> SVGSVGElement::collectIntersectionOrEnclosureList(const Flo atRect& rect, SVGElement* referenceElement, CollectIntersectionOrEnclosure colle ct) const
356 { 335 {
357 Vector<RefPtr<Node> > nodes; 336 Vector<RefPtr<Node> > nodes;
358 Element* element = ElementTraversal::next(*(referenceElement ? referenceElem ent : this)); 337 Element* element = ElementTraversal::next(*(referenceElement ? referenceElem ent : this));
359 while (element) { 338 while (element) {
360 if (element->isSVGElement()) { 339 if (element->isSVGElement()) {
361 SVGElement* svgElement = toSVGElement(element); 340 SVGElement* svgElement = toSVGElement(element);
362 if (collect == CollectIntersectionList) { 341 if (collect == CollectIntersectionList) {
363 if (RenderSVGModelObject::checkIntersection(svgElement->renderer (), rect)) 342 if (RenderSVGModelObject::checkIntersection(svgElement->renderer (), rect))
364 nodes.append(element); 343 nodes.append(element);
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
805 continue; 784 continue;
806 785
807 Element* element = toElement(node); 786 Element* element = toElement(node);
808 if (element->getIdAttribute() == id) 787 if (element->getIdAttribute() == id)
809 return element; 788 return element;
810 } 789 }
811 return 0; 790 return 0;
812 } 791 }
813 792
814 } 793 }
OLDNEW
« no previous file with comments | « Source/core/svg/SVGSVGElement.h ('k') | Source/core/svg/SVGSVGElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698