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

/*
 * Copyright (C) 2005, 2011 Apple Inc. All rights reserved.
 * Copyright (C) 2010 Google Inc. 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/radio_input_type.h"

#include "third_party/blink/public/mojom/input/focus_type.mojom-blink.h"
#include "third_party/blink/public/strings/grit/blink_strings.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/dom/element_traversal.h"
#include "third_party/blink/renderer/core/dom/focus_params.h"
#include "third_party/blink/renderer/core/events/keyboard_event.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/html_form_element.h"
#include "third_party/blink/renderer/core/html/forms/html_input_element.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/keywords.h"
#include "third_party/blink/renderer/core/page/spatial_navigation.h"
#include "third_party/blink/renderer/platform/text/platform_locale.h"

namespace blink {

FormControlType;

namespace {

HTMLInputElement* NextInputElement(const HTMLInputElement& element,
                                   const HTMLFormElement* stay_within,
                                   bool forward) {}

}  // namespace

void RadioInputType::CountUsage() {}

ControlPart RadioInputType::AutoAppearance() const {}

bool RadioInputType::ValueMissing(const String&) const {}

String RadioInputType::ValueMissingText() const {}

void RadioInputType::HandleClickEvent(MouseEvent& event) {}

HTMLInputElement* RadioInputType::FindNextFocusableRadioButtonInGroup(
    HTMLInputElement* current_element,
    bool forward) {}

void RadioInputType::HandleKeydownEvent(KeyboardEvent& event) {}

void RadioInputType::HandleKeyupEvent(KeyboardEvent& event) {}

bool RadioInputType::IsKeyboardFocusable(
    Element::UpdateBehavior update_behavior) const {}

bool RadioInputType::ShouldSendChangeEventAfterCheckedChanged() {}

ClickHandlingState* RadioInputType::WillDispatchClick() {}

void RadioInputType::DidDispatchClick(Event& event,
                                      const ClickHandlingState& state) {}

bool RadioInputType::ShouldAppearIndeterminate() const {}

HTMLInputElement* RadioInputType::NextRadioButtonInGroup(
    HTMLInputElement* current,
    bool forward) {}

HTMLInputElement* RadioInputType::CheckedRadioButtonForGroup() const {}

void RadioInputType::WillUpdateCheckedness(bool new_checked) {}

}  // namespace blink