Index: content/renderer/render_view_impl.cc |
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc |
index 13d98cafc042139cdec9a803a2211d0c308399d6..38340f0e3dddbd53ffa3e817495b53cac8dd3437 100644 |
--- a/content/renderer/render_view_impl.cc |
+++ b/content/renderer/render_view_impl.cc |
@@ -203,7 +203,6 @@ |
#include "content/renderer/android/email_detector.h" |
#include "content/renderer/android/phone_number_detector.h" |
#include "net/android/network_library.h" |
-#include "skia/ext/platform_canvas.h" |
#include "third_party/WebKit/public/platform/WebFloatPoint.h" |
#include "third_party/WebKit/public/platform/WebFloatRect.h" |
#include "third_party/WebKit/public/web/WebHitTestResult.h" |
@@ -219,6 +218,11 @@ |
#include "skia/ext/skia_utils_mac.h" |
#endif |
+// Support for link disambiguation popup. |
+#if defined(OS_ANDROID) || defined(OS_WIN) |
+#include "skia/ext/platform_canvas.h" |
+#endif |
+ |
#if defined(ENABLE_PLUGINS) |
#include "content/renderer/npapi/webplugin_delegate_proxy.h" |
#include "content/renderer/pepper/pepper_plugin_instance_impl.h" |
@@ -4101,7 +4105,7 @@ void RenderViewImpl::OnDisownOpener() { |
main_frame->setOpener(NULL); |
} |
-#if defined(OS_ANDROID) |
+#if defined(OS_ANDROID) || defined(OS_WIN) |
bool RenderViewImpl::didTapMultipleTargets( |
const blink::WebGestureEvent& event, |
const WebVector<WebRect>& target_rects) { |
@@ -4179,7 +4183,7 @@ bool RenderViewImpl::didTapMultipleTargets( |
return handled; |
} |
-#endif |
+#endif // defined(OS_ANDROID) || defined(OS_WIN) |
unsigned RenderViewImpl::GetLocalSessionHistoryLengthForTesting() const { |
return history_list_length_; |