feat: add new imageAnimationPolicy webpref and webContents setter (#29095)
This commit is contained in:
parent
79cb5144ae
commit
8446ce1fc7
7 changed files with 51 additions and 0 deletions
|
@ -419,6 +419,7 @@ class WebContents : public gin::Wrappable<WebContents>,
|
|||
void SetTemporaryZoomLevel(double level);
|
||||
void DoGetZoomLevel(
|
||||
electron::mojom::ElectronBrowser::DoGetZoomLevelCallback callback);
|
||||
void SetImageAnimationPolicy(const std::string& new_policy);
|
||||
|
||||
private:
|
||||
// Does not manage lifetime of |web_contents|.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue