chromium/chrome/browser/ui/views/payments/error_message_view_controller.cc

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

#include "chrome/browser/ui/views/payments/error_message_view_controller.h"

#include <memory>

#include "chrome/browser/ui/views/payments/payment_request_views_util.h"
#include "components/strings/grit/components_strings.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/metadata/metadata_header_macros.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/color/color_id.h"
#include "ui/color/color_provider.h"
#include "ui/gfx/geometry/insets.h"
#include "ui/views/controls/button/md_text_button.h"
#include "ui/views/controls/label.h"
#include "ui/views/layout/box_layout.h"

namespace {

class PaymentsErrorLabel : public views::Label {};

BEGIN_METADATA()

}  // namespace

namespace payments {

ErrorMessageViewController::ErrorMessageViewController(
    base::WeakPtr<PaymentRequestSpec> spec,
    base::WeakPtr<PaymentRequestState> state,
    base::WeakPtr<PaymentRequestDialogView> dialog)
    :{}

ErrorMessageViewController::~ErrorMessageViewController() {}

std::u16string ErrorMessageViewController::GetPrimaryButtonLabel() {}

PaymentRequestSheetController::ButtonCallback
ErrorMessageViewController::GetPrimaryButtonCallback() {}

int ErrorMessageViewController::GetPrimaryButtonId() {}

bool ErrorMessageViewController::GetPrimaryButtonEnabled() {}

bool ErrorMessageViewController::ShouldShowHeaderBackArrow() {}

bool ErrorMessageViewController::ShouldShowSecondaryButton() {}

std::u16string ErrorMessageViewController::GetSheetTitle() {}

void ErrorMessageViewController::FillContentView(views::View* content_view) {}

bool ErrorMessageViewController::GetSheetId(DialogViewID* sheet_id) {}

bool ErrorMessageViewController::ShouldAccelerateEnterKey() {}

bool ErrorMessageViewController::CanContentViewBeScrollable() {}

base::WeakPtr<PaymentRequestSheetController>
ErrorMessageViewController::GetWeakPtr() {}

}  // namespace payments