#include "third_party/blink/renderer/core/html/forms/image_input_type.h"
#include "third_party/blink/renderer/core/css/style_change_reason.h"
#include "third_party/blink/renderer/core/dom/shadow_root.h"
#include "third_party/blink/renderer/core/events/mouse_event.h"
#include "third_party/blink/renderer/core/frame/web_feature.h"
#include "third_party/blink/renderer/core/html/forms/form_data.h"
#include "third_party/blink/renderer/core/html/forms/html_form_element.h"
#include "third_party/blink/renderer/core/html/forms/html_input_element.h"
#include "third_party/blink/renderer/core/html/html_image_fallback_helper.h"
#include "third_party/blink/renderer/core/html/html_image_loader.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/input_type_names.h"
#include "third_party/blink/renderer/core/layout/adjust_for_absolute_zoom.h"
#include "third_party/blink/renderer/core/layout/layout_block_flow.h"
#include "third_party/blink/renderer/core/layout/layout_image.h"
#include "third_party/blink/renderer/core/layout/layout_inline.h"
#include "third_party/blink/renderer/platform/runtime_enabled_features.h"
#include "third_party/blink/renderer/platform/wtf/text/string_builder.h"
namespace blink {
ImageInputType::ImageInputType(HTMLInputElement& element)
: … { … }
void ImageInputType::CountUsage() { … }
bool ImageInputType::IsFormDataAppendable() const { … }
void ImageInputType::AppendToFormData(FormData& form_data) const { … }
String ImageInputType::ResultForDialogSubmit() const { … }
bool ImageInputType::SupportsValidation() const { … }
static gfx::Point ExtractClickLocation(const Event& event) { … }
void ImageInputType::HandleDOMActivateEvent(Event& event) { … }
ControlPart ImageInputType::AutoAppearance() const { … }
LayoutObject* ImageInputType::CreateLayoutObject(
const ComputedStyle& style) const { … }
void ImageInputType::AltAttributeChanged() { … }
void ImageInputType::SrcAttributeChanged() { … }
void ImageInputType::ValueAttributeChanged() { … }
void ImageInputType::OnAttachWithLayoutObject() { … }
bool ImageInputType::ShouldRespectAlignAttribute() { … }
bool ImageInputType::CanBeSuccessfulSubmitButton() { … }
bool ImageInputType::IsEnumeratable() { … }
bool ImageInputType::IsAutoDirectionalityFormAssociated() const { … }
bool ImageInputType::ShouldRespectHeightAndWidthAttributes() { … }
unsigned ImageInputType::Height() const { … }
unsigned ImageInputType::Width() const { … }
bool ImageInputType::HasLegalLinkAttribute(const QualifiedName& name) const { … }
void ImageInputType::EnsureFallbackContent() { … }
void ImageInputType::SetUseFallbackContent() { … }
void ImageInputType::EnsurePrimaryContent() { … }
void ImageInputType::ReattachFallbackContent() { … }
void ImageInputType::CreateShadowSubtree() { … }
void ImageInputType::AdjustStyle(ComputedStyleBuilder& builder) { … }
}