mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
chore: bump chromium to 132.0.6820.0 (34-x-y) (#44585)
* chore: bump chromium in DEPS to 132.0.6817.0 Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> * chore: update chromium patches Co-authored-by: Keeley Hammond <khammond@slack-corp.com> * 5979290: Temoporarily disable crel on arm. | https://chromium-review.googlesource.com/c/chromium/src/+/5979290 Co-authored-by: Keeley Hammond <khammond@slack-corp.com> * 5981701: Include callback.h instead of callback_forward.h | https://chromium-review.googlesource.com/c/chromium/src/+/5981701 Co-authored-by: Keeley Hammond <khammond@slack-corp.com> * 5964918: [v8 code cache] Add a wpt_internal test demonstrating the code cache 304 problem | https://chromium-review.googlesource.com/c/chromium/src/+/5964918 Co-authored-by: Keeley Hammond <khammond@slack-corp.com> * 5969697: Add NetworkTrafficAnnotationTag to PreconnectManager | https://chromium-review.googlesource.com/c/chromium/src/+/5969697 Co-authored-by: Keeley Hammond <khammond@slack-corp.com> * chore: update remaining patches Co-authored-by: Keeley Hammond <khammond@slack-corp.com> * chore: bump chromium in DEPS to 132.0.6818.0 Co-authored-by: Keeley Hammond <khammond@slack-corp.com> * chore: update patches Co-authored-by: Keeley Hammond <khammond@slack-corp.com> * 5983492: MPArch GuestView: Have executeScript target correct frame | https://chromium-review.googlesource.com/c/chromium/src/+/5983492 Co-authored-by: Keeley Hammond <khammond@slack-corp.com> * chore: bump chromium in DEPS to 132.0.6820.0 Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> * chore: update patches Co-authored-by: VerteDinde <vertedinde@electronjs.org> * 5989717: Revert "win: Remove special check for 10.0.22621.2428 Win SDK version" | https://chromium-review.googlesource.com/c/chromium/src/+/5989717 Co-authored-by: VerteDinde <vertedinde@electronjs.org> * 5968218: Send PDF Searchifier running state to browser to show UX elements. | https://chromium-review.googlesource.com/c/chromium/src/+/5968218 Co-authored-by: VerteDinde <vertedinde@electronjs.org> * build: also update the MSVS_HASH for WOA Co-authored-by: VerteDinde <vertedinde@electronjs.org> --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: Keeley Hammond <khammond@slack-corp.com> Co-authored-by: VerteDinde <vertedinde@electronjs.org>
This commit is contained in:
@@ -73,3 +73,11 @@ void ElectronPDFDocumentHelperClient::SetPluginCanSave(
|
||||
guest_view->SetPluginCanSave(can_save);
|
||||
}
|
||||
}
|
||||
|
||||
#if BUILDFLAG(ENABLE_SCREEN_AI_SERVICE)
|
||||
void ElectronPDFDocumentHelperClient::OnSearchifyStateChange(
|
||||
bool busy,
|
||||
content::WebContents* contents) {
|
||||
// TODO(crbug.com/360803943): Show promo and manage progress bubble.
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
#define ELECTRON_SHELL_BROWSER_ELECTRON_PDF_DOCUMENT_HELPER_CLIENT_H_
|
||||
|
||||
#include "components/pdf/browser/pdf_document_helper_client.h"
|
||||
#include "services/screen_ai/buildflags/buildflags.h"
|
||||
|
||||
namespace content {
|
||||
class WebContents;
|
||||
@@ -23,6 +24,10 @@ class ElectronPDFDocumentHelperClient : public pdf::PDFDocumentHelperClient {
|
||||
void OnSaveURL(content::WebContents* contents) override {}
|
||||
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;
|
||||
#endif
|
||||
};
|
||||
|
||||
#endif // ELECTRON_SHELL_BROWSER_ELECTRON_PDF_DOCUMENT_HELPER_CLIENT_H_
|
||||
|
||||
@@ -199,6 +199,10 @@ bool ExecuteCodeInTabFunction::IsWebView() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
int ExecuteCodeInTabFunction::GetRootFrameId() const {
|
||||
return ExtensionApiFrameIdMap::kTopFrameId;
|
||||
}
|
||||
|
||||
const GURL& ExecuteCodeInTabFunction::GetWebViewSrc() const {
|
||||
return GURL::EmptyGURL();
|
||||
}
|
||||
|
||||
@@ -29,6 +29,7 @@ class ExecuteCodeInTabFunction : public ExecuteCodeFunction {
|
||||
bool CanExecuteScriptOnPage(std::string* error) override;
|
||||
ScriptExecutor* GetScriptExecutor(std::string* error) override;
|
||||
bool IsWebView() const override;
|
||||
int GetRootFrameId() const override;
|
||||
const GURL& GetWebViewSrc() const override;
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user