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

Side by Side Diff: Source/core/dom/EventRetargeter.h

Issue 17480002: Remove unused includes from core/accessibility, core/css and core/dom (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebased ; update <wtf/Foo.h> to "wtf/Foo.h" in changed files Created 7 years, 6 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/dom/EventListenerMap.cpp ('k') | Source/core/dom/EventTarget.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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Library General Public License for more details. 12 * Library General Public License for more details.
13 * 13 *
14 * You should have received a copy of the GNU Library General Public License 14 * You should have received a copy of the GNU Library General Public License
15 * along with this library; see the file COPYING.LIB. If not, write to 15 * along with this library; see the file COPYING.LIB. If not, write to
16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA. 17 * Boston, MA 02110-1301, USA.
18 */ 18 */
19 19
20 #ifndef EventRetargeter_h 20 #ifndef EventRetargeter_h
21 #define EventRetargeter_h 21 #define EventRetargeter_h
22 22
23 #include "SVGNames.h" 23 #include "SVGNames.h"
24 #include "core/dom/ContainerNode.h" 24 #include "core/dom/ContainerNode.h"
25 #include "core/dom/EventContext.h" 25 #include "core/dom/EventContext.h"
26 #include "core/dom/shadow/ShadowRoot.h" 26 #include "core/dom/shadow/ShadowRoot.h"
27 #include "core/svg/SVGElementInstance.h" 27 #include "core/svg/SVGElementInstance.h"
28 #include "core/svg/SVGUseElement.h" 28 #include "core/svg/SVGUseElement.h"
29 #include "wtf/HashMap.h" 29 #include "wtf/HashMap.h"
30 #include "wtf/PassRefPtr.h"
31 #include "wtf/RefPtr.h" 30 #include "wtf/RefPtr.h"
32 31
33 namespace WebCore { 32 namespace WebCore {
34 33
35 class EventTarget; 34 class EventTarget;
36 class FocusEvent; 35 class FocusEvent;
37 class MouseEvent; 36 class MouseEvent;
38 class Node; 37 class Node;
39 class TouchEvent; 38 class TouchEvent;
40 class TreeScope; 39 class TreeScope;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 SVGUseElement* useElement = static_cast<SVGUseElement*>(shadowHostElement); 88 SVGUseElement* useElement = static_cast<SVGUseElement*>(shadowHostElement);
90 if (SVGElementInstance* instance = useElement->instanceForShadowTreeElement( referenceNode)) 89 if (SVGElementInstance* instance = useElement->instanceForShadowTreeElement( referenceNode))
91 return instance; 90 return instance;
92 91
93 return referenceNode; 92 return referenceNode;
94 } 93 }
95 94
96 } 95 }
97 96
98 #endif // EventRetargeter_h 97 #endif // EventRetargeter_h
OLDNEW
« no previous file with comments | « Source/core/dom/EventListenerMap.cpp ('k') | Source/core/dom/EventTarget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698