webContents: set zoom levels with HostZoomMap

This commit is contained in:
deepak1556 2017-01-29 19:43:20 +05:30
parent 5e78330c6d
commit b27c94368d
3 changed files with 30 additions and 6 deletions

View file

@ -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,