From: Kevin Sawicki Date: Tue, 22 Nov 2016 16:09:14 +0000 (-0800) Subject: Add 2.0 comment about setZoomLevelLimits X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d4368fabb95dec22e69ce60e80d95d0d902c11ed;p=platform%2Fframework%2Fweb%2Fcrosswalk-tizen.git Add 2.0 comment about setZoomLevelLimits --- diff --git a/atom/renderer/api/atom_api_web_frame.cc b/atom/renderer/api/atom_api_web_frame.cc index 455073c..fcfc50c 100644 --- a/atom/renderer/api/atom_api_web_frame.cc +++ b/atom/renderer/api/atom_api_web_frame.cc @@ -231,7 +231,6 @@ void WebFrame::BuildPrototype( .SetMethod("getZoomLevel", &WebFrame::GetZoomLevel) .SetMethod("setZoomFactor", &WebFrame::SetZoomFactor) .SetMethod("getZoomFactor", &WebFrame::GetZoomFactor) - .SetMethod("setZoomLevelLimits", &WebFrame::SetVisualZoomLevelLimits) .SetMethod("setVisualZoomLevelLimits", &WebFrame::SetVisualZoomLevelLimits) .SetMethod("setLayoutZoomLevelLimits", @@ -252,7 +251,9 @@ void WebFrame::BuildPrototype( .SetMethod("insertText", &WebFrame::InsertText) .SetMethod("executeJavaScript", &WebFrame::ExecuteJavaScript) .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