| OLD | NEW |
| 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 "ContainerNode.h" | 23 #include "core/dom/ContainerNode.h" |
| 24 #include "EventContext.h" | 24 #include "core/dom/EventContext.h" |
| 25 #include "ShadowRoot.h" | 25 #include "core/dom/ShadowRoot.h" |
| 26 #include <wtf/HashMap.h> | 26 #include <wtf/HashMap.h> |
| 27 #include <wtf/PassRefPtr.h> | 27 #include <wtf/PassRefPtr.h> |
| 28 #include <wtf/RefPtr.h> | 28 #include <wtf/RefPtr.h> |
| 29 | 29 |
| 30 #if ENABLE(SVG) | 30 #if ENABLE(SVG) |
| 31 #include "SVGElementInstance.h" | 31 #include "SVGElementInstance.h" |
| 32 #include "SVGNames.h" | 32 #include "SVGNames.h" |
| 33 #include "SVGUseElement.h" | 33 #include "SVGUseElement.h" |
| 34 #endif | 34 #endif |
| 35 | 35 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 if (SVGElementInstance* instance = useElement->instanceForShadowTreeElement(
referenceNode)) | 91 if (SVGElementInstance* instance = useElement->instanceForShadowTreeElement(
referenceNode)) |
| 92 return instance; | 92 return instance; |
| 93 #endif | 93 #endif |
| 94 | 94 |
| 95 return referenceNode; | 95 return referenceNode; |
| 96 } | 96 } |
| 97 | 97 |
| 98 } | 98 } |
| 99 | 99 |
| 100 #endif // EventRetargeter_h | 100 #endif // EventRetargeter_h |
| OLD | NEW |