chore: bump chromium to 121.0.6104.0 (main) (#40418)
* chore: bump chromium in DEPS to 121.0.6101.0 * chore: update patches * Explictly use python3 to check patch diff * chore: bump chromium in DEPS to 121.0.6102.0 * chore: update patches * 4995136: [extensions] Enable Extension Mojo messaging4995136
* Bind the components interfaces to a RenderFrame4985961
Also: 3986427: Create RendererHost mojom interface for Extensions |3986427
* 4997024: Enum modernisation for resources_private.idl4997024
* 4997025: Enum modernisation for scripting.idl4997025
* chore: bump chromium in DEPS to 121.0.6103.0 * chore: update patches * chore: bump chromium in DEPS to 121.0.6104.0 * chore: update patches --------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org> Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
This commit is contained in:
parent
5b18d90597
commit
ee108903a0
50 changed files with 203 additions and 181 deletions
|
@ -65,11 +65,11 @@ mojom::CSSOrigin ConvertStyleOriginToCSSOrigin(
|
|||
api::scripting::StyleOrigin style_origin) {
|
||||
mojom::CSSOrigin css_origin = mojom::CSSOrigin::kAuthor;
|
||||
switch (style_origin) {
|
||||
case api::scripting::STYLE_ORIGIN_NONE:
|
||||
case api::scripting::STYLE_ORIGIN_AUTHOR:
|
||||
case api::scripting::StyleOrigin::kNone:
|
||||
case api::scripting::StyleOrigin::kAuthor:
|
||||
css_origin = mojom::CSSOrigin::kAuthor;
|
||||
break;
|
||||
case api::scripting::STYLE_ORIGIN_USER:
|
||||
case api::scripting::StyleOrigin::kUser:
|
||||
css_origin = mojom::CSSOrigin::kUser;
|
||||
break;
|
||||
}
|
||||
|
@ -81,10 +81,10 @@ mojom::ExecutionWorld ConvertExecutionWorld(
|
|||
api::scripting::ExecutionWorld world) {
|
||||
mojom::ExecutionWorld execution_world = mojom::ExecutionWorld::kIsolated;
|
||||
switch (world) {
|
||||
case api::scripting::EXECUTION_WORLD_NONE:
|
||||
case api::scripting::EXECUTION_WORLD_ISOLATED:
|
||||
case api::scripting::ExecutionWorld::kNone:
|
||||
case api::scripting::ExecutionWorld::kIsolated:
|
||||
break; // Default to mojom::ExecutionWorld::kIsolated.
|
||||
case api::scripting::EXECUTION_WORLD_MAIN:
|
||||
case api::scripting::ExecutionWorld::kMain:
|
||||
execution_world = mojom::ExecutionWorld::kMain;
|
||||
}
|
||||
|
||||
|
@ -95,15 +95,15 @@ api::scripting::ExecutionWorld ConvertExecutionWorldForAPI(
|
|||
mojom::ExecutionWorld world) {
|
||||
switch (world) {
|
||||
case mojom::ExecutionWorld::kIsolated:
|
||||
return api::scripting::EXECUTION_WORLD_ISOLATED;
|
||||
return api::scripting::ExecutionWorld::kIsolated;
|
||||
case mojom::ExecutionWorld::kMain:
|
||||
return api::scripting::EXECUTION_WORLD_MAIN;
|
||||
return api::scripting::ExecutionWorld::kMain;
|
||||
case mojom::ExecutionWorld::kUserScript:
|
||||
NOTREACHED() << "UserScript worlds are not supported in this API.";
|
||||
}
|
||||
|
||||
NOTREACHED();
|
||||
return api::scripting::EXECUTION_WORLD_ISOLATED;
|
||||
return api::scripting::ExecutionWorld::kIsolated;
|
||||
}
|
||||
|
||||
std::string InjectionKeyForCode(const mojom::HostID& host_id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue