diff options
Diffstat (limited to 'devel/electron19/files/patch-electron_shell_browser_api_electron__api__app.cc')
-rw-r--r-- | devel/electron19/files/patch-electron_shell_browser_api_electron__api__app.cc | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/devel/electron19/files/patch-electron_shell_browser_api_electron__api__app.cc b/devel/electron19/files/patch-electron_shell_browser_api_electron__api__app.cc deleted file mode 100644 index 585f5723ca4b..000000000000 --- a/devel/electron19/files/patch-electron_shell_browser_api_electron__api__app.cc +++ /dev/null @@ -1,47 +0,0 @@ ---- electron/shell/browser/api/electron_api_app.cc.orig 2022-06-08 15:30:58 UTC -+++ electron/shell/browser/api/electron_api_app.cc -@@ -704,7 +704,7 @@ void App::OnWillFinishLaunching() { - } - - void App::OnFinishLaunching(const base::DictionaryValue& launch_info) { --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - // Set the application name for audio streams shown in external - // applications. Only affects pulseaudio currently. - media::AudioManager::SetGlobalAppName(Browser::Get()->GetName()); -@@ -1028,7 +1028,7 @@ void App::SetPath(gin_helper::ErrorThrower thrower, - } - - void App::SetDesktopName(const std::string& desktop_name) { --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - auto env = base::Environment::Create(); - env->SetVar("CHROME_DESKTOP", desktop_name); - #endif -@@ -1401,7 +1401,7 @@ std::vector<gin_helper::Dictionary> App::GetAppMetrics - pid_dict.Set("name", process_metric.second->name); - } - --#if !BUILDFLAG(IS_LINUX) -+#if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_BSD) - auto memory_info = process_metric.second->GetMemoryInfo(); - - gin_helper::Dictionary memory_dict = gin::Dictionary::CreateEmpty(isolate); -@@ -1707,7 +1707,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild - .SetMethod( - "removeAsDefaultProtocolClient", - base::BindRepeating(&Browser::RemoveAsDefaultProtocolClient, browser)) --#if !BUILDFLAG(IS_LINUX) -+#if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_BSD) - .SetMethod( - "getApplicationInfoForProtocol", - base::BindRepeating(&Browser::GetApplicationInfoForProtocol, browser)) -@@ -1764,7 +1764,7 @@ gin::ObjectTemplateBuilder App::GetObjectTemplateBuild - .SetMethod("getJumpListSettings", &App::GetJumpListSettings) - .SetMethod("setJumpList", &App::SetJumpList) - #endif --#if BUILDFLAG(IS_LINUX) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - .SetMethod("isUnityRunning", - base::BindRepeating(&Browser::IsUnityRunning, browser)) - #endif |