chore: bump chromium to 128.0.6571.0 (main) (#42749)
* chore: bump chromium in DEPS to 128.0.6571.0 * 5636652: [4/n] Introduce RenderInputRouterClient and move InputRouterClient implementation to RenderInputRouter.5636652
* 5655811: Revert "Reland "Reland "Add toolchains without PartitionAlloc-Everywhere for dump_syms et al"""5655811
* 5581006: [tracing] Forward startup tracing config as shmem5581006
* chore: fixup patch indices * 5608450: [Views AX] Move Image Auto Captioning strings to ui/5608450
* 5648900: [Extensions] Move ExtensionAPIEnabledForServiceWorkerScript()5648900
* 5651681: Remove Web Speech API profanity masking5651681
* 5651361: `content::RenderFrame::GetBrowserInterfaceBroker`: return a const-ref.5651361
* 5604943: Start capture of toolbar after gesture end events are received5604943
* 5624392: [BRP] Enforce raw_ptr/ref in Renderer code5624392
* 5659259: Portals: Remove WebContentsView::TransferDragSecurityInfo5659259
* 5230721: Move ComposeStatus to components/compose5230721
* 5647894: [api] Cleanup usages of v8::ReturnValue<void>::Set[NonEmpty](..)5647894
--------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
parent
cf5fb4505e
commit
07e6b34a07
61 changed files with 260 additions and 240 deletions
|
@ -37,29 +37,6 @@ extensions::Dispatcher* ElectronExtensionsRendererClient::GetDispatcher() {
|
|||
return dispatcher_.get();
|
||||
}
|
||||
|
||||
bool ElectronExtensionsRendererClient::
|
||||
ExtensionAPIEnabledForServiceWorkerScript(const GURL& scope,
|
||||
const GURL& script_url) const {
|
||||
if (!script_url.SchemeIs(extensions::kExtensionScheme))
|
||||
return false;
|
||||
|
||||
const extensions::Extension* extension =
|
||||
extensions::RendererExtensionRegistry::Get()->GetExtensionOrAppByURL(
|
||||
script_url);
|
||||
|
||||
if (!extension ||
|
||||
!extensions::BackgroundInfo::IsServiceWorkerBased(extension))
|
||||
return false;
|
||||
|
||||
if (scope != extension->url())
|
||||
return false;
|
||||
|
||||
const std::string& sw_script =
|
||||
extensions::BackgroundInfo::GetBackgroundServiceWorkerScript(extension);
|
||||
|
||||
return extension->GetResourceURL(sw_script) == script_url;
|
||||
}
|
||||
|
||||
bool ElectronExtensionsRendererClient::AllowPopup() {
|
||||
// TODO(samuelmaddock):
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue