chromium/ui/views/controls/button/radio_button.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ui/views/controls/button/radio_button.h"

#include "base/auto_reset.h"
#include "base/check.h"
#include "base/ranges/algorithm.h"
#include "ui/accessibility/ax_action_data.h"
#include "ui/accessibility/ax_enums.mojom.h"
#include "ui/accessibility/ax_node_data.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/base/ui_base_features.h"
#include "ui/events/event_utils.h"
#include "ui/gfx/canvas.h"
#include "ui/gfx/geometry/skia_conversions.h"
#include "ui/gfx/paint_vector_icon.h"
#include "ui/native_theme/native_theme.h"
#include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/controls/focus_ring.h"
#include "ui/views/resources/grit/views_resources.h"
#include "ui/views/vector_icons.h"
#include "ui/views/view_utils.h"
#include "ui/views/widget/widget.h"

namespace views {

namespace {
constexpr int kFocusRingRadius =;
constexpr int kRadioButtonIconDipSizeCr2023 =;
}  // namespace

RadioButton::RadioButton(const std::u16string& label, int group_id)
    :{}

RadioButton::~RadioButton() = default;

void RadioButton::GetAccessibleNodeData(ui::AXNodeData* node_data) {}

View* RadioButton::GetSelectedViewForGroup(int group) {}

bool RadioButton::HandleAccessibleAction(const ui::AXActionData& action_data) {}

bool RadioButton::IsGroupFocusTraversable() const {}

void RadioButton::OnFocus() {}

void RadioButton::OnThemeChanged() {}

void RadioButton::RequestFocusFromEvent() {}

void RadioButton::NotifyClick(const ui::Event& event) {}

ui::NativeTheme::Part RadioButton::GetThemePart() const {}

void RadioButton::SetChecked(bool checked) {}

const gfx::VectorIcon& RadioButton::GetVectorIcon() const {}

gfx::ImageSkia RadioButton::GetImage(ButtonState for_state) const {}

SkPath RadioButton::GetFocusRingPath() const {}

void RadioButton::GetViewsInGroupFromParent(int group, Views* views) {}

BEGIN_METADATA()

}  // namespace views