| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * Copyright (C) 2004, 2008, 2009, 2011 Apple Inc. All rights reserved. | 4 * Copyright (C) 2004, 2008, 2009, 2011 Apple Inc. 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 12 matching lines...) Expand all Loading... |
| 23 #ifndef HTMLAreaElement_h | 23 #ifndef HTMLAreaElement_h |
| 24 #define HTMLAreaElement_h | 24 #define HTMLAreaElement_h |
| 25 | 25 |
| 26 #include "core/CoreExport.h" | 26 #include "core/CoreExport.h" |
| 27 #include "core/html/HTMLAnchorElement.h" | 27 #include "core/html/HTMLAnchorElement.h" |
| 28 #include "platform/geometry/LayoutRect.h" | 28 #include "platform/geometry/LayoutRect.h" |
| 29 #include <memory> | 29 #include <memory> |
| 30 | 30 |
| 31 namespace blink { | 31 namespace blink { |
| 32 | 32 |
| 33 class HitTestResult; | |
| 34 class HTMLImageElement; | 33 class HTMLImageElement; |
| 35 class Path; | 34 class Path; |
| 36 | 35 |
| 37 class CORE_EXPORT HTMLAreaElement final : public HTMLAnchorElement { | 36 class CORE_EXPORT HTMLAreaElement final : public HTMLAnchorElement { |
| 38 DEFINE_WRAPPERTYPEINFO(); | 37 DEFINE_WRAPPERTYPEINFO(); |
| 39 | 38 |
| 40 public: | 39 public: |
| 41 DECLARE_NODE_FACTORY(HTMLAreaElement); | 40 DECLARE_NODE_FACTORY(HTMLAreaElement); |
| 42 | 41 |
| 43 bool isDefault() const { return m_shape == Default; } | 42 bool isDefault() const { return m_shape == Default; } |
| (...skipping 30 matching lines...) Expand all Loading... |
| 74 void invalidateCachedPath(); | 73 void invalidateCachedPath(); |
| 75 | 74 |
| 76 mutable std::unique_ptr<Path> m_path; | 75 mutable std::unique_ptr<Path> m_path; |
| 77 Vector<double> m_coords; | 76 Vector<double> m_coords; |
| 78 Shape m_shape; | 77 Shape m_shape; |
| 79 }; | 78 }; |
| 80 | 79 |
| 81 } // namespace blink | 80 } // namespace blink |
| 82 | 81 |
| 83 #endif // HTMLAreaElement_h | 82 #endif // HTMLAreaElement_h |
| OLD | NEW |