| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2008, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2008, 2011 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies) | 3 * Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies) |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 #include "HTMLInputElement.h" | 33 #include "HTMLInputElement.h" |
| 34 #include "HTMLMediaElement.h" | 34 #include "HTMLMediaElement.h" |
| 35 #include "HTMLNames.h" | 35 #include "HTMLNames.h" |
| 36 #include "HTMLParserIdioms.h" | 36 #include "HTMLParserIdioms.h" |
| 37 #include "HTMLPlugInImageElement.h" | 37 #include "HTMLPlugInImageElement.h" |
| 38 #include "HTMLVideoElement.h" | 38 #include "HTMLVideoElement.h" |
| 39 #include "HitTestLocation.h" | 39 #include "HitTestLocation.h" |
| 40 #include "RenderBlock.h" | 40 #include "RenderBlock.h" |
| 41 #include "RenderImage.h" | 41 #include "RenderImage.h" |
| 42 #include "RenderInline.h" | 42 #include "RenderInline.h" |
| 43 #include "Scrollbar.h" | 43 #include "core/platform/Scrollbar.h" |
| 44 | 44 |
| 45 #if ENABLE(SVG) | 45 #if ENABLE(SVG) |
| 46 #include "SVGNames.h" | 46 #include "SVGNames.h" |
| 47 #include "XLinkNames.h" | 47 #include "XLinkNames.h" |
| 48 #endif | 48 #endif |
| 49 | 49 |
| 50 namespace WebCore { | 50 namespace WebCore { |
| 51 | 51 |
| 52 using namespace HTMLNames; | 52 using namespace HTMLNames; |
| 53 | 53 |
| (...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 625 { | 625 { |
| 626 for (Node* node = m_innerNode.get(); node; node = node->parentNode()) { | 626 for (Node* node = m_innerNode.get(); node; node = node->parentNode()) { |
| 627 if (node->isElementNode()) | 627 if (node->isElementNode()) |
| 628 return toElement(node); | 628 return toElement(node); |
| 629 } | 629 } |
| 630 | 630 |
| 631 return 0; | 631 return 0; |
| 632 } | 632 } |
| 633 | 633 |
| 634 } // namespace WebCore | 634 } // namespace WebCore |
| OLD | NEW |