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

Unified Diff: content/browser/android/content_view_core_impl.h

Issue 2135493002: Support dragging texts out of webview/Chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Support dragging texts out of webview/Chrome. Created 4 years, 5 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/browser/android/content_view_core_impl.h
diff --git a/content/browser/android/content_view_core_impl.h b/content/browser/android/content_view_core_impl.h
index 0cc3c7e22693bbd012f6306331ae2cd54b329484..979be73443f95243479ec7f68a9736ad5220b0b7 100644
--- a/content/browser/android/content_view_core_impl.h
+++ b/content/browser/android/content_view_core_impl.h
@@ -34,6 +34,7 @@ struct ViewportSelectionBound;
}
namespace ui {
+class ImageSkia;
class WindowAndroid;
}
@@ -300,6 +301,9 @@ class ContentViewCoreImpl : public ContentViewCore,
// Public methods that call to Java via JNI
// --------------------------------------------------------------------------
+ void StartDragging(const base::string16& dragged_text,
+ const gfx::ImageSkia& image);
+
void OnSmartClipDataExtracted(const base::string16& text,
const base::string16& html,
const gfx::Rect& clip_rect);

Powered by Google App Engine
This is Rietveld 408576698