Use views to implement NativeWindow and MessageBox on Linux.
This commit is contained in:
		
					parent
					
						
							
								1965a5ee50
							
						
					
				
			
			
				commit
				
					
						61db17412c
					
				
			
		
					 22 changed files with 384 additions and 1777 deletions
				
			
		| 
						 | 
				
			
			@ -246,7 +246,7 @@ void Menu::BuildPrototype(v8::Isolate* isolate,
 | 
			
		|||
      .SetMethod("isItemCheckedAt", &Menu::IsItemCheckedAt)
 | 
			
		||||
      .SetMethod("isEnabledAt", &Menu::IsEnabledAt)
 | 
			
		||||
      .SetMethod("isVisibleAt", &Menu::IsVisibleAt)
 | 
			
		||||
#if defined(OS_WIN) || defined(TOOLKIT_GTK)
 | 
			
		||||
#if defined(OS_WIN) || defined(OS_LINUX)
 | 
			
		||||
      .SetMethod("_attachToWindow", &Menu::AttachToWindow)
 | 
			
		||||
#endif
 | 
			
		||||
#if defined(OS_WIN)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,7 +4,6 @@
 | 
			
		|||
 | 
			
		||||
#include "atom/browser/api/atom_api_menu_gtk.h"
 | 
			
		||||
 | 
			
		||||
#include "atom/browser/native_window_gtk.h"
 | 
			
		||||
#include "content/public/browser/render_widget_host_view.h"
 | 
			
		||||
#include "ui/gfx/point.h"
 | 
			
		||||
#include "ui/gfx/screen.h"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue