| 
									
										
										
										
											2020-06-02 17:00:20 -07:00
										 |  |  | // Copyright (c) 2020 Slack Technologies, Inc.
 | 
					
						
							|  |  |  | // Use of this source code is governed by the MIT license that can be
 | 
					
						
							|  |  |  | // found in the LICENSE file.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // Copyright (c) 2020 The Chromium Authors. All rights reserved.
 | 
					
						
							|  |  |  | // Use of this source code is governed by a BSD-style license that can be
 | 
					
						
							|  |  |  | // found in the LICENSE file.
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-11-22 08:34:31 +01:00
										 |  |  | #ifndef ELECTRON_SHELL_BROWSER_UI_GTK_STATUS_ICON_H_
 | 
					
						
							|  |  |  | #define ELECTRON_SHELL_BROWSER_UI_GTK_STATUS_ICON_H_
 | 
					
						
							| 
									
										
										
										
											2020-06-02 17:00:20 -07:00
										 |  |  | 
 | 
					
						
							|  |  |  | #include <memory>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #include "base/strings/string_util.h"
 | 
					
						
							|  |  |  | #include "ui/gfx/image/image_skia.h"
 | 
					
						
							|  |  |  | #include "ui/views/linux_ui/status_icon_linux.h"
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | namespace electron { | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | namespace gtkui { | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | bool IsStatusIconSupported(); | 
					
						
							|  |  |  | std::unique_ptr<views::StatusIconLinux> CreateLinuxStatusIcon( | 
					
						
							|  |  |  |     const gfx::ImageSkia& image, | 
					
						
							| 
									
										
										
										
											2021-03-16 12:18:45 -04:00
										 |  |  |     const std::u16string& tool_tip, | 
					
						
							| 
									
										
										
										
											2020-06-02 17:00:20 -07:00
										 |  |  |     const char* id_prefix); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | }  // namespace gtkui
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | }  // namespace electron
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-11-22 08:34:31 +01:00
										 |  |  | #endif  // ELECTRON_SHELL_BROWSER_UI_GTK_STATUS_ICON_H_
 |