diff --git a/libcef/common/cef_switches.cc b/libcef/common/cef_switches.cc index bb47e4622..20f9e7d6b 100644 --- a/libcef/common/cef_switches.cc +++ b/libcef/common/cef_switches.cc @@ -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 diff --git a/libcef/common/cef_switches.h b/libcef/common/cef_switches.h index ff8f96a0b..19bac38f9 100644 --- a/libcef/common/cef_switches.h +++ b/libcef/common/cef_switches.h @@ -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_