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

/*
 * Copyright (C) 2007, 2008, 2009 Apple 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_button_group_scope.h"

#include "base/not_fatal_until.h"
#include "third_party/blink/renderer/core/accessibility/ax_object_cache.h"
#include "third_party/blink/renderer/core/html/forms/html_input_element.h"
#include "third_party/blink/renderer/core/input_type_names.h"
#include "third_party/blink/renderer/platform/wtf/hash_map.h"

namespace blink {

FormControlType;

class RadioButtonGroup : public GarbageCollected<RadioButtonGroup> {};

RadioButtonGroup::RadioButtonGroup()
    :{}

inline bool RadioButtonGroup::IsValid() const {}

void RadioButtonGroup::SetCheckedButton(HTMLInputElement* button) {}

void RadioButtonGroup::UpdateRequiredButton(MemberKeyValue& it,
                                            bool is_required) {}

void RadioButtonGroup::Add(HTMLInputElement* button) {}

void RadioButtonGroup::UpdateCheckedState(HTMLInputElement* button) {}

void RadioButtonGroup::RequiredAttributeChanged(HTMLInputElement* button) {}

void RadioButtonGroup::Remove(HTMLInputElement* button) {}

void RadioButtonGroup::SetNeedsValidityCheckForAllButtons() {}

bool RadioButtonGroup::Contains(HTMLInputElement* button) const {}

unsigned RadioButtonGroup::size() const {}

void RadioButtonGroup::Trace(Visitor* visitor) const {}

// ----------------------------------------------------------------

// Explicity define empty constructor and destructor in order to prevent the
// compiler from generating them as inlines. So we don't need to to define
// RadioButtonGroup in the header.
RadioButtonGroupScope::RadioButtonGroupScope() = default;

void RadioButtonGroupScope::AddButton(HTMLInputElement* element) {}

void RadioButtonGroupScope::UpdateCheckedState(HTMLInputElement* element) {}

void RadioButtonGroupScope::RequiredAttributeChanged(
    HTMLInputElement* element) {}

HTMLInputElement* RadioButtonGroupScope::CheckedButtonForGroup(
    const AtomicString& name) const {}

bool RadioButtonGroupScope::IsInRequiredGroup(HTMLInputElement* element) const {}

unsigned RadioButtonGroupScope::GroupSizeFor(
    const HTMLInputElement* element) const {}

void RadioButtonGroupScope::RemoveButton(HTMLInputElement* element) {}

void RadioButtonGroupScope::Trace(Visitor* visitor) const {}

RadioButtonGroup* RadioButtonGroupScope::FindGroupByName(
    const AtomicString& name) const {}

}  // namespace blink