| Index: content/renderer/render_view_impl.cc
|
| diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
|
| index 23e0b1d8215d38dbc9e9431d9eb3a1f6a2d07520..6c5761478f0d382b97dc8fa01173a5d6cf663290 100644
|
| --- a/content/renderer/render_view_impl.cc
|
| +++ b/content/renderer/render_view_impl.cc
|
| @@ -204,7 +204,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"
|
| @@ -220,6 +219,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"
|
| @@ -4118,7 +4122,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) {
|
| @@ -4196,7 +4200,7 @@ bool RenderViewImpl::didTapMultipleTargets(
|
|
|
| return handled;
|
| }
|
| -#endif
|
| +#endif // defined(OS_ANDROID) || defined(OS_WIN)
|
|
|
| unsigned RenderViewImpl::GetLocalSessionHistoryLengthForTesting() const {
|
| return history_list_length_;
|
|
|