ports/devel/electron29/files/patch-electron_shell_browser_browser.h
Hiroki Tagato 5113fb8205 devel/electron29: update to 29.4.3
Changelog: https://github.com/electron/electron/releases/tag/v29.4.3

Reported by:	GitHub (watch releases)
Security:	0e73964d-053a-481a-bf1c-202948d68484
2024-06-29 16:10:04 +09:00

24 lines
961 B
C++

--- electron/shell/browser/browser.h.orig 2024-06-27 17:50:20 UTC
+++ electron/shell/browser/browser.h
@@ -102,7 +102,7 @@ class Browser : public WindowListObserver {
std::u16string GetApplicationNameForProtocol(const GURL& url);
-#if !BUILDFLAG(IS_LINUX)
+#if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_BSD)
// get the name, icon and path for an application
v8::Local<v8::Promise> GetApplicationInfoForProtocol(v8::Isolate* isolate,
const GURL& url);
@@ -272,10 +272,10 @@ class Browser : public WindowListObserver {
PCWSTR GetAppUserModelID();
#endif // BUILDFLAG(IS_WIN)
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// Whether Unity launcher is running.
bool IsUnityRunning();
-#endif // BUILDFLAG(IS_LINUX)
+#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// Tell the application to open a file.
bool OpenFile(const std::string& file_path);