blob: 3bad0ca418d08b7961785e54e727665634653c7b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
// Copyright (c) 2012 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_WEBUI_CERTIFICATE_VIEWER_UI_H_
#define CHROME_BROWSER_UI_WEBUI_CERTIFICATE_VIEWER_UI_H_
#include "chrome/browser/ui/webui/constrained_web_dialog_ui.h"
#include "ui/web_dialogs/web_dialog_ui.h"
// The WebUI for chrome://view-cert-dialog
class CertificateViewerModalDialogUI : public ui::WebDialogUI {
public:
explicit CertificateViewerModalDialogUI(content::WebUI* web_ui);
~CertificateViewerModalDialogUI() override;
private:
DISALLOW_COPY_AND_ASSIGN(CertificateViewerModalDialogUI);
};
// The WebUI for chrome://view-cert
class CertificateViewerUI : public ConstrainedWebDialogUI {
public:
explicit CertificateViewerUI(content::WebUI* web_ui);
~CertificateViewerUI() override;
private:
DISALLOW_COPY_AND_ASSIGN(CertificateViewerUI);
};
#endif // CHROME_BROWSER_UI_WEBUI_CERTIFICATE_VIEWER_UI_H_
|