| Index: chrome/browser/ui/cocoa/certificate_viewer_mac_views.h
|
| diff --git a/chrome/browser/ui/cocoa/certificate_viewer_mac_views.h b/chrome/browser/ui/cocoa/certificate_viewer_mac_views.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..20466dcbc0220fee15963706453a8d48a5510168
|
| --- /dev/null
|
| +++ b/chrome/browser/ui/cocoa/certificate_viewer_mac_views.h
|
| @@ -0,0 +1,31 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_BROWSER_UI_COCOA_CERTIFICATE_VIEWER_MAC_VIEWS_H_
|
| +#define CHROME_BROWSER_UI_COCOA_CERTIFICATE_VIEWER_MAC_VIEWS_H_
|
| +
|
| +#include <memory>
|
| +
|
| +#import "chrome/browser/ui/cocoa/certificate_viewer_mac.h"
|
| +
|
| +namespace views {
|
| +class Widget;
|
| +class WidgetDelegateView;
|
| +}
|
| +
|
| +// Certificate viewer class for MacViews which handles displaying and closing
|
| +// the Cocoa certificate viewer.
|
| +@interface SSLCertificateViewerViewsMac : SSLCertificateViewerMac {
|
| + @private
|
| + std::unique_ptr<views::Widget> overlayWindow_;
|
| +}
|
| +
|
| +// Closes the certificate viewer properly.
|
| +- (void)sheetDidEnd:(NSWindow*)parent
|
| + returnCode:(NSInteger)returnCode
|
| + context:(void*)context;
|
| +
|
| +@end
|
| +
|
| +#endif // CHROME_BROWSER_UI_COCOA_CERTIFICATE_VIEWER_MAC_VIEWS_H_
|
|
|