Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(508)

Unified Diff: content/public/android/java/src/org/chromium/content/browser/ContentView.java

Issue 473253002: Merge 283159 "[Android] Extend smart clip to return html along w..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/2062/src/
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/android/java/src/org/chromium/content/browser/ContentView.java
===================================================================
--- content/public/android/java/src/org/chromium/content/browser/ContentView.java (revision 289886)
+++ content/public/android/java/src/org/chromium/content/browser/ContentView.java (working copy)
@@ -267,12 +267,13 @@
return;
}
mContentViewCore.setSmartClipDataListener(new ContentViewCore.SmartClipDataListener() {
- public void onSmartClipDataExtracted(String text, Rect clipRect) {
+ public void onSmartClipDataExtracted(String text, String html, Rect clipRect) {
Bundle bundle = new Bundle();
bundle.putString("url", mContentViewCore.getWebContents().getVisibleUrl());
bundle.putString("title", mContentViewCore.getWebContents().getTitle());
- bundle.putParcelable("area", clipRect);
+ bundle.putParcelable("rect", clipRect);
bundle.putString("text", text);
+ bundle.putString("html", html);
try {
Message msg = Message.obtain(resultHandler, 0);
msg.setData(bundle);
« no previous file with comments | « content/common/view_messages.h ('k') | content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698