2018-04-19 07:01:19 +00:00
|
|
|
// Copyright (c) 2018 GitHub, Inc.
|
|
|
|
// Use of this source code is governed by the MIT license that can be
|
|
|
|
// found in the LICENSE file.
|
|
|
|
|
2019-06-19 20:56:58 +00:00
|
|
|
#ifndef SHELL_BROWSER_UI_COCOA_ATOM_NS_WINDOW_DELEGATE_H_
|
|
|
|
#define SHELL_BROWSER_UI_COCOA_ATOM_NS_WINDOW_DELEGATE_H_
|
2018-04-19 07:01:19 +00:00
|
|
|
|
2018-04-19 07:41:36 +00:00
|
|
|
#include <Quartz/Quartz.h>
|
|
|
|
|
2019-05-15 22:04:23 +00:00
|
|
|
#include "components/remote_cocoa/app_shim/views_nswindow_delegate.h"
|
2018-04-19 07:01:19 +00:00
|
|
|
|
|
|
|
namespace atom {
|
|
|
|
class NativeWindowMac;
|
|
|
|
}
|
|
|
|
|
2018-09-19 11:10:26 +00:00
|
|
|
@interface AtomNSWindowDelegate
|
|
|
|
: ViewsNSWindowDelegate <NSTouchBarDelegate, QLPreviewPanelDataSource> {
|
2018-04-19 07:01:19 +00:00
|
|
|
@private
|
|
|
|
atom::NativeWindowMac* shell_;
|
|
|
|
bool is_zooming_;
|
|
|
|
int level_;
|
|
|
|
bool is_resizable_;
|
|
|
|
}
|
|
|
|
- (id)initWithShell:(atom::NativeWindowMac*)shell;
|
|
|
|
@end
|
|
|
|
|
2019-06-19 20:56:58 +00:00
|
|
|
#endif // SHELL_BROWSER_UI_COCOA_ATOM_NS_WINDOW_DELEGATE_H_
|