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

Side by Side Diff: chrome/browser/certificate_viewer.h

Issue 10554010: Remove BrowserList::GetLastActive usage from WebUI pages. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CERTIFICATE_VIEWER_H_ 5 #ifndef CHROME_BROWSER_CERTIFICATE_VIEWER_H_
6 #define CHROME_BROWSER_CERTIFICATE_VIEWER_H_ 6 #define CHROME_BROWSER_CERTIFICATE_VIEWER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ui/gfx/native_widget_types.h" 9 #include "ui/gfx/native_widget_types.h"
10 10
11 class TabContents;
12
11 namespace net { 13 namespace net {
12 14
13 class X509Certificate; 15 class X509Certificate;
14 16
15 } // namespace net 17 } // namespace net
16 18
17 // Opens a certificate viewer under |parent| to display the certificate from 19 // Opens a certificate viewer under |parent| to display the certificate from
18 // the |CertStore| with id |cert_id|. 20 // the |CertStore| with id |cert_id|.
19 void ShowCertificateViewerByID(gfx::NativeWindow parent, int cert_id); 21 void ShowCertificateViewerByID(TabContents* tab,
22 gfx::NativeWindow parent,
23 int cert_id);
20 24
21 // Opens a certificate viewer under |parent| to display |cert|. 25 // Opens a certificate viewer under |parent| to display |cert|.
22 void ShowCertificateViewer(gfx::NativeWindow parent, 26 void ShowCertificateViewer(TabContents* tab,
27 gfx::NativeWindow parent,
23 net::X509Certificate* cert); 28 net::X509Certificate* cert);
24 29
25 #endif // CHROME_BROWSER_CERTIFICATE_VIEWER_H_ 30 #endif // CHROME_BROWSER_CERTIFICATE_VIEWER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/certificate_viewer.cc » ('j') | chrome/browser/ui/page_info_bubble.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698