chore: bump chromium to 123.0.6312.5 (main) (#41337)
* chore: bump chromium in DEPS to 123.0.6300.2 * chore: bump chromium in DEPS to 123.0.6301.2 * chore: update patches * chore: bump chromium in DEPS to 123.0.6302.0 * chore: bump chromium in DEPS to 123.0.6304.0 * chore: update patches * chore: bump chromium in DEPS to 123.0.6306.2 * chore: update patches * chore: bump chromium in DEPS to 123.0.6308.0 * chore: update patches * Refactor //components/pdf/common constants5292816
* Rename URLLoaderFactoryParams::is_corb_enabled to is_orb_enabled. Refs5277040
* Add placeholder of speaker-selection permission. Refs5278243
* Move kPdfMimeType to //components/pdf/common/constants.h Refs5293155
* chore: gen-libc++-filenames.js * Make GetClassName non virtual Refs5293075
Refs https://issues.chromium.org/issues/324596267 * chore: bump chromium in DEPS to 123.0.6310.0 * chore: update filenames.libcxx.gni * 5282732: Compute input region using correct pixel size.5282732
* fixup: Make GetClassName non virtual * chore: bump chromium in DEPS to 123.0.6312.0 * chore: update patches * chore: bump chromium in DEPS to 123.0.6312.5 * fixup: Make GetClassName non virtual * docs: document speaker-selection5278243
--------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: deepak1556 <hop2deep@gmail.com> Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com> Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
This commit is contained in:
parent
f350cce64f
commit
e72f4f7f26
73 changed files with 257 additions and 262 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
#if BUILDFLAG(ENABLE_PDF_VIEWER)
|
||||
#include "base/strings/utf_string_conversions.h"
|
||||
#include "chrome/common/pdf_util.h"
|
||||
#include "components/pdf/common/constants.h"
|
||||
#include "extensions/common/constants.h"
|
||||
#include "shell/common/electron_constants.h"
|
||||
#endif // BUILDFLAG(ENABLE_PDF_VIEWER)
|
||||
|
@ -31,7 +31,8 @@ content::WebPluginInfo GetPDFPluginInfo() {
|
|||
// This isn't a real file path; it's just used as a unique identifier.
|
||||
info.path = base::FilePath::FromUTF8Unsafe(extension_misc::kPdfExtensionId);
|
||||
info.background_color = content::WebPluginInfo::kDefaultBackgroundColor;
|
||||
info.mime_types.emplace_back(kPDFMimeType, "pdf", "Portable Document Format");
|
||||
info.mime_types.emplace_back(pdf::kPDFMimeType, "pdf",
|
||||
"Portable Document Format");
|
||||
return info;
|
||||
}
|
||||
#endif // BUILDFLAG(ENABLE_PDF_VIEWER)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue