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