summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--content/renderer/render_view_impl.cc2
-rw-r--r--content/renderer/render_view_impl.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 7d8db32..af35bce 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -6391,6 +6391,7 @@ void RenderViewImpl::OnUpdatedFrameTree(
updating_frame_tree_ = false;
}
+#if defined(OS_ANDROID)
bool RenderViewImpl::didTapMultipleTargets(
const WebKit::WebGestureEvent& event,
const WebVector<WebRect>& target_rects) {
@@ -6427,6 +6428,7 @@ bool RenderViewImpl::didTapMultipleTargets(
return true;
}
+#endif
void RenderViewImpl::OnReleaseDisambiguationPopupDIB(
TransportDIB::Handle dib_handle) {
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index 4530b62..84d9773 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -496,9 +496,11 @@ class RenderViewImpl : public RenderWidget,
virtual void numberOfWheelEventHandlersChanged(unsigned num_handlers);
virtual void hasTouchEventHandlers(bool has_handlers);
virtual void didUpdateLayout();
+#if defined(OS_ANDROID)
virtual bool didTapMultipleTargets(
const WebKit::WebGestureEvent& event,
const WebKit::WebVector<WebKit::WebRect>& target_rects);
+#endif
virtual void navigateBackForwardSoon(int offset);
virtual int historyBackListCount();
virtual int historyForwardListCount();