| Index: chrome/browser/ui/webui/certificate_viewer_webui.h
|
| ===================================================================
|
| --- chrome/browser/ui/webui/certificate_viewer_webui.h (revision 142088)
|
| +++ chrome/browser/ui/webui/certificate_viewer_webui.h (working copy)
|
| @@ -17,15 +17,14 @@
|
| #include "ui/gfx/native_widget_types.h"
|
| #include "ui/web_dialogs/web_dialog_delegate.h"
|
|
|
| +namespace content {
|
| +class WebContents;
|
| +}
|
| +
|
| namespace ui {
|
| class WebDialogObserver;
|
| }
|
|
|
| -// Displays the native or WebUI certificate viewer dialog for the given
|
| -// certificate.
|
| -void ShowCertificateViewer(gfx::NativeWindow parent,
|
| - net::X509Certificate*);
|
| -
|
| // Dialog for displaying detailed certificate information. This is used in linux
|
| // and chromeos builds to display detailed information in a floating dialog when
|
| // the user clicks on "Certificate Information" from the lock icon of a web site
|
| @@ -39,7 +38,7 @@
|
| virtual ~CertificateViewerDialog();
|
|
|
| // Show the dialog using the given parent window.
|
| - void Show(gfx::NativeWindow parent);
|
| + void Show(content::WebContents* web_contents, gfx::NativeWindow parent);
|
|
|
| // Add WebDialogObserver for this dialog.
|
| void AddObserver(ui::WebDialogObserver* observer);
|
|
|