diff options
Diffstat (limited to 'webkit/glue/webview_impl.cc')
-rw-r--r-- | webkit/glue/webview_impl.cc | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/webkit/glue/webview_impl.cc b/webkit/glue/webview_impl.cc index 34a87ea..419c0e2 100644 --- a/webkit/glue/webview_impl.cc +++ b/webkit/glue/webview_impl.cc @@ -1579,29 +1579,6 @@ void WebViewImpl::onScrollPositionChanged(WebCore::Widget* widget) { delegate_->OnNavStateChanged(this); } -const WTF::Vector<RefPtr<WebCore::Range> >* WebViewImpl::getTickmarks( - WebCore::Frame* frame) { - DCHECK(frame); - WebFrameImpl* webframe_impl = WebFrameImpl::FromFrame(frame); - if (!webframe_impl) - return NULL; - - return &webframe_impl->tickmarks(); -} - -size_t WebViewImpl::getActiveTickmarkIndex(WebCore::Frame* frame) { - DCHECK(frame); - WebFrameImpl* webframe_impl = WebFrameImpl::FromFrame(frame); - if (!webframe_impl) - return kNoTickmark; - - // The mainframe can tell us if we are the frame with the active tick-mark. - if (webframe_impl != main_frame_->active_tickmark_frame()) - return kNoTickmark; - - return webframe_impl->active_tickmark_index(); -} - bool WebViewImpl::isHidden() { if (!delegate_) return true; |