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

Side by Side Diff: Source/core/rendering/svg/RenderSVGContainer.cpp

Issue 291243007: Make several functions in SVGRenderSupport templated for performance (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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 | « no previous file | Source/core/rendering/svg/RenderSVGHiddenContainer.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, 2007 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2007, 2008 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2007, 2008 Rob Buis <buis@kde.org>
4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org>
5 * Copyright (C) 2009 Google, Inc. All rights reserved. 5 * Copyright (C) 2009 Google, Inc. All rights reserved.
6 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> 6 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org>
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 11 matching lines...) Expand all
22 */ 22 */
23 23
24 #include "config.h" 24 #include "config.h"
25 25
26 #include "core/rendering/svg/RenderSVGContainer.h" 26 #include "core/rendering/svg/RenderSVGContainer.h"
27 27
28 #include "core/frame/Settings.h" 28 #include "core/frame/Settings.h"
29 #include "core/rendering/GraphicsContextAnnotator.h" 29 #include "core/rendering/GraphicsContextAnnotator.h"
30 #include "core/rendering/LayoutRepainter.h" 30 #include "core/rendering/LayoutRepainter.h"
31 #include "core/rendering/RenderView.h" 31 #include "core/rendering/RenderView.h"
32 #include "core/rendering/svg/SVGRenderSupport.h"
32 #include "core/rendering/svg/SVGRenderingContext.h" 33 #include "core/rendering/svg/SVGRenderingContext.h"
33 #include "core/rendering/svg/SVGResources.h" 34 #include "core/rendering/svg/SVGResources.h"
34 #include "core/rendering/svg/SVGResourcesCache.h" 35 #include "core/rendering/svg/SVGResourcesCache.h"
35 #include "platform/graphics/GraphicsContextCullSaver.h" 36 #include "platform/graphics/GraphicsContextCullSaver.h"
36 #include "platform/graphics/GraphicsContextStateSaver.h" 37 #include "platform/graphics/GraphicsContextStateSaver.h"
37 38
38 namespace WebCore { 39 namespace WebCore {
39 40
40 RenderSVGContainer::RenderSVGContainer(SVGElement* node) 41 RenderSVGContainer::RenderSVGContainer(SVGElement* node)
41 : RenderSVGModelObject(node) 42 : RenderSVGModelObject(node)
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 if (objectBoundingBox().contains(localPoint)) { 197 if (objectBoundingBox().contains(localPoint)) {
197 updateHitTestResult(result, roundedLayoutPoint(localPoint)); 198 updateHitTestResult(result, roundedLayoutPoint(localPoint));
198 return true; 199 return true;
199 } 200 }
200 } 201 }
201 // 16.4: "If there are no graphics elements whose relevant graphics content is under the pointer (i.e., there is no target element), the event is not dispat ched." 202 // 16.4: "If there are no graphics elements whose relevant graphics content is under the pointer (i.e., there is no target element), the event is not dispat ched."
202 return false; 203 return false;
203 } 204 }
204 205
205 } 206 }
OLDNEW
« no previous file with comments | « no previous file | Source/core/rendering/svg/RenderSVGHiddenContainer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698