fix: add support for --ozone-platform-hint flag on Linux (#34937)

This commit is contained in:
Valentin Hăloiu 2022-07-21 11:37:54 +03:00 committed by GitHub
parent 9f0e7126c4
commit 67eda4bcc8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 140 additions and 0 deletions

View file

@ -122,6 +122,10 @@ class ElectronBrowserMainParts : public content::BrowserMainParts {
const scoped_refptr<base::SingleThreadTaskRunner>& task_runner);
#endif
#if BUILDFLAG(IS_LINUX)
void DetectOzonePlatform();
#endif
#if BUILDFLAG(IS_MAC)
void FreeAppDelegate();
void RegisterURLHandler();