webContents: set zoom levels with HostZoomMap
This commit is contained in:
parent
5e78330c6d
commit
b27c94368d
3 changed files with 30 additions and 6 deletions
|
@ -174,6 +174,12 @@ class WebContents : public mate::TrackableObject<WebContents>,
|
|||
int GetFrameRate() const;
|
||||
void Invalidate();
|
||||
|
||||
// Methods for zoom handling.
|
||||
void SetZoomLevel(double level);
|
||||
double GetZoomLevel();
|
||||
void SetZoomFactor(double factor);
|
||||
double GetZoomFactor();
|
||||
|
||||
// Callback triggered on permission response.
|
||||
void OnEnterFullscreenModeForTab(content::WebContents* source,
|
||||
const GURL& origin,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue