test: add -pdf-ready-to-print event to WebContents for testing (#43436)
This commit is contained in:
parent
9ce0ca74c3
commit
c1eee18e41
6 changed files with 34 additions and 7 deletions
|
@ -17,8 +17,9 @@ class ElectronPDFDocumentHelperClient : public pdf::PDFDocumentHelperClient {
|
|||
|
||||
private:
|
||||
// pdf::PDFDocumentHelperClient
|
||||
|
||||
void UpdateContentRestrictions(content::RenderFrameHost* render_frame_host,
|
||||
int content_restrictions) override {}
|
||||
int content_restrictions) override;
|
||||
void OnPDFHasUnsupportedFeature(content::WebContents* contents) override {}
|
||||
void OnSaveURL(content::WebContents* contents) override {}
|
||||
void SetPluginCanSave(content::RenderFrameHost* render_frame_host,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue