#include "third_party/blink/renderer/core/html/html_area_element.h"
#include "third_party/blink/renderer/core/dom/element.h"
#include "third_party/blink/renderer/core/dom/element_traversal.h"
#include "third_party/blink/renderer/core/html/html_image_element.h"
#include "third_party/blink/renderer/core/html/html_map_element.h"
#include "third_party/blink/renderer/core/html/parser/html_parser_idioms.h"
#include "third_party/blink/renderer/core/html_names.h"
#include "third_party/blink/renderer/core/layout/hit_test_result.h"
#include "third_party/blink/renderer/core/layout/layout_image.h"
#include "third_party/blink/renderer/platform/graphics/path.h"
#include "third_party/blink/renderer/platform/transforms/affine_transform.h"
namespace blink {
namespace {
float ClampCoordinate(double value) { … }
}
HTMLAreaElement::HTMLAreaElement(Document& document)
: … { … }
HTMLAreaElement::~HTMLAreaElement() = default;
void HTMLAreaElement::ParseAttribute(
const AttributeModificationParams& params) { … }
void HTMLAreaElement::InvalidateCachedPath() { … }
bool HTMLAreaElement::PointInArea(const PhysicalOffset& location,
const LayoutObject* container_object) const { … }
PhysicalRect HTMLAreaElement::ComputeAbsoluteRect(
const LayoutObject* container_object) const { … }
Path HTMLAreaElement::GetPath(const LayoutObject* container_object) const { … }
HTMLImageElement* HTMLAreaElement::ImageElement() const { … }
bool HTMLAreaElement::IsKeyboardFocusable(
UpdateBehavior update_behavior) const { … }
FocusableState HTMLAreaElement::IsFocusableState(
UpdateBehavior update_behavior) const { … }
bool HTMLAreaElement::IsFocusableStyle(UpdateBehavior update_behavior) const { … }
void HTMLAreaElement::SetFocused(bool should_be_focused,
mojom::blink::FocusType focus_type) { … }
Element* HTMLAreaElement::interestTargetElement() { … }
AtomicString HTMLAreaElement::interestAction() const { … }
void HTMLAreaElement::UpdateSelectionOnFocus(
SelectionBehaviorOnFocus selection_behavior,
const FocusOptions* options) { … }
}