Commit 348e7a53 authored by mitz@apple.com's avatar mitz@apple.com

Reviewed by Adam Roben.

        - make makeTextLarger() and zoomPageIn() do what they are supposed to do

        * WebView.cpp:
        (WebView::makeTextLarger): Changed call to canZoomIn() to zoomIn().
        (WebView::zoomPageIn): Ditto.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31186 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 74485407
2008-03-20 Dan Bernstein <mitz@apple.com>
Reviewed by Adam Roben.
- make makeTextLarger() and zoomPageIn() do what they are supposed to do
* WebView.cpp:
(WebView::makeTextLarger): Changed call to canZoomIn() to zoomIn().
(WebView::zoomPageIn): Ditto.
2008-03-20 Dave Hyatt <hyatt@apple.com>
Add full page zoom API for Windows WebKit.
......
......@@ -3129,13 +3129,13 @@ bool WebView::canZoomIn(bool isTextOnly)
HRESULT STDMETHODCALLTYPE WebView::makeTextLarger(
/* [in] */ IUnknown* /*sender*/)
{
return canZoomIn(true);
return zoomIn(true);
}
HRESULT STDMETHODCALLTYPE WebView::zoomPageIn(
/* [in] */ IUnknown* /*sender*/)
{
return canZoomIn(false);
return zoomIn(false);
}
HRESULT WebView::zoomIn(bool isTextOnly)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment