#include "chrome/browser/ui/views/payments/payment_request_row_view.h"
#include <string>
#include "chrome/browser/ui/color/chrome_color_id.h"
#include "chrome/browser/ui/views/payments/payment_request_views_util.h"
#include "third_party/skia/include/core/SkColor.h"
#include "ui/accessibility/ax_node_data.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/color/color_id.h"
#include "ui/color/color_provider.h"
#include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/background.h"
#include "ui/views/border.h"
#include "ui/views/controls/focus_ring.h"
#include "ui/views/controls/label.h"
#include "ui/views/layout/table_layout.h"
#include "ui/views/view_class_properties.h"
#include "ui/views/view_utils.h"
#include "ui/views/widget/widget.h"
namespace {
std::u16string GetAccessibleNameFromTree(views::View* view) { … }
}
namespace payments {
PaymentRequestRowView::PaymentRequestRowView()
: … { … }
PaymentRequestRowView::PaymentRequestRowView(PressedCallback callback,
bool clickable,
const gfx::Insets& insets)
: … { … }
PaymentRequestRowView::~PaymentRequestRowView() = default;
bool PaymentRequestRowView::GetClickable() const { … }
void PaymentRequestRowView::SetClickable(bool clickable) { … }
base::WeakPtr<PaymentRequestRowView> PaymentRequestRowView::AsWeakPtr() { … }
gfx::Insets PaymentRequestRowView::GetRowInsets() const { … }
void PaymentRequestRowView::SetRowInsets(const gfx::Insets& row_insets) { … }
void PaymentRequestRowView::SetBottomSeparatorVisible(bool visible) { … }
void PaymentRequestRowView::UpdateBottomSeparatorVisualState() { … }
void PaymentRequestRowView::SetHighlighted(bool highlighted) { … }
void PaymentRequestRowView::UpdateButtonState() { … }
void PaymentRequestRowView::GetAccessibleNodeData(ui::AXNodeData* node_data) { … }
void PaymentRequestRowView::StateChanged(ButtonState old_state) { … }
void PaymentRequestRowView::OnThemeChanged() { … }
void PaymentRequestRowView::OnFocus() { … }
void PaymentRequestRowView::OnBlur() { … }
BEGIN_METADATA(…)
}