Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1448)

Unified Diff: chrome/browser/ui/webui/certificate_viewer_webui.h

Issue 10554010: Remove BrowserList::GetLastActive usage from WebUI pages. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/views/stubs_aura.cc ('k') | chrome/browser/ui/webui/certificate_viewer_webui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « chrome/browser/ui/views/stubs_aura.cc ('k') | chrome/browser/ui/webui/certificate_viewer_webui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698