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

Issue 896093007: [Android] Open up API in jni bridge to fetch images from tab (Closed)

Created:
5 years, 10 months ago by Ian Wen
Modified:
5 years, 10 months ago
CC:
chromium-reviews, noyau+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Android] Open up API in jni bridge to fetch images from tab Enhanced bookmark feature requires the user to see the image immediately when he bookmarks a page. By openning this API, the java side can now call it when the user clicks star button. BUG=454623 Committed: https://crrev.com/6a6dc80aab193de63e92ead8b97cf33a6e925fee Cr-Commit-Position: refs/heads/master@{#315454}

Patch Set 1 #

Patch Set 2 : add javadoc #

Total comments: 6

Patch Set 3 : #

Total comments: 4

Patch Set 4 : nits fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -8 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/EnhancedBookmarksBridge.java View 1 2 3 3 chunks +12 lines, -1 line 0 comments Download
M chrome/browser/enhanced_bookmarks/android/enhanced_bookmarks_bridge.h View 1 2 3 3 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/enhanced_bookmarks/android/enhanced_bookmarks_bridge.cc View 1 2 5 chunks +13 lines, -3 lines 0 comments Download

Messages

Total messages: 22 (6 generated)
Ian Wen
Downstream CL: https://chrome-internal-review.googlesource.com/#/c/196255/
5 years, 10 months ago (2015-02-06 02:11:37 UTC) #2
Ted C
lgtm https://codereview.chromium.org/896093007/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/EnhancedBookmarksBridge.java File chrome/android/java/src/org/chromium/chrome/browser/EnhancedBookmarksBridge.java (right): https://codereview.chromium.org/896093007/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/EnhancedBookmarksBridge.java#newcode252 chrome/android/java/src/org/chromium/chrome/browser/EnhancedBookmarksBridge.java:252: public void fetchImageForTab(Tab tab) { I would pass ...
5 years, 10 months ago (2015-02-06 20:13:29 UTC) #3
Kibeom Kim (inactive)
https://codereview.chromium.org/896093007/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/EnhancedBookmarksBridge.java File chrome/android/java/src/org/chromium/chrome/browser/EnhancedBookmarksBridge.java (right): https://codereview.chromium.org/896093007/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/EnhancedBookmarksBridge.java#newcode252 chrome/android/java/src/org/chromium/chrome/browser/EnhancedBookmarksBridge.java:252: public void fetchImageForTab(Tab tab) { This will also update ...
5 years, 10 months ago (2015-02-06 20:54:02 UTC) #4
Ian Wen
https://codereview.chromium.org/896093007/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/EnhancedBookmarksBridge.java File chrome/android/java/src/org/chromium/chrome/browser/EnhancedBookmarksBridge.java (right): https://codereview.chromium.org/896093007/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/EnhancedBookmarksBridge.java#newcode252 chrome/android/java/src/org/chromium/chrome/browser/EnhancedBookmarksBridge.java:252: public void fetchImageForTab(Tab tab) { On 2015/02/06 20:54:02, Kibeom ...
5 years, 10 months ago (2015-02-06 22:48:44 UTC) #5
Kibeom Kim (inactive)
On 2015/02/06 22:48:44, Ian Wen wrote: > Hmmm.. The scenario you mentioned is not specific ...
5 years, 10 months ago (2015-02-06 23:02:33 UTC) #6
Kibeom Kim (inactive)
https://codereview.chromium.org/896093007/diff/20001/chrome/browser/enhanced_bookmarks/android/enhanced_bookmarks_bridge.cc File chrome/browser/enhanced_bookmarks/android/enhanced_bookmarks_bridge.cc (right): https://codereview.chromium.org/896093007/diff/20001/chrome/browser/enhanced_bookmarks/android/enhanced_bookmarks_bridge.cc#newcode118 chrome/browser/enhanced_bookmarks/android/enhanced_bookmarks_bridge.cc:118: } In addition to using WebContent, since this is ...
5 years, 10 months ago (2015-02-09 21:30:35 UTC) #7
Ian Wen
https://codereview.chromium.org/896093007/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/EnhancedBookmarksBridge.java File chrome/android/java/src/org/chromium/chrome/browser/EnhancedBookmarksBridge.java (right): https://codereview.chromium.org/896093007/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/EnhancedBookmarksBridge.java#newcode252 chrome/android/java/src/org/chromium/chrome/browser/EnhancedBookmarksBridge.java:252: public void fetchImageForTab(Tab tab) { On 2015/02/06 20:13:28, Ted ...
5 years, 10 months ago (2015-02-09 21:53:17 UTC) #8
Kibeom Kim (inactive)
https://codereview.chromium.org/896093007/diff/20001/chrome/browser/enhanced_bookmarks/android/enhanced_bookmarks_bridge.cc File chrome/browser/enhanced_bookmarks/android/enhanced_bookmarks_bridge.cc (right): https://codereview.chromium.org/896093007/diff/20001/chrome/browser/enhanced_bookmarks/android/enhanced_bookmarks_bridge.cc#newcode118 chrome/browser/enhanced_bookmarks/android/enhanced_bookmarks_bridge.cc:118: } On 2015/02/09 21:30:34, Kibeom Kim wrote: > In ...
5 years, 10 months ago (2015-02-09 21:57:24 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/896093007/20001
5 years, 10 months ago (2015-02-09 22:10:10 UTC) #11
Ian Wen
lgtm? enhanced_bookmark_bridge lives in chrome/browser/enhanced_bookmarks/ folder. On Mon Feb 09 2015 at 2:10:11 PM <commit-bot@chromium.org> ...
5 years, 10 months ago (2015-02-09 22:12:14 UTC) #13
Kibeom Kim (inactive)
did you miss uploading a new patchset?
5 years, 10 months ago (2015-02-09 22:14:44 UTC) #14
Kibeom Kim (inactive)
lgtm with nits https://codereview.chromium.org/896093007/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/EnhancedBookmarksBridge.java File chrome/android/java/src/org/chromium/chrome/browser/EnhancedBookmarksBridge.java (right): https://codereview.chromium.org/896093007/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/EnhancedBookmarksBridge.java#newcode250 chrome/android/java/src/org/chromium/chrome/browser/EnhancedBookmarksBridge.java:250: * Parses the web content of ...
5 years, 10 months ago (2015-02-09 22:29:44 UTC) #16
Ian Wen
https://codereview.chromium.org/896093007/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/EnhancedBookmarksBridge.java File chrome/android/java/src/org/chromium/chrome/browser/EnhancedBookmarksBridge.java (right): https://codereview.chromium.org/896093007/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/EnhancedBookmarksBridge.java#newcode250 chrome/android/java/src/org/chromium/chrome/browser/EnhancedBookmarksBridge.java:250: * Parses the web content of the given tab, ...
5 years, 10 months ago (2015-02-10 00:13:39 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/896093007/60001
5 years, 10 months ago (2015-02-10 00:14:45 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 10 months ago (2015-02-10 00:42:20 UTC) #21
commit-bot: I haz the power
5 years, 10 months ago (2015-02-10 00:42:59 UTC) #22
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/6a6dc80aab193de63e92ead8b97cf33a6e925fee
Cr-Commit-Position: refs/heads/master@{#315454}

Powered by Google App Engine
This is Rietveld 408576698