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

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

Issue 21204002: core/svg: Include wtf files using "wtf/foo.h" form. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixes Created 7 years, 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 3 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
4 * Copyright (C) 2011 Torch Mobile (Beijing) Co. Ltd. All rights reserved. 4 * Copyright (C) 2011 Torch Mobile (Beijing) Co. Ltd. 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 13 matching lines...) Expand all
24 #include "core/svg/SVGElementInstance.h" 24 #include "core/svg/SVGElementInstance.h"
25 25
26 #include "core/dom/ContainerNodeAlgorithms.h" 26 #include "core/dom/ContainerNodeAlgorithms.h"
27 #include "core/dom/Event.h" 27 #include "core/dom/Event.h"
28 #include "core/dom/EventListener.h" 28 #include "core/dom/EventListener.h"
29 #include "core/dom/EventNames.h" 29 #include "core/dom/EventNames.h"
30 #include "core/svg/SVGElement.h" 30 #include "core/svg/SVGElement.h"
31 #include "core/svg/SVGElementInstanceList.h" 31 #include "core/svg/SVGElementInstanceList.h"
32 #include "core/svg/SVGUseElement.h" 32 #include "core/svg/SVGUseElement.h"
33 33
34 #include <wtf/RefCountedLeakCounter.h> 34 #include "wtf/RefCountedLeakCounter.h"
35 35
36 namespace WebCore { 36 namespace WebCore {
37 37
38 DEFINE_DEBUG_ONLY_GLOBAL(WTF::RefCountedLeakCounter, instanceCounter, ("WebCoreS VGElementInstance")); 38 DEFINE_DEBUG_ONLY_GLOBAL(WTF::RefCountedLeakCounter, instanceCounter, ("WebCoreS VGElementInstance"));
39 39
40 // EventTarget API 40 // EventTarget API
41 DEFINE_FORWARDING_ATTRIBUTE_EVENT_LISTENER(SVGElementInstance, correspondingElem ent(), abort); 41 DEFINE_FORWARDING_ATTRIBUTE_EVENT_LISTENER(SVGElementInstance, correspondingElem ent(), abort);
42 DEFINE_FORWARDING_ATTRIBUTE_EVENT_LISTENER(SVGElementInstance, correspondingElem ent(), blur); 42 DEFINE_FORWARDING_ATTRIBUTE_EVENT_LISTENER(SVGElementInstance, correspondingElem ent(), blur);
43 DEFINE_FORWARDING_ATTRIBUTE_EVENT_LISTENER(SVGElementInstance, correspondingElem ent(), change); 43 DEFINE_FORWARDING_ATTRIBUTE_EVENT_LISTENER(SVGElementInstance, correspondingElem ent(), change);
44 DEFINE_FORWARDING_ATTRIBUTE_EVENT_LISTENER(SVGElementInstance, correspondingElem ent(), click); 44 DEFINE_FORWARDING_ATTRIBUTE_EVENT_LISTENER(SVGElementInstance, correspondingElem ent(), click);
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 m_targetElement->setInstanceUpdatesBlocked(true); 262 m_targetElement->setInstanceUpdatesBlocked(true);
263 } 263 }
264 264
265 SVGElementInstance::InstanceUpdateBlocker::~InstanceUpdateBlocker() 265 SVGElementInstance::InstanceUpdateBlocker::~InstanceUpdateBlocker()
266 { 266 {
267 if (m_targetElement) 267 if (m_targetElement)
268 m_targetElement->setInstanceUpdatesBlocked(false); 268 m_targetElement->setInstanceUpdatesBlocked(false);
269 } 269 }
270 270
271 } 271 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698