Index: content/browser/android/content_view_core_impl.cc |
diff --git a/content/browser/android/content_view_core_impl.cc b/content/browser/android/content_view_core_impl.cc |
index 9aa69cdf7daa3a7578068240ec0373366ffd46e7..2ccf8a51e3aafb07bca3cdc332ceca97739c6e58 100644 |
--- a/content/browser/android/content_view_core_impl.cc |
+++ b/content/browser/android/content_view_core_impl.cc |
@@ -16,6 +16,7 @@ |
#include "cc/layers/layer.h" |
#include "cc/layers/solid_color_layer.h" |
#include "cc/output/begin_frame_args.h" |
+#include "cc/output/viewport_selection_bound.h" |
#include "content/browser/accessibility/browser_accessibility_state_impl.h" |
#include "content/browser/android/gesture_event_type.h" |
#include "content/browser/android/interstitial_page_delegate_android.h" |
@@ -379,7 +380,8 @@ void ContentViewCoreImpl::UpdateFrameInfo( |
const gfx::SizeF& content_size, |
const gfx::SizeF& viewport_size, |
const gfx::Vector2dF& controls_offset, |
- const gfx::Vector2dF& content_offset) { |
+ const gfx::Vector2dF& content_offset, |
+ const cc::ViewportSelectionBound& selection_start) { |
JNIEnv* env = AttachCurrentThread(); |
ScopedJavaLocalRef<jobject> obj = java_ref_.get(env); |
if (obj.is_null()) |
@@ -400,7 +402,11 @@ void ContentViewCoreImpl::UpdateFrameInfo( |
viewport_size.width(), |
viewport_size.height(), |
controls_offset.y(), |
- content_offset.y()); |
+ content_offset.y(), |
+ selection_start.type, |
+ selection_start.edge_top.x(), |
+ selection_start.edge_top.y(), |
+ selection_start.edge_bottom.y()); |
} |
void ContentViewCoreImpl::SetTitle(const base::string16& title) { |