chore: bump chromium to 118.0.5991.0 (main) (#39714)
* chore: bump chromium in DEPS to 118.0.5982.0 * chore: bump chromium in DEPS to 118.0.5983.0 * chore: bump chromium in DEPS to 118.0.5985.0 * chore: bump chromium in DEPS to 118.0.5987.0 * chore: update v8 patches * chore: update chromium patches * chore: update patches * [PEPC] Add new structs to contain permission request data Refs4756727
* Add ThumbnailCapturer interface Refs4812256
* Reland "[ChromeRefresh2023] Update document pip windows for Chrome Refresh" Refs4814275
* chore: bump chromium in DEPS to 118.0.5989.0 * chore: bump chromium in DEPS to 118.0.5991.0 * chore: update patches --------- 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>
This commit is contained in:
parent
c96bb9958f
commit
d9ba26273a
61 changed files with 367 additions and 315 deletions
|
@ -15,7 +15,7 @@ short-circuit all the permissions checks in MSDC for now to allow us to
|
|||
unduplicate this code.
|
||||
|
||||
diff --git a/components/webrtc/media_stream_devices_controller.cc b/components/webrtc/media_stream_devices_controller.cc
|
||||
index efbea8c15b096344b0cc65cc337a9cdbd727cb55..ca31bba7fc6daf68e6862554a70032dfdc8285b5 100644
|
||||
index be66cc8226fa719645701d5cf708ae91c2bf823d..6cf82318db3cc74b2387cb76583284df5ddaed4a 100644
|
||||
--- a/components/webrtc/media_stream_devices_controller.cc
|
||||
+++ b/components/webrtc/media_stream_devices_controller.cc
|
||||
@@ -57,7 +57,8 @@ bool PermissionIsRequested(blink::PermissionType permission,
|
||||
|
@ -36,7 +36,7 @@ index efbea8c15b096344b0cc65cc337a9cdbd727cb55..ca31bba7fc6daf68e6862554a70032df
|
|||
content::PermissionController* permission_controller =
|
||||
web_contents->GetBrowserContext()->GetPermissionController();
|
||||
|
||||
@@ -153,19 +155,25 @@ void MediaStreamDevicesController::RequestPermissions(
|
||||
@@ -153,21 +155,27 @@ void MediaStreamDevicesController::RequestPermissions(
|
||||
permission_types.push_back(blink::PermissionType::CAMERA_PAN_TILT_ZOOM);
|
||||
}
|
||||
}
|
||||
|
@ -50,7 +50,9 @@ index efbea8c15b096344b0cc65cc337a9cdbd727cb55..ca31bba7fc6daf68e6862554a70032df
|
|||
- rfh->GetBrowserContext()
|
||||
- ->GetPermissionController()
|
||||
- ->RequestPermissionsFromCurrentDocument(
|
||||
- permission_types, rfh, request.user_gesture,
|
||||
- rfh,
|
||||
- content::PermissionRequestDescription(permission_types,
|
||||
- request.user_gesture),
|
||||
- base::BindOnce(
|
||||
- &MediaStreamDevicesController::PromptAnsweredGroupedRequest,
|
||||
- std::move(controller)));
|
||||
|
@ -59,17 +61,19 @@ index efbea8c15b096344b0cc65cc337a9cdbd727cb55..ca31bba7fc6daf68e6862554a70032df
|
|||
+ blink::mojom::PermissionStatus::GRANTED /*video*/});
|
||||
+ } else {
|
||||
+ rfh->GetBrowserContext()
|
||||
+ ->GetPermissionController()
|
||||
+ ->RequestPermissionsFromCurrentDocument(
|
||||
+ permission_types, rfh, request.user_gesture,
|
||||
+ base::BindOnce(
|
||||
+ &MediaStreamDevicesController::PromptAnsweredGroupedRequest,
|
||||
+ std::move(controller)));
|
||||
+ ->GetPermissionController()
|
||||
+ ->RequestPermissionsFromCurrentDocument(
|
||||
+ rfh,
|
||||
+ content::PermissionRequestDescription(permission_types,
|
||||
+ request.user_gesture),
|
||||
+ base::BindOnce(
|
||||
+ &MediaStreamDevicesController::PromptAnsweredGroupedRequest,
|
||||
+ std::move(controller)));
|
||||
+ }
|
||||
}
|
||||
|
||||
MediaStreamDevicesController::~MediaStreamDevicesController() {
|
||||
@@ -435,6 +443,7 @@ bool MediaStreamDevicesController::PermissionIsBlockedForReason(
|
||||
@@ -437,6 +445,7 @@ bool MediaStreamDevicesController::PermissionIsBlockedForReason(
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -77,7 +81,7 @@ index efbea8c15b096344b0cc65cc337a9cdbd727cb55..ca31bba7fc6daf68e6862554a70032df
|
|||
// TODO(raymes): This function wouldn't be needed if
|
||||
// PermissionManager::RequestPermissions returned a denial reason.
|
||||
content::PermissionResult result =
|
||||
@@ -445,6 +454,7 @@ bool MediaStreamDevicesController::PermissionIsBlockedForReason(
|
||||
@@ -447,6 +456,7 @@ bool MediaStreamDevicesController::PermissionIsBlockedForReason(
|
||||
DCHECK_EQ(blink::mojom::PermissionStatus::DENIED, result.status);
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue