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

Issue 2417263002: Pass JavaRef to Java methods in ui. (Closed)

Created:
4 years, 2 months ago by Torne
Modified:
4 years, 1 month ago
CC:
agrieve+watch_chromium.org, chromium-reviews, darin-cc_chromium.org, dominickn+watch_chromium.org, jam, pkotwicz+watch_chromium.org, zpeng+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Pass JavaRef to Java methods in ui. Update code in ui to use JavaRef when calling Java methods via JNI, instead of passing bare jobject. Various function parameter types are converted from jobject to JavaRef to enable calls to obj() higher up the call chain to be removed. BUG=506850 Committed: https://crrev.com/d64eb5130630171caa5eac6d0994a2bb4588ac39 Cr-Commit-Position: refs/heads/master@{#427053}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -25 lines) Patch
M chrome/browser/android/shortcut_helper.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/android/composited_touch_handle_drawable.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/web_contents/web_contents_android.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/android/resources/resource_manager_impl.h View 2 chunks +3 lines, -1 line 0 comments Download
M ui/android/resources/resource_manager_impl.cc View 4 chunks +5 lines, -4 lines 0 comments Download
M ui/gfx/android/java_bitmap.h View 3 chunks +4 lines, -3 lines 3 comments Download
M ui/gfx/android/java_bitmap.cc View 4 chunks +9 lines, -8 lines 0 comments Download
M ui/gfx/android/view_configuration.cc View 1 chunk +10 lines, -6 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
Torne
+tedchoc and +aelias to cover owners and hopefully get opinions on my concern detailed below; ...
4 years, 2 months ago (2016-10-14 13:23:29 UTC) #2
aelias_OOO_until_Jul13
lgtm https://codereview.chromium.org/2417263002/diff/1/ui/gfx/android/java_bitmap.h File ui/gfx/android/java_bitmap.h (right): https://codereview.chromium.org/2417263002/diff/1/ui/gfx/android/java_bitmap.h#newcode45 ui/gfx/android/java_bitmap.h:45: base::android::ScopedJavaGlobalRef<jobject> bitmap_; On 2016/10/14 at 13:23:29, Torne wrote: ...
4 years, 2 months ago (2016-10-14 19:30:34 UTC) #3
Ted C
lgtm https://codereview.chromium.org/2417263002/diff/1/ui/gfx/android/java_bitmap.h File ui/gfx/android/java_bitmap.h (right): https://codereview.chromium.org/2417263002/diff/1/ui/gfx/android/java_bitmap.h#newcode45 ui/gfx/android/java_bitmap.h:45: base::android::ScopedJavaGlobalRef<jobject> bitmap_; On 2016/10/14 19:30:34, aelias wrote: > ...
4 years, 2 months ago (2016-10-14 20:40:37 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2417263002/1
4 years, 1 month ago (2016-10-24 12:01:40 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-10-24 12:51:53 UTC) #7
commit-bot: I haz the power
4 years, 1 month ago (2016-10-24 12:54:36 UTC) #9
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/d64eb5130630171caa5eac6d0994a2bb4588ac39
Cr-Commit-Position: refs/heads/master@{#427053}

Powered by Google App Engine
This is Rietveld 408576698