OLD | NEW |
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 #import "chrome/browser/ui/cocoa/certificate_viewer_mac.h" | 5 #import "chrome/browser/ui/cocoa/certificate_viewer_mac.h" |
6 | 6 |
7 #include <Security/Security.h> | 7 #include <Security/Security.h> |
8 #include <SecurityInterface/SFCertificatePanel.h> | 8 #include <SecurityInterface/SFCertificatePanel.h> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/mac/foundation_util.h" | 11 #include "base/mac/foundation_util.h" |
12 #include "base/mac/scoped_cftyperef.h" | 12 #include "base/mac/scoped_cftyperef.h" |
13 #include "base/memory/scoped_nsobject.h" | 13 #include "base/mac/scoped_nsobject.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "chrome/browser/certificate_viewer.h" | 15 #include "chrome/browser/certificate_viewer.h" |
16 #import "chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.h" | 16 #import "chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.h" |
17 #import "chrome/browser/ui/cocoa/constrained_window/constrained_window_sheet.h" | 17 #import "chrome/browser/ui/cocoa/constrained_window/constrained_window_sheet.h" |
18 #import "chrome/browser/ui/cocoa/constrained_window/constrained_window_sheet_con
troller.h" | 18 #import "chrome/browser/ui/cocoa/constrained_window/constrained_window_sheet_con
troller.h" |
19 #include "net/cert/x509_certificate.h" | 19 #include "net/cert/x509_certificate.h" |
20 #include "net/cert/x509_util_mac.h" | 20 #include "net/cert/x509_util_mac.h" |
21 #import "ui/base/cocoa/window_size_constants.h" | 21 #import "ui/base/cocoa/window_size_constants.h" |
22 | 22 |
23 class SSLCertificateViewerCocoaBridge; | 23 class SSLCertificateViewerCocoaBridge; |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 // NOOP | 200 // NOOP |
201 } | 201 } |
202 | 202 |
203 - (void)onConstrainedWindowClosed { | 203 - (void)onConstrainedWindowClosed { |
204 panel_.reset(); | 204 panel_.reset(); |
205 constrainedWindow_.reset(); | 205 constrainedWindow_.reset(); |
206 [self release]; | 206 [self release]; |
207 } | 207 } |
208 | 208 |
209 @end | 209 @end |
OLD | NEW |