Add 2.0 comment about setZoomLevelLimits
This commit is contained in:
parent
9a5df9da41
commit
d4368fabb9
1 changed files with 3 additions and 2 deletions
|
@ -231,7 +231,6 @@ void WebFrame::BuildPrototype(
|
||||||
.SetMethod("getZoomLevel", &WebFrame::GetZoomLevel)
|
.SetMethod("getZoomLevel", &WebFrame::GetZoomLevel)
|
||||||
.SetMethod("setZoomFactor", &WebFrame::SetZoomFactor)
|
.SetMethod("setZoomFactor", &WebFrame::SetZoomFactor)
|
||||||
.SetMethod("getZoomFactor", &WebFrame::GetZoomFactor)
|
.SetMethod("getZoomFactor", &WebFrame::GetZoomFactor)
|
||||||
.SetMethod("setZoomLevelLimits", &WebFrame::SetVisualZoomLevelLimits)
|
|
||||||
.SetMethod("setVisualZoomLevelLimits",
|
.SetMethod("setVisualZoomLevelLimits",
|
||||||
&WebFrame::SetVisualZoomLevelLimits)
|
&WebFrame::SetVisualZoomLevelLimits)
|
||||||
.SetMethod("setLayoutZoomLevelLimits",
|
.SetMethod("setLayoutZoomLevelLimits",
|
||||||
|
@ -252,7 +251,9 @@ void WebFrame::BuildPrototype(
|
||||||
.SetMethod("insertText", &WebFrame::InsertText)
|
.SetMethod("insertText", &WebFrame::InsertText)
|
||||||
.SetMethod("executeJavaScript", &WebFrame::ExecuteJavaScript)
|
.SetMethod("executeJavaScript", &WebFrame::ExecuteJavaScript)
|
||||||
.SetMethod("getResourceUsage", &WebFrame::GetResourceUsage)
|
.SetMethod("getResourceUsage", &WebFrame::GetResourceUsage)
|
||||||
.SetMethod("clearCache", &WebFrame::ClearCache);
|
.SetMethod("clearCache", &WebFrame::ClearCache)
|
||||||
|
// TODO(kevinsawicki): Remove in 2.0, deprecate before then with warnings
|
||||||
|
.SetMethod("setZoomLevelLimits", &WebFrame::SetVisualZoomLevelLimits);
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace api
|
} // namespace api
|
||||||
|
|
Loading…
Reference in a new issue