Add new method to set layout-based zoom level limit

This commit is contained in:
Paul Betts 2016-11-21 14:59:27 -05:00
parent 71f94c7a3a
commit e2649ce7d8
4 changed files with 8 additions and 0 deletions

View file

@ -46,6 +46,7 @@ class WebFrame : public mate::Wrappable<WebFrame> {
double GetZoomFactor() const;
void SetZoomLevelLimits(double min_level, double max_level);
void SetLayoutZoomLevelLimits(double min_level, double max_level);
v8::Local<v8::Value> RegisterEmbedderCustomElement(
const base::string16& name, v8::Local<v8::Object> options);