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:
parent
0d91c82102
commit
ac129eb78e
|
@ -137,4 +137,10 @@ const char kFrameworkDirPath[] = "framework-dir-path";
|
||||||
const char kMainBundlePath[] = "main-bundle-path";
|
const char kMainBundlePath[] = "main-bundle-path";
|
||||||
#endif
|
#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
|
} // namespace switches
|
||||||
|
|
|
@ -62,6 +62,10 @@ extern const char kFrameworkDirPath[];
|
||||||
extern const char kMainBundlePath[];
|
extern const char kMainBundlePath[];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !defined(OS_WIN)
|
||||||
|
extern const char kPdfRenderer[];
|
||||||
|
#endif
|
||||||
|
|
||||||
} // namespace switches
|
} // namespace switches
|
||||||
|
|
||||||
#endif // CEF_LIBCEF_COMMON_CEF_SWITCHES_H_
|
#endif // CEF_LIBCEF_COMMON_CEF_SWITCHES_H_
|
||||||
|
|
Loading…
Reference in New Issue