fix: ensure SetPluginCanSave
updated in PDFs (#43667)
fix: ensure SetPluginCanSave updated in PDFs
This commit is contained in:
parent
90fbf30491
commit
dea6a4e5fb
2 changed files with 35 additions and 4 deletions
|
@ -17,13 +17,12 @@ class ElectronPDFDocumentHelperClient : public pdf::PDFDocumentHelperClient {
|
|||
|
||||
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 {}
|
||||
bool can_save) override;
|
||||
};
|
||||
|
||||
#endif // ELECTRON_SHELL_BROWSER_ELECTRON_PDF_DOCUMENT_HELPER_CLIENT_H_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue