![electron-roller[bot]](/assets/img/avatar_default.png)
* 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 UI https://chromium-review.googlesource.com/c/chromium/src/+/6006096 * Confine enable_device_bound_sessions buildflag to //net https://chromium-review.googlesource.com/c/chromium/src/+/6014679 * revert [api] Delete deprecated struct FastApiTypedArray https://chromium-review.googlesource.com/c/v8/v8/+/5982984 Also https://chromium-review.googlesource.com/c/v8/v8/+/5979766/1 * fixup revert [api] Delete deprecated struct FastApiTypedArray * Migrate remaining NOTREACHED()s in chrome/ https://chromium-review.googlesource.com/c/chromium/src/+/5998172 * [Reland][Extensions] Remove ExtensionHostDelegate::GetJavaScriptDialogManager() https://chromium-review.googlesource.com/c/chromium/src/+/6020106 * Remove NOTREACHED_IN_MIGRATION() https://chromium-review.googlesource.com/c/chromium/src/+/6021996 * Remove Lock screen apps [#8] : remove lock screen extension https://chromium-review.googlesource.com/c/chromium/src/+/6005846 * Reland "Add CrashReporterClient::GetProductInfo(ProductInfo*)" https://chromium-review.googlesource.com/c/chromium/src/+/6012631 * Ozone/Wayland: remove lacros specific window states https://chromium-review.googlesource.com/c/chromium/src/+/6011215 * 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>
32 lines
1.2 KiB
C++
32 lines
1.2 KiB
C++
// Copyright (c) 2015 Slack Technologies, Inc.
|
|
// Use of this source code is governed by the MIT license that can be
|
|
// found in the LICENSE file.
|
|
#ifndef ELECTRON_SHELL_BROWSER_ELECTRON_PDF_DOCUMENT_HELPER_CLIENT_H_
|
|
#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;
|
|
}
|
|
|
|
class ElectronPDFDocumentHelperClient : public pdf::PDFDocumentHelperClient {
|
|
public:
|
|
ElectronPDFDocumentHelperClient();
|
|
~ElectronPDFDocumentHelperClient() override;
|
|
|
|
private:
|
|
// pdf::PDFDocumentHelperClient
|
|
void UpdateContentRestrictions(content::RenderFrameHost* render_frame_host,
|
|
int content_restrictions) override;
|
|
void OnPDFHasUnsupportedFeature(content::WebContents* contents) override {}
|
|
void OnSaveURL(content::WebContents* contents) override {}
|
|
void SetPluginCanSave(content::RenderFrameHost* render_frame_host,
|
|
bool can_save) override;
|
|
#if BUILDFLAG(ENABLE_SCREEN_AI_SERVICE)
|
|
void OnSearchifyStarted(content::WebContents* contents) override;
|
|
#endif
|
|
};
|
|
|
|
#endif // ELECTRON_SHELL_BROWSER_ELECTRON_PDF_DOCUMENT_HELPER_CLIENT_H_
|