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

Unified Diff: ui/android/view_android.cc

Issue 2352773003: Fix the scale of Drag and Drop shadow image. (Closed)
Patch Set: Created 4 years, 3 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: ui/android/view_android.cc
diff --git a/ui/android/view_android.cc b/ui/android/view_android.cc
index f881b51e18c3ff62065e6bcd41a02941653a3d26..e903fc6651179eb437986688bc99f0fcc72a062a 100644
--- a/ui/android/view_android.cc
+++ b/ui/android/view_android.cc
@@ -165,13 +165,14 @@ void ViewAndroid::SetLayer(scoped_refptr<cc::Layer> layer) {
}
bool ViewAndroid::StartDragAndDrop(const JavaRef<jstring>& jtext,
- const JavaRef<jobject>& jimage) {
+ const JavaRef<jobject>& jimage,
+ const jfloat jPageScale) {
ScopedJavaLocalRef<jobject> delegate(GetViewAndroidDelegate());
if (delegate.is_null())
return false;
JNIEnv* env = base::android::AttachCurrentThread();
- return Java_ViewAndroidDelegate_startDragAndDrop(env, delegate, jtext,
- jimage);
+ return Java_ViewAndroidDelegate_startDragAndDrop(env, delegate, jtext, jimage,
+ jPageScale);
}
} // namespace ui
« content/browser/web_contents/web_contents_view_android.cc ('K') | « ui/android/view_android.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698