| 
									
										
										
										
											2018-04-19 16:01:19 +09: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.
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-02-04 12:19:40 -08:00
										 |  |  | #ifndef SHELL_BROWSER_UI_COCOA_ELECTRON_NS_WINDOW_DELEGATE_H_
 | 
					
						
							|  |  |  | #define SHELL_BROWSER_UI_COCOA_ELECTRON_NS_WINDOW_DELEGATE_H_
 | 
					
						
							| 
									
										
										
										
											2018-04-19 16:01:19 +09:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-04-19 16:41:36 +09:00
										 |  |  | #include <Quartz/Quartz.h>
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-05-15 15:04:23 -07:00
										 |  |  | #include "components/remote_cocoa/app_shim/views_nswindow_delegate.h"
 | 
					
						
							| 
									
										
										
										
											2018-04-19 16:01:19 +09:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-06-19 14:23:04 -07:00
										 |  |  | namespace electron { | 
					
						
							| 
									
										
										
										
											2018-04-19 16:01:19 +09:00
										 |  |  | class NativeWindowMac; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-02-04 12:19:40 -08:00
										 |  |  | @interface ElectronNSWindowDelegate | 
					
						
							| 
									
										
										
										
											2018-09-19 13:10:26 +02:00
										 |  |  |     : ViewsNSWindowDelegate <NSTouchBarDelegate, QLPreviewPanelDataSource> { | 
					
						
							| 
									
										
										
										
											2018-04-19 16:01:19 +09:00
										 |  |  |  @private | 
					
						
							| 
									
										
										
										
											2019-06-19 14:23:04 -07:00
										 |  |  |   electron::NativeWindowMac* shell_; | 
					
						
							| 
									
										
										
										
											2018-04-19 16:01:19 +09:00
										 |  |  |   bool is_zooming_; | 
					
						
							|  |  |  |   int level_; | 
					
						
							|  |  |  |   bool is_resizable_; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2019-06-19 14:23:04 -07:00
										 |  |  | - (id)initWithShell:(electron::NativeWindowMac*)shell; | 
					
						
							| 
									
										
										
										
											2018-04-19 16:01:19 +09:00
										 |  |  | @end | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-02-04 12:19:40 -08:00
										 |  |  | #endif  // SHELL_BROWSER_UI_COCOA_ELECTRON_NS_WINDOW_DELEGATE_H_
 |