OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_UI_COCOA_CERTIFICATE_VIEWER_MAC_COCOA_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_CERTIFICATE_VIEWER_MAC_COCOA_H_ |
6 #define CHROME_BROWSER_UI_COCOA_CERTIFICATE_VIEWER_MAC_COCOA_H_ | 6 #define CHROME_BROWSER_UI_COCOA_CERTIFICATE_VIEWER_MAC_COCOA_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 #import "chrome/browser/ui/cocoa/certificate_viewer_mac.h" | 10 #import "chrome/browser/ui/cocoa/certificate_viewer_mac.h" |
11 #import "chrome/browser/ui/cocoa/constrained_window/constrained_window_sheet.h" | 11 #import "chrome/browser/ui/cocoa/constrained_window/constrained_window_sheet.h" |
12 | 12 |
13 // Certificate viewer class for the Mac Cocoa build which handles displaying and | 13 // Certificate viewer class for the Mac Cocoa build which handles displaying and |
14 // closing the Cocoa certificate viewer. | 14 // closing the Cocoa certificate viewer. |
15 @interface SSLCertificateViewerCocoa | 15 @interface SSLCertificateViewerCocoa |
16 : SSLCertificateViewerMac<ConstrainedWindowSheet> | 16 : SSLCertificateViewerMac<ConstrainedWindowSheet> |
17 | |
18 // Returns the invisible overlay window used to block interaction with the tab, | |
19 // but not the entire browser. | |
20 - (NSWindow*)overlayWindow; | |
21 | |
22 @end | 17 @end |
23 | 18 |
24 #endif // CHROME_BROWSER_UI_COCOA_CERTIFICATE_VIEWER_MAC_COCOA_H_ | 19 #endif // CHROME_BROWSER_UI_COCOA_CERTIFICATE_VIEWER_MAC_COCOA_H_ |
OLD | NEW |