| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 LayoutRect computeAbsoluteRect(const LayoutObject* containerObject) const; | 53 LayoutRect computeAbsoluteRect(const LayoutObject* containerObject) const; |
| 54 Path getPath(const LayoutObject* containerObject) const; | 54 Path getPath(const LayoutObject* containerObject) const; |
| 55 | 55 |
| 56 // The parent map's image. | 56 // The parent map's image. |
| 57 HTMLImageElement* imageElement() const; | 57 HTMLImageElement* imageElement() const; |
| 58 | 58 |
| 59 private: | 59 private: |
| 60 explicit HTMLAreaElement(Document&); | 60 explicit HTMLAreaElement(Document&); |
| 61 ~HTMLAreaElement(); | 61 ~HTMLAreaElement(); |
| 62 | 62 |
| 63 void parseAttribute(const QualifiedName&, | 63 void parseAttribute(const AttributeModificationParams&) override; |
| 64 const AtomicString&, | |
| 65 const AtomicString&) override; | |
| 66 bool isKeyboardFocusable() const override; | 64 bool isKeyboardFocusable() const override; |
| 67 bool isMouseFocusable() const override; | 65 bool isMouseFocusable() const override; |
| 68 bool layoutObjectIsFocusable() const override; | 66 bool layoutObjectIsFocusable() const override; |
| 69 void updateFocusAppearance(SelectionBehaviorOnFocus) override; | 67 void updateFocusAppearance(SelectionBehaviorOnFocus) override; |
| 70 void setFocused(bool) override; | 68 void setFocused(bool) override; |
| 71 | 69 |
| 72 enum Shape { Default, Poly, Rect, Circle }; | 70 enum Shape { Default, Poly, Rect, Circle }; |
| 73 void invalidateCachedPath(); | 71 void invalidateCachedPath(); |
| 74 | 72 |
| 75 mutable std::unique_ptr<Path> m_path; | 73 mutable std::unique_ptr<Path> m_path; |
| 76 Vector<double> m_coords; | 74 Vector<double> m_coords; |
| 77 Shape m_shape; | 75 Shape m_shape; |
| 78 }; | 76 }; |
| 79 | 77 |
| 80 } // namespace blink | 78 } // namespace blink |
| 81 | 79 |
| 82 #endif // HTMLAreaElement_h | 80 #endif // HTMLAreaElement_h |
| OLD | NEW |