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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLAreaElement.h

Issue 2623513005: Introduce Element::AttributeModificationParams (Closed)
Patch Set: Created 3 years, 11 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
OLDNEW
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLAreaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698