mirror of
https://git.freebsd.org/ports.git
synced 2025-05-01 19:16:39 -04:00
Build cross platform desktop apps with JavaScript, HTML, and CSS. It's easier than you think. If you can build a website, you can build a desktop app. Electron is a framework for creating native applications with web technologies like JavaScript, HTML, and CSS. It takes care of the hard parts so you can focus on the core of your application. WWW: https://electronjs.org/
20 lines
916 B
C++
20 lines
916 B
C++
--- chrome/browser/download/download_prefs.h.orig 2025-01-27 17:37:37 UTC
|
|
+++ chrome/browser/download/download_prefs.h
|
|
@@ -107,7 +107,7 @@ class DownloadPrefs {
|
|
void DisableAutoOpenByUserBasedOnExtension(const base::FilePath& file_name);
|
|
|
|
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
|
|
- BUILDFLAG(IS_MAC)
|
|
+ BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
|
|
// Store the user preference to disk. If |should_open| is true, also disable
|
|
// the built-in PDF plugin. If |should_open| is false, enable the PDF plugin.
|
|
void SetShouldOpenPdfInSystemReader(bool should_open);
|
|
@@ -171,7 +171,7 @@ class DownloadPrefs {
|
|
std::unique_ptr<policy::URLBlocklist> auto_open_allowed_by_urls_;
|
|
|
|
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
|
|
- BUILDFLAG(IS_MAC)
|
|
+ BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
|
|
bool should_open_pdf_in_system_reader_;
|
|
#endif
|
|
|