Index: content/renderer/render_view_impl_android.cc |
diff --git a/content/renderer/render_view_impl_android.cc b/content/renderer/render_view_impl_android.cc |
index 6863c5775b45fc19933dbf2da85180b3f73493ca..70fdd33ca9f97b35083986078a0ad0f5eb3322e8 100644 |
--- a/content/renderer/render_view_impl_android.cc |
+++ b/content/renderer/render_view_impl_android.cc |
@@ -66,8 +66,15 @@ void RenderViewImpl::didScrollWithKeyboard(const blink::WebSize& delta) { |
} |
void RenderViewImpl::OnExtractSmartClipData(const gfx::Rect& rect) { |
- Send(new ViewHostMsg_SmartClipDataExtracted( |
- routing_id_, webview()->getSmartClipData(rect))); |
+ webview()->getSmartClipData(rect); |
+} |
+ |
+void RenderViewImpl::updateSmartClipDataResult(const blink::WebString& text, |
+ const blink::WebRect& rect) { |
+ ViewHostMsg_SmartClip_Params params; |
jam
2014/04/30 16:05:47
we only create IPC structs when we have more than
AviD
2014/05/02 15:04:45
Removed IPC struct.
|
+ params.clip_rect = rect; |
+ params.clip_data = text; |
+ Send(new ViewHostMsg_SmartClipDataExtracted(routing_id_, params)); |
} |
void RenderViewImpl::GetSelectionRootBounds(gfx::Rect* bounds) const { |