chromium/third_party/blink/renderer/core/html/forms/image_input_type.cc

/*
 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All
 * rights reserved.
 * Copyright (C) 2010 Google Inc. All rights reserved.
 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public License
 * along with this library; see the file COPYING.LIB.  If not, write to
 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA 02110-1301, USA.
 *
 */

#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) {}

}  // namespace blink