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

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

Issue 7919028: Revert 101581 - Add --use-more-webui runtime flag to toggle WebUI replacements for native dialogs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 3 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 namespace net { 11 namespace net {
12 12
13 class X509Certificate; 13 class X509Certificate;
14 14
15 } // namespace net 15 } // namespace net
16 16
17 // Opens a certificate viewer under |parent| to display the certificate from 17 // Opens a certificate viewer under |parent| to display the certificate from
18 // the |CertStore| with id |cert_id|. 18 // the |CertStore| with id |cert_id|.
19 void ShowCertificateViewerByID(gfx::NativeWindow parent, int cert_id); 19 void ShowCertificateViewerByID(gfx::NativeWindow parent, int cert_id);
20 20
21 // Opens a certificate viewer under |parent| to display |cert|. 21 // Opens a certificate viewer under |parent| to display |cert|.
22 void ShowCertificateViewer(gfx::NativeWindow parent, 22 void ShowCertificateViewer(gfx::NativeWindow parent,
23 net::X509Certificate* cert); 23 net::X509Certificate* cert);
24 24
25 // Opens a certificate viewer under |parent| to display |cert| using a native
26 // certificate viewer dialog.
27 void ShowNativeCertificateViewer(gfx::NativeWindow parent,
28 net::X509Certificate* cert);
29
30 #endif // CHROME_BROWSER_CERTIFICATE_VIEWER_H_ 25 #endif // CHROME_BROWSER_CERTIFICATE_VIEWER_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/sync/test/integration/bookmarks_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698