chore: bump chromium to 120.0.6099.0 (main) (#40316)
* chore: bump chromium in DEPS to 120.0.6086.0 * chore: update patches * chore: rename FrameSubscriber::OnNewCropVersion() Xref:4905819
just a simple renaming * chore: rename ToJsTime() to .InMillisecondsFSinceUnixEpoch() Xref:4956111
function renamed upstream * chore: rename ToDoubleT() to .InSecondsFSinceUnixEpoch() Xref:4956111
function renamed upstream * chore: rename FromDoubleT() to .FromSecondsSinceUnixEpoch() Xref:4956111
function renamed upstream * chore: bump chromium in DEPS to 120.0.6088.2 * chore: update patches * chore: regen filenames.libcxx.gni * chore: migrate from (removed upstream) inputFormType to formControlType * chore: bump chromium in DEPS to 120.0.6089.0 * chore: update allow_disabling_blink_scheduler_throttling_per_renderview.patch Xref:4828507
manually sync to upstream changes + reduce diff size * chore: update patches * chore: bump chromium in DEPS to 120.0.6090.0 * chore: update fix_disabling_background_throttling_in_compositor.patch no manual changes; patch applied with fuzz 2 (4 lines) Xref:4944206
* chore: update fix_handle_no_top_level_aura_window_in_webcontentsimpl.patch Xref:4946653
do not patch WebContentsImpl::SetWindowShowState() any longer because it has been removed * chore: update patches * chore: bump chromium in DEPS to 120.0.6091.0 * chore: update patches * chore: bump chromium in DEPS to 120.0.6093.0 * chore: bump chromium in DEPS to 120.0.6095.0 * chore: bump chromium in DEPS to 120.0.6096.0 * chore: bump chromium in DEPS to 120.0.6097.0 * chore: update patches * chore: update patch after rebase * 4961495: [document pip] Focus the window when opened manually4961495
* [Extensions UserScripts] Store extensions with user scripts in tracker |4950530
* chore: bump chromium in DEPS to 120.0.6099.0 * chore: update patches * chore: update filenames.libcxx.gni * chore: remove trailing space --------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com> Co-authored-by: Charles Kerr <charles@charleskerr.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
This commit is contained in:
parent
83892ab995
commit
bc1ba1fe9d
87 changed files with 611 additions and 424 deletions
|
@ -460,19 +460,111 @@ v8::Local<v8::Value> Converter<blink::mojom::ContextMenuDataMediaType>::ToV8(
|
|||
|
||||
// static
|
||||
v8::Local<v8::Value>
|
||||
Converter<blink::mojom::ContextMenuDataInputFieldType>::ToV8(
|
||||
Converter<absl::optional<blink::mojom::FormControlType>>::ToV8(
|
||||
v8::Isolate* isolate,
|
||||
const blink::mojom::ContextMenuDataInputFieldType& in) {
|
||||
switch (in) {
|
||||
case blink::mojom::ContextMenuDataInputFieldType::kPlainText:
|
||||
return StringToV8(isolate, "plainText");
|
||||
case blink::mojom::ContextMenuDataInputFieldType::kPassword:
|
||||
return StringToV8(isolate, "password");
|
||||
case blink::mojom::ContextMenuDataInputFieldType::kOther:
|
||||
return StringToV8(isolate, "other");
|
||||
default:
|
||||
return StringToV8(isolate, "none");
|
||||
const absl::optional<blink::mojom::FormControlType>& in) {
|
||||
base::StringPiece str{"none"};
|
||||
if (in.has_value()) {
|
||||
switch (*in) {
|
||||
case blink::mojom::FormControlType::kButtonButton:
|
||||
str = "button-button";
|
||||
break;
|
||||
case blink::mojom::FormControlType::kButtonReset:
|
||||
str = "reset-button";
|
||||
break;
|
||||
case blink::mojom::FormControlType::kButtonSelectList:
|
||||
str = "select-list";
|
||||
break;
|
||||
case blink::mojom::FormControlType::kButtonSubmit:
|
||||
str = "submit-button";
|
||||
break;
|
||||
case blink::mojom::FormControlType::kFieldset:
|
||||
str = "field-set";
|
||||
break;
|
||||
case blink::mojom::FormControlType::kInputButton:
|
||||
str = "input-button";
|
||||
break;
|
||||
case blink::mojom::FormControlType::kInputCheckbox:
|
||||
str = "input-checkbox";
|
||||
break;
|
||||
case blink::mojom::FormControlType::kInputColor:
|
||||
str = "input-color";
|
||||
break;
|
||||
case blink::mojom::FormControlType::kInputDate:
|
||||
str = "input-date";
|
||||
break;
|
||||
case blink::mojom::FormControlType::kInputDatetimeLocal:
|
||||
str = "input-datetime-local";
|
||||
break;
|
||||
case blink::mojom::FormControlType::kInputEmail:
|
||||
str = "input-email";
|
||||
break;
|
||||
case blink::mojom::FormControlType::kInputFile:
|
||||
str = "input-file";
|
||||
break;
|
||||
case blink::mojom::FormControlType::kInputHidden:
|
||||
str = "input-hidden";
|
||||
break;
|
||||
case blink::mojom::FormControlType::kInputImage:
|
||||
str = "input-image";
|
||||
break;
|
||||
case blink::mojom::FormControlType::kInputMonth:
|
||||
str = "input-month";
|
||||
break;
|
||||
case blink::mojom::FormControlType::kInputNumber:
|
||||
str = "input-number";
|
||||
break;
|
||||
case blink::mojom::FormControlType::kInputPassword:
|
||||
str = "input-password";
|
||||
break;
|
||||
case blink::mojom::FormControlType::kInputRadio:
|
||||
str = "input-radio";
|
||||
break;
|
||||
case blink::mojom::FormControlType::kInputRange:
|
||||
str = "input-range";
|
||||
break;
|
||||
case blink::mojom::FormControlType::kInputReset:
|
||||
str = "input-reset";
|
||||
break;
|
||||
case blink::mojom::FormControlType::kInputSearch:
|
||||
str = "input-search";
|
||||
break;
|
||||
case blink::mojom::FormControlType::kInputSubmit:
|
||||
str = "input-submit";
|
||||
break;
|
||||
case blink::mojom::FormControlType::kInputTelephone:
|
||||
str = "input-telephone";
|
||||
break;
|
||||
case blink::mojom::FormControlType::kInputText:
|
||||
str = "input-text";
|
||||
break;
|
||||
case blink::mojom::FormControlType::kInputTime:
|
||||
str = "input-time";
|
||||
break;
|
||||
case blink::mojom::FormControlType::kInputUrl:
|
||||
str = "input-url";
|
||||
break;
|
||||
case blink::mojom::FormControlType::kInputWeek:
|
||||
str = "input-week";
|
||||
break;
|
||||
case blink::mojom::FormControlType::kOutput:
|
||||
str = "output";
|
||||
break;
|
||||
case blink::mojom::FormControlType::kSelectList:
|
||||
str = "select-list";
|
||||
break;
|
||||
case blink::mojom::FormControlType::kSelectMultiple:
|
||||
str = "select-multiple";
|
||||
break;
|
||||
case blink::mojom::FormControlType::kSelectOne:
|
||||
str = "select-one";
|
||||
break;
|
||||
case blink::mojom::FormControlType::kTextArea:
|
||||
str = "text-area";
|
||||
break;
|
||||
}
|
||||
}
|
||||
return StringToV8(isolate, str);
|
||||
}
|
||||
|
||||
v8::Local<v8::Value> EditFlagsToV8(v8::Isolate* isolate, int editFlags) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue