Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	cd5007cfa1  
						 
						
							
							
								
								
								linux: Set WM_CLASS for devtools window  
							
							 
							
							
							
						 
						
							2014-11-24 16:04:41 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	172c55d194  
						 
						
							
							
								
								
								linux: Use app's name for WM_CLASS  
							
							 
							
							
							
						 
						
							2014-11-24 15:51:26 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	60bd20872c  
						 
						
							
							
								
								
								linux: Set WM_WINDOW_ROLE correctly  
							
							 
							
							... 
							
							
							
							WM_WINDOW_ROLE is used to specify the "role" of the window, and all
browser windows in atom-shell should have the same role. 
							
						 
						
							2014-11-24 15:23:02 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	1cd3918494  
						 
						
							
							
								
								
								views: Implement menubar APIs  
							
							 
							
							
							
						 
						
							2014-11-12 20:32:14 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	14d01544d4  
						 
						
							
							
								
								
								Tidy code in CreateNonClientFrameView  
							
							 
							
							
							
						 
						
							2014-11-12 14:33:30 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Frank Hale 
								
							 
						 
						
							
							
								
							
							
	e9636bb87b  
						 
						
							
							
								
								
								Fix CPP formatting  
							
							 
							
							
							
						 
						
							2014-11-12 01:11:25 -05:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Frank Hale 
								
							 
						 
						
							
							
								
							
							
	246a145930  
						 
						
							
							
								
								
								Fix merge conflict with native_window_views.cc  
							
							 
							
							
							
						 
						
							2014-11-12 01:04:51 -05:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Frank Hale 
								
							 
						 
						
							
							
								
							
							
	c9371bceec  
						 
						
							
							
								
								
								Force native window  
							
							 
							
							... 
							
							
							
							- Force native frame and suppress the Chromium default blue frame. This
resolves issues with Windows systems that are running in VM's and cannot
enable Aero Glass. Atom-Shell was adding the default Chromium blue frame
even when frame was set to false in the BrowserWindow options. 
							
						 
						
							2014-11-12 00:45:21 -05:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Frank Hale 
								
							 
						 
						
							
							
								
							
							
	e0dae4054a  
						 
						
							
							
								
								
								Fix code style to be <= 80 lines  
							
							 
							
							
							
						 
						
							2014-11-11 13:09:54 -05:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Frank Hale 
								
							 
						 
						
							
							
								
							
							
	24f8c51959  
						 
						
							
							
								
								
								Make sure frame is frameless  
							
							 
							
							
							
						 
						
							2014-11-07 13:34:52 -05:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Frank Hale 
								
							 
						 
						
							
							
								
							
							
	4b20ac3dc6  
						 
						
							
							
								
								
								Fix Windows min/max animation on frameless windows  
							
							 
							
							... 
							
							
							
							- Frameless windows disappeared or appears when minimized and maximized
on Windows. This commit fixes that. 
							
						 
						
							2014-11-07 13:13:12 -05:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	edcae49e52  
						 
						
							
							
								
								
								views: Fix showing menu bar when pressing Alt for a long time  
							
							 
							
							
							
						 
						
							2014-11-07 15:20:16 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	81283db2da  
						 
						
							
							
								
								
								views: Make auto-hide-menu-bar work when NumLock is on,  fixes   #796  
							
							 
							
							
							
						 
						
							2014-11-07 15:05:55 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Kevin Sawicki 
								
							 
						 
						
							
							
								
							
							
	b6b6fc3bfd  
						 
						
							
							
								
								
								Remove All Rights Reserved after GitHub copyright  
							
							 
							
							... 
							
							
							
							Closes  #762  
							
						 
						
							2014-10-31 11:17:05 -07:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	f82de6528b  
						 
						
							
							
								
								
								linux: Fix detect global menu bar  
							
							 
							
							... 
							
							
							
							It seems that detecting the bus name "com.canonical.AppMenu.Registrar"
is the most reliable way to detect whether the appmenu is available, see
http://git.io/JmP7Yg  for the discussion. 
							
						 
						
							2014-10-21 12:10:31 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	141894aacd  
						 
						
							
							
								
								
								Implement BrowserWindow::ShowInactive  
							
							 
							
							
							
						 
						
							2014-10-17 22:51:20 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	85afa851dd  
						 
						
							
							
								
								
								win: Fix toggling the menubar,  closes   #681  
							
							 
							
							
							
						 
						
							2014-10-17 16:43:57 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	ae76657e17  
						 
						
							
							
								
								
								Still requires unity for global app menubar  
							
							 
							
							... 
							
							
							
							Fixes  #709  and atom/atom#3854 . 
							
						 
						
							2014-10-17 16:06:45 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Matthieu Baerts 
								
							 
						 
						
							
							
								
							
							
	940b40439f  
						 
						
							
							
								
								
								linux: GlobalMenu: UBUNTU_MENUPROXY with >1 char  
							
							 
							
							... 
							
							
							
							When testing if $UBUNTU_MENUPROXY is set, we should also check if it
contains more than one character. Avoid cases when $UBUNTU_MENUPROXY is
set to 0 or 1. 
							
						 
						
							2014-10-15 14:17:18 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	51acba594b  
						 
						
							
							
								
								
								Merge pull request  #698  from matttbe/master  
							
							 
							
							... 
							
							
							
							linux: Rename window's class to Atom 
							
						 
						
							2014-10-14 18:58:37 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Matthieu Baerts 
								
							 
						 
						
							
							
								
							
							
	7cd4d35778  
						 
						
							
							
								
								
								linux: GlobalMenu: only if UBUNTU_MENUPROXY is set  
							
							 
							
							... 
							
							
							
							When checking if we should react differently when GlobalMenu bar is
used, we should check if UBUNTU_MENUPROXY env var is (correctly) set
instead of checking if we're using Unity on a Unity session.
It's better to do that because we can use Compiz on a Unity session
without Unity. Or we can also use Unity in a different session. 
							
						 
						
							2014-10-12 21:16:32 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Matthieu Baerts 
								
							 
						 
						
							
							
								
							
							
	8296178e33  
						 
						
							
							
								
								
								linux: Rename window's class to Atom  
							
							 
							
							... 
							
							
							
							The window's class should be Atom instead of Atom Shell because the
launcher and the binary to launch Atom are called 'atom' and not 'atom
shell'. This is why currently all Atom's windows will not be linked to
their launcher in a dock (e.g. with Cairo-Dock).
Note that it's not advised to add white-spaces in a window's class
('Atom Shell'). 
							
						 
						
							2014-10-12 18:47:49 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Alexander Neu 
								
							 
						 
						
							
							
								
							
							
	6c9769999b  
						 
						
							
							
								
								
								win: Fix total value in SetProgressBar API.  
							
							 
							
							
							
						 
						
							2014-09-29 12:50:51 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Haojian Wu 
								
							 
						 
						
							
							
								
							
							
	d9ce3f0ca3  
						 
						
							
							
								
								
								linux: Implement SetProgressBar API.  
							
							 
							
							
							
						 
						
							2014-09-18 19:26:52 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Haojian Wu 
								
							 
						 
						
							
							
								
							
							
	d8f57a0ecc  
						 
						
							
							
								
								
								Correct code style.  
							
							 
							
							
							
						 
						
							2014-09-18 16:48:00 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Haojian Wu 
								
							 
						 
						
							
							
								
							
							
	b5e82dac6f  
						 
						
							
							
								
								
								win: Implement SetProgressBar API.  
							
							 
							
							
							
						 
						
							2014-09-17 09:42:47 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	bda317b000  
						 
						
							
							
								
								
								views: Set devtools window's icon,  fixes   #429 .  
							
							 
							
							
							
						 
						
							2014-09-09 15:30:33 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	1199224086  
						 
						
							
							
								
								
								BrowserWindow.show() should not focus window,  fixes   #609 .  
							
							 
							
							
							
						 
						
							2014-09-08 15:28:34 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	9546120ce4  
						 
						
							
							
								
								
								linux: Fix API changes of Chrome 37.  
							
							 
							
							
							
						 
						
							2014-09-01 20:10:14 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	400d5cef3f  
						 
						
							
							
								
								
								linux: Fix BrowserWindow.setResizable.  
							
							 
							
							
							
						 
						
							2014-08-26 13:37:37 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	af531d685e  
						 
						
							
							
								
								
								linux: Make BrowserWindow.setSkipTaskbar work dynamically.  
							
							 
							
							
							
						 
						
							2014-08-26 12:15:22 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	eb5f1f78bf  
						 
						
							
							
								
								
								linux: Set WM_CLASS and WM_WINDOW_ROLE for window,  fixes   #605 .  
							
							 
							
							
							
						 
						
							2014-08-26 10:34:48 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	058d0bbe19  
						 
						
							
							
								
								
								linux: Add "dark-theme" option for BrowserWindow,  fixes   #352 .  
							
							 
							
							
							
						 
						
							2014-08-21 12:25:43 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	29abba824d  
						 
						
							
							
								
								
								A little cleanup.  
							
							 
							
							
							
						 
						
							2014-08-18 16:19:23 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	a230daa998  
						 
						
							
							
								
								
								views: Pressing "Alt+Key" should bring up the menu bar.  
							
							 
							
							
							
						 
						
							2014-08-18 14:52:44 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	ba41634ad6  
						 
						
							
							
								
								
								views: Show menubar's submenu when "Alt+Key" is pressed.  
							
							 
							
							
							
						 
						
							2014-08-18 14:42:21 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	e9536508a5  
						 
						
							
							
								
								
								views: Show menubar's accelerator when "Alt" is pressed.  
							
							 
							
							
							
						 
						
							2014-08-18 14:12:12 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	cbd6541e9a  
						 
						
							
							
								
								
								views: Fix compilation error.  
							
							 
							
							
							
						 
						
							2014-08-17 12:57:22 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	2a9f5a5fb8  
						 
						
							
							
								
								
								Add "enable-larger-than-screen" option for BrowserWindow.  
							
							 
							
							... 
							
							
							
							From now on BrowserWindow can only be resized larger than screen or
