mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Add kPdfRenderer define for non-Windows platforms (see issue #3047)
This switch is currently only defined for Windows in content/public/common/content_switches.h.
This commit is contained in:
@@ -137,4 +137,10 @@ const char kFrameworkDirPath[] = "framework-dir-path";
|
||||
const char kMainBundlePath[] = "main-bundle-path";
|
||||
#endif
|
||||
|
||||
#if !defined(OS_WIN)
|
||||
// Renderer process that runs the non-PPAPI PDF plugin.
|
||||
// This is defined in content/public/common/content_switches.h for Windows.
|
||||
const char kPdfRenderer[] = "pdf-renderer";
|
||||
#endif
|
||||
|
||||
} // namespace switches
|
||||
|
@@ -62,6 +62,10 @@ extern const char kFrameworkDirPath[];
|
||||
extern const char kMainBundlePath[];
|
||||
#endif
|
||||
|
||||
#if !defined(OS_WIN)
|
||||
extern const char kPdfRenderer[];
|
||||
#endif
|
||||
|
||||
} // namespace switches
|
||||
|
||||
#endif // CEF_LIBCEF_COMMON_CEF_SWITCHES_H_
|
||||
|
Reference in New Issue
Block a user