1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_WEBUI_CERTIFICATE_VIEWER_UI_H_
6 #define CHROME_BROWSER_UI_WEBUI_CERTIFICATE_VIEWER_UI_H_
8 #include "chrome/browser/ui/webui/constrained_web_dialog_ui.h"
9 #include "ui/web_dialogs/web_dialog_ui.h"
11 // The WebUI for chrome://view-cert-dialog
12 class CertificateViewerModalDialogUI
: public ui::WebDialogUI
{
14 explicit CertificateViewerModalDialogUI(content::WebUI
* web_ui
);
15 ~CertificateViewerModalDialogUI() override
;
18 DISALLOW_COPY_AND_ASSIGN(CertificateViewerModalDialogUI
);
21 // The WebUI for chrome://view-cert
22 class CertificateViewerUI
: public ConstrainedWebDialogUI
{
24 explicit CertificateViewerUI(content::WebUI
* web_ui
);
25 ~CertificateViewerUI() override
;
28 DISALLOW_COPY_AND_ASSIGN(CertificateViewerUI
);
31 #endif // CHROME_BROWSER_UI_WEBUI_CERTIFICATE_VIEWER_UI_H_