moved out of screen when this option is set to "true".
Fixes  #582 . 
							
						 
						
							2014-08-17 12:23:00 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	a8ca0329b4  
						 
						
							
							
								
								
								win: Show minimize button for unresizable window,  fixes   #411 .  
							
							 
							
							
							
						 
						
							2014-08-12 22:58:19 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	d1a93a5135  
						 
						
							
							
								
								
								views: Set a default maximum window size.  
							
							 
							
							... 
							
							
							
							It is required to make the window able to be resized larger than the
screen. 
							
						 
						
							2014-08-11 20:36:53 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	445fe158cc  
						 
						
							
							
								
								
								Store window icon as ImageSkia.  
							
							 
							
							
							
						 
						
							2014-08-11 10:06:46 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	c4b0170a0a  
						 
						
							
							
								
								
								views: Only toggle menu bar when auto-hide-menu-bar is turned on.  
							
							 
							
							
							
						 
						
							2014-08-08 14:30:43 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	8cc49ffa80  
						 
						
							
							
								
								
								menu_bar_show_ => menu_bar_visible_  
							
							 
							
							
							
						 
						
							2014-08-07 16:48:30 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	58a09f6495  
						 
						
							
							
								
								
								linux: Fix detecting Alt modifier.  
							
							 
							
							
							
						 
						
							2014-08-07 16:46:50 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	c2885f77c9  
						 
						
							
							
								
								
								views: Focus on web view when window is focused.  
							
							 
							
							
							
						 
						
							2014-08-07 16:46:48 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	5d5a3138bc  
						 
						
							
							
								
								
								views: Toggle the menu bar only when a single Alt is released.  
							
							 
							
							
							
						 
						
							2014-08-07 15:54:05 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	09f9d0729c  
						 
						
							
							
								
								
								views: Show menu when "Alt" is up.  
							
							 
							
							
							
						 
						
							2014-08-07 15:07:34 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	3d989b6736  
						 
						
							
							
								
								
								win: Fix the key code of Alt.  
							
							 
							
							
							
						 
						
							2014-08-07 15:02:27 +08:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Cheng Zhao 
								
							 
						 
						
							
							
								
							
							
	daa00e6539  
						 
						
							
							
								
								
								views: Add some asserts and comments.  
							
							 
							
							
							
						 
						
							2014-08-07 14:48:02 +08:00