7936237677
* build: enable gn check for //electron:electron_lib * ci: add gn check step * ci: set depot_tools path * chrome_key_systems_provider.h nogncheck * chore: fix gn check errors on windows * chore: gn check //electron:electron_app
27 lines
721 B
Objective-C
27 lines
721 B
Objective-C
// Copyright (c) 2018 GitHub, Inc.
|
|
// Use of this source code is governed by the MIT license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#ifndef ATOM_BROWSER_UI_COCOA_ATOM_NS_WINDOW_DELEGATE_H_
|
|
#define ATOM_BROWSER_UI_COCOA_ATOM_NS_WINDOW_DELEGATE_H_
|
|
|
|
#include <Quartz/Quartz.h>
|
|
|
|
#include "ui/views_bridge_mac/views_nswindow_delegate.h" // nogncheck
|
|
|
|
namespace atom {
|
|
class NativeWindowMac;
|
|
}
|
|
|
|
@interface AtomNSWindowDelegate
|
|
: ViewsNSWindowDelegate <NSTouchBarDelegate, QLPreviewPanelDataSource> {
|
|
@private
|
|
atom::NativeWindowMac* shell_;
|
|
bool is_zooming_;
|
|
int level_;
|
|
bool is_resizable_;
|
|
}
|
|
- (id)initWithShell:(atom::NativeWindowMac*)shell;
|
|
@end
|
|
|
|
#endif // ATOM_BROWSER_UI_COCOA_ATOM_NS_WINDOW_DELEGATE_H_
|