Move QLPreviewPanelDataSource to AtomNSWindowDelegate
This commit is contained in:
parent
f6a7e5ea23
commit
569967ac21
8 changed files with 80 additions and 59 deletions
|
@ -5,6 +5,8 @@
|
|||
#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/cocoa/views_nswindow_delegate.h"
|
||||
|
||||
namespace atom {
|
||||
|
@ -12,7 +14,8 @@ class NativeWindowMac;
|
|||
}
|
||||
|
||||
@interface AtomNSWindowDelegate : NSObject<NSWindowDelegate,
|
||||
NSTouchBarDelegate> {
|
||||
NSTouchBarDelegate,
|
||||
QLPreviewPanelDataSource> {
|
||||
@private
|
||||
atom::NativeWindowMac* shell_;
|
||||
bool is_zooming_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue