blob: dd5a39780a666cd4c5a67452da836a3c7a89adcc [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_AUTOFILL_PAYMENTS_WEBAUTHN_DIALOG_VIEW_H_
#define CHROME_BROWSER_UI_AUTOFILL_PAYMENTS_WEBAUTHN_DIALOG_VIEW_H_
namespace autofill {
class WebauthnDialogController;
class WebauthnDialogModel;
enum class WebauthnDialogState;
// The view of the dialog that offers the option to use device's platform
// authenticator. It is shown automatically after card unmasked details are
// obtained and filled into the form.
class WebauthnDialogView {
public:
static WebauthnDialogView* CreateAndShow(WebauthnDialogController* controller,
WebauthnDialogState dialog_state);
virtual WebauthnDialogModel* GetDialogModel() const = 0;
};
} // namespace autofill
#endif // CHROME_BROWSER_UI_AUTOFILL_PAYMENTS_WEBAUTHN_DIALOG_VIEW_H_