chore: bump chromium to 133.0.6846.0 (main) (#44665)
* chore: bump chromium in DEPS to 133.0.6836.0 * chore: bump chromium in DEPS to 133.0.6838.0 * chore: update patches * 6006096: [Sync ESB] Integrate Chrome Toast UI6006096
* Confine enable_device_bound_sessions buildflag to //net6014679
* revert [api] Delete deprecated struct FastApiTypedArray5982984
Also5979766/1
* fixup revert [api] Delete deprecated struct FastApiTypedArray * Migrate remaining NOTREACHED()s in chrome/5998172
* [Reland][Extensions] Remove ExtensionHostDelegate::GetJavaScriptDialogManager()6020106
* Remove NOTREACHED_IN_MIGRATION()6021996
* Remove Lock screen apps [#8] : remove lock screen extension6005846
* Reland "Add CrashReporterClient::GetProductInfo(ProductInfo*)"6012631
* Ozone/Wayland: remove lacros specific window states6011215
* chore: bump chromium in DEPS to 133.0.6840.0 * chore: bump chromium in DEPS to 133.0.6841.0 * chore: bump chromium in DEPS to 133.0.6844.0 * implement virtual WebContents::CanUserEnterFullscreen * OnSearchifyStateChange -> OnSearchifyStarted * regen libc++ filenames * chore: bump chromium in DEPS to 133.0.6846.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: Samuel Maddock <smaddock@slack-corp.com>
This commit is contained in:
parent
ac61c74ddc
commit
43ed763f18
72 changed files with 2560 additions and 349 deletions
|
@ -1368,6 +1368,10 @@ content::WebContents* WebContents::GetWebContentsForExclusiveAccess() {
|
|||
return web_contents();
|
||||
}
|
||||
|
||||
bool WebContents::CanUserEnterFullscreen() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool WebContents::CanUserExitFullscreen() const {
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -731,6 +731,7 @@ class WebContents final : public ExclusiveAccessContext,
|
|||
ExclusiveAccessBubbleHideCallback bubble_first_hide_callback) override {}
|
||||
void OnExclusiveAccessUserInput() override {}
|
||||
content::WebContents* GetWebContentsForExclusiveAccess() override;
|
||||
bool CanUserEnterFullscreen() const override;
|
||||
bool CanUserExitFullscreen() const override;
|
||||
bool IsExclusiveAccessBubbleDisplayed() const override;
|
||||
|
||||
|
|
|
@ -114,20 +114,6 @@ ShutdownDetector::ShutdownDetector(
|
|||
CHECK(task_runner_);
|
||||
}
|
||||
|
||||
// These functions are used to help us diagnose crash dumps that happen
|
||||
// during the shutdown process.
|
||||
NOINLINE void ShutdownFDReadError() {
|
||||
// Ensure function isn't optimized away.
|
||||
asm("");
|
||||
sleep(UINT_MAX);
|
||||
}
|
||||
|
||||
NOINLINE void ShutdownFDClosedError() {
|
||||
// Ensure function isn't optimized away.
|
||||
asm("");
|
||||
sleep(UINT_MAX);
|
||||
}
|
||||
|
||||
NOINLINE void ExitPosted() {
|
||||
// Ensure function isn't optimized away.
|
||||
asm("");
|
||||
|
@ -142,14 +128,10 @@ template <typename T>
|
|||
while (!bytes.empty()) {
|
||||
const ssize_t rv = HANDLE_EINTR(read(fd, bytes.data(), bytes.size()));
|
||||
if (rv < 0) {
|
||||
NOTREACHED_IN_MIGRATION() << "Unexpected error: " << strerror(errno);
|
||||
ShutdownFDReadError();
|
||||
return {};
|
||||
NOTREACHED() << "Unexpected error: " << strerror(errno);
|
||||
}
|
||||
if (rv == 0) {
|
||||
NOTREACHED_IN_MIGRATION() << "Unexpected closure of shutdown pipe.";
|
||||
ShutdownFDClosedError();
|
||||
return {};
|
||||
NOTREACHED() << "Unexpected closure of shutdown pipe.";
|
||||
}
|
||||
const size_t n_bytes_read = static_cast<size_t>(rv);
|
||||
bytes = bytes.subspan(n_bytes_read);
|
||||
|
|
|
@ -75,9 +75,10 @@ void ElectronPDFDocumentHelperClient::SetPluginCanSave(
|
|||
}
|
||||
|
||||
#if BUILDFLAG(ENABLE_SCREEN_AI_SERVICE)
|
||||
void ElectronPDFDocumentHelperClient::OnSearchifyStateChange(
|
||||
bool busy,
|
||||
void ElectronPDFDocumentHelperClient::OnSearchifyStarted(
|
||||
content::WebContents* contents) {
|
||||
// TODO(crbug.com/360803943): Show promo and manage progress bubble.
|
||||
// TODO(crbug.com/360803943): Add test.
|
||||
// Show the promo only when ScreenAI component is available and OCR can be
|
||||
// done.
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -25,8 +25,7 @@ class ElectronPDFDocumentHelperClient : public pdf::PDFDocumentHelperClient {
|
|||
void SetPluginCanSave(content::RenderFrameHost* render_frame_host,
|
||||
bool can_save) override;
|
||||
#if BUILDFLAG(ENABLE_SCREEN_AI_SERVICE)
|
||||
void OnSearchifyStateChange(bool busy,
|
||||
content::WebContents* contents) override;
|
||||
void OnSearchifyStarted(content::WebContents* contents) override;
|
||||
#endif
|
||||
};
|
||||
|
||||
|
|
|
@ -27,13 +27,6 @@ void ElectronExtensionHostDelegate::OnExtensionHostCreated(
|
|||
electron::api::WebContents::FromOrCreate(isolate, web_contents);
|
||||
}
|
||||
|
||||
content::JavaScriptDialogManager*
|
||||
ElectronExtensionHostDelegate::GetJavaScriptDialogManager() {
|
||||
// TODO(jamescook): Create a JavaScriptDialogManager or reuse the one from
|
||||
// content_shell.
|
||||
NOTREACHED();
|
||||
}
|
||||
|
||||
void ElectronExtensionHostDelegate::CreateTab(
|
||||
std::unique_ptr<content::WebContents> web_contents,
|
||||
const std::string& extension_id,
|
||||
|
|
|
@ -26,7 +26,6 @@ class ElectronExtensionHostDelegate : public ExtensionHostDelegate {
|
|||
// ExtensionHostDelegate implementation.
|
||||
void OnExtensionHostCreated(content::WebContents* web_contents) override;
|
||||
void OnMainFrameCreatedForBackgroundPage(ExtensionHost* host) override {}
|
||||
content::JavaScriptDialogManager* GetJavaScriptDialogManager() override;
|
||||
void CreateTab(std::unique_ptr<content::WebContents> web_contents,
|
||||
const std::string& extension_id,
|
||||
WindowOpenDisposition disposition,
|
||||
|
|
|
@ -389,11 +389,6 @@ extensions::KioskDelegate* ElectronExtensionsBrowserClient::GetKioskDelegate() {
|
|||
return kiosk_delegate_.get();
|
||||
}
|
||||
|
||||
bool ElectronExtensionsBrowserClient::IsLockScreenContext(
|
||||
content::BrowserContext* context) {
|
||||
return false;
|
||||
}
|
||||
|
||||
std::string ElectronExtensionsBrowserClient::GetApplicationLocale() {
|
||||
return ElectronBrowserClient::Get()->GetApplicationLocale();
|
||||
}
|
||||
|
|
|
@ -139,7 +139,6 @@ class ElectronExtensionsBrowserClient
|
|||
extensions::ExtensionWebContentsObserver* GetExtensionWebContentsObserver(
|
||||
content::WebContents* web_contents) override;
|
||||
extensions::KioskDelegate* GetKioskDelegate() override;
|
||||
bool IsLockScreenContext(content::BrowserContext* context) override;
|
||||
std::string GetApplicationLocale() override;
|
||||
std::string GetUserAgent() const override;
|
||||
void RegisterBrowserInterfaceBindersForFrame(
|
||||
|
|
|
@ -122,12 +122,6 @@ void ElectronDesktopWindowTreeHostLinux::UpdateWindowState(
|
|||
break;
|
||||
case ui::PlatformWindowState::kUnknown:
|
||||
case ui::PlatformWindowState::kNormal:
|
||||
case ui::PlatformWindowState::kSnappedPrimary:
|
||||
case ui::PlatformWindowState::kSnappedSecondary:
|
||||
case ui::PlatformWindowState::kFloated:
|
||||
case ui::PlatformWindowState::kPip:
|
||||
case ui::PlatformWindowState::kPinnedFullscreen:
|
||||
case ui::PlatformWindowState::kTrustedPinnedFullscreen:
|
||||
break;
|
||||
}
|
||||
switch (new_state) {
|
||||
|
@ -142,12 +136,6 @@ void ElectronDesktopWindowTreeHostLinux::UpdateWindowState(
|
|||
break;
|
||||
case ui::PlatformWindowState::kUnknown:
|
||||
case ui::PlatformWindowState::kNormal:
|
||||
case ui::PlatformWindowState::kSnappedPrimary:
|
||||
case ui::PlatformWindowState::kSnappedSecondary:
|
||||
case ui::PlatformWindowState::kFloated:
|
||||
case ui::PlatformWindowState::kPip:
|
||||
case ui::PlatformWindowState::kPinnedFullscreen:
|
||||
case ui::PlatformWindowState::kTrustedPinnedFullscreen:
|
||||
break;
|
||||
}
|
||||
window_state_ = new_state;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue