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

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

Issue 122993002: Make calls to AtomicString(const String&) explicit in web/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Use AtomicString type for frameName and target Created 6 years, 11 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/loader/FrameLoaderClient.h ('k') | Source/web/FrameLoaderClientImpl.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 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org>
4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org>
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 23 matching lines...) Expand all
34 public SVGExternalResourcesRequired { 34 public SVGExternalResourcesRequired {
35 public: 35 public:
36 static PassRefPtr<SVGAElement> create(Document&); 36 static PassRefPtr<SVGAElement> create(Document&);
37 37
38 private: 38 private:
39 explicit SVGAElement(Document&); 39 explicit SVGAElement(Document&);
40 40
41 virtual bool isValid() const { return SVGTests::isValid(); } 41 virtual bool isValid() const { return SVGTests::isValid(); }
42 42
43 virtual String title() const; 43 virtual String title() const;
44 virtual String target() const { return svgTargetCurrentValue(); } 44 virtual AtomicString target() const OVERRIDE { return AtomicString(svgTarget CurrentValue()); }
45 45
46 bool isSupportedAttribute(const QualifiedName&); 46 bool isSupportedAttribute(const QualifiedName&);
47 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 47 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
48 virtual void svgAttributeChanged(const QualifiedName&); 48 virtual void svgAttributeChanged(const QualifiedName&);
49 49
50 virtual RenderObject* createRenderer(RenderStyle*); 50 virtual RenderObject* createRenderer(RenderStyle*);
51 51
52 virtual void defaultEventHandler(Event*); 52 virtual void defaultEventHandler(Event*);
53 53
54 virtual bool supportsFocus() const OVERRIDE; 54 virtual bool supportsFocus() const OVERRIDE;
(...skipping 11 matching lines...) Expand all
66 // That's why it has been renamed to "svgTarget", the CodeGenerators tak e care of calling svgTargetAnimated() instead of targetAnimated(), see CodeGener ator.pm. 66 // That's why it has been renamed to "svgTarget", the CodeGenerators tak e care of calling svgTargetAnimated() instead of targetAnimated(), see CodeGener ator.pm.
67 DECLARE_ANIMATED_STRING(SVGTarget, svgTarget) 67 DECLARE_ANIMATED_STRING(SVGTarget, svgTarget)
68 DECLARE_ANIMATED_STRING(Href, href) 68 DECLARE_ANIMATED_STRING(Href, href)
69 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq uired) 69 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq uired)
70 END_DECLARE_ANIMATED_PROPERTIES 70 END_DECLARE_ANIMATED_PROPERTIES
71 }; 71 };
72 72
73 } // namespace WebCore 73 } // namespace WebCore
74 74
75 #endif // SVGAElement_h 75 #endif // SVGAElement_h
OLDNEW
« no previous file with comments | « Source/core/loader/FrameLoaderClient.h ('k') | Source/web/FrameLoaderClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698