mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Use the same PDF plugin name as official Chrome
This commit is contained in:
@@ -26,7 +26,10 @@ const char kPdfResourceIdentifier[] = "google-chrome-pdf";
|
||||
const char kPdfResourceIdentifier[] = "chromium-pdf";
|
||||
#endif
|
||||
|
||||
const char kPdfPluginName[] = "Chromium PDF Viewer";
|
||||
// Match the GOOGLE_CHROME_BUILD value from ChromeContentClient::kPDFPluginName
|
||||
// to avoid breaking Websites that specifically look for this string in the
|
||||
// plugin list.
|
||||
const char kPdfPluginName[] = "Chrome PDF Viewer";
|
||||
|
||||
std::string GetManifest() {
|
||||
std::string manifest_contents =
|
||||
|
Reference in New Issue
Block a user