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

Issue 364793005: Implementation of GetFavicon for current tab. (Closed)

Created:
6 years, 5 months ago by Jitu( very slow this week)
Modified:
6 years, 4 months ago
CC:
chromium-reviews, avayvod+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Implementation of GetFavicon for current tab. This patch returns the bitmap of the current tab favicon. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289275

Patch Set 1 #

Total comments: 7

Patch Set 2 : Fixed the review comments #

Total comments: 1

Patch Set 3 : Rename function #

Total comments: 4

Patch Set 4 : Fixed the review comment #

Total comments: 6

Patch Set 5 : Scaled favicon image to 16x16 size #

Total comments: 1

Patch Set 6 : Cache the favicon #

Total comments: 6

Patch Set 7 : Resize to 16X16 dp #

Total comments: 7

Patch Set 8 : Fixed review comments #

Total comments: 1

Patch Set 9 : Fix the review comments and rebase the patch #

Total comments: 3

Patch Set 10 : Changed as per suggested #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -2 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/Tab.java View 1 2 3 4 5 6 7 8 4 chunks +15 lines, -2 lines 0 comments Download
M chrome/browser/android/tab_android.h View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/android/tab_android.cc View 1 2 3 4 5 6 7 8 9 3 chunks +46 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (0 generated)
Jitu( very slow this week)
PTAL
6 years, 5 months ago (2014-07-02 12:16:53 UTC) #1
Bernhard Bauer
Nice, thanks! https://codereview.chromium.org/364793005/diff/1/chrome/android/java/src/org/chromium/chrome/browser/Tab.java File chrome/android/java/src/org/chromium/chrome/browser/Tab.java (right): https://codereview.chromium.org/364793005/diff/1/chrome/android/java/src/org/chromium/chrome/browser/Tab.java#newcode886 chrome/android/java/src/org/chromium/chrome/browser/Tab.java:886: if (mNativeTabAndroid != 0) Nit: I would ...
6 years, 5 months ago (2014-07-02 13:32:29 UTC) #2
Jitu( very slow this week)
Fixed the review comment. PTAL https://codereview.chromium.org/364793005/diff/1/chrome/android/java/src/org/chromium/chrome/browser/Tab.java File chrome/android/java/src/org/chromium/chrome/browser/Tab.java (right): https://codereview.chromium.org/364793005/diff/1/chrome/android/java/src/org/chromium/chrome/browser/Tab.java#newcode886 chrome/android/java/src/org/chromium/chrome/browser/Tab.java:886: if (mNativeTabAndroid != 0) ...
6 years, 5 months ago (2014-07-02 13:54:56 UTC) #3
Jitu( very slow this week)
PTAL
6 years, 5 months ago (2014-07-02 14:05:55 UTC) #4
Bernhard Bauer
https://codereview.chromium.org/364793005/diff/20001/chrome/browser/android/tab_android.h File chrome/browser/android/tab_android.h (right): https://codereview.chromium.org/364793005/diff/20001/chrome/browser/android/tab_android.h#newcode153 chrome/browser/android/tab_android.h:153: jobject obj); I think I would rename this back. ...
6 years, 5 months ago (2014-07-02 14:09:40 UTC) #5
Jitu( very slow this week)
PTAL
6 years, 5 months ago (2014-07-02 14:19:38 UTC) #6
Bernhard Bauer
LGTM, but you might want to wait for David and/or Yaron to take a look ...
6 years, 5 months ago (2014-07-02 14:24:52 UTC) #7
Yaron
https://codereview.chromium.org/364793005/diff/30001/chrome/android/java/src/org/chromium/chrome/browser/Tab.java File chrome/android/java/src/org/chromium/chrome/browser/Tab.java (right): https://codereview.chromium.org/364793005/diff/30001/chrome/android/java/src/org/chromium/chrome/browser/Tab.java#newcode883 chrome/android/java/src/org/chromium/chrome/browser/Tab.java:883: * TODO(bauerb): Upstream implementation. At a minimum this needs ...
6 years, 5 months ago (2014-07-02 17:43:09 UTC) #8
Jitu( very slow this week)
Fixed the review comments. PTAL https://codereview.chromium.org/364793005/diff/30001/chrome/android/java/src/org/chromium/chrome/browser/Tab.java File chrome/android/java/src/org/chromium/chrome/browser/Tab.java (right): https://codereview.chromium.org/364793005/diff/30001/chrome/android/java/src/org/chromium/chrome/browser/Tab.java#newcode883 chrome/android/java/src/org/chromium/chrome/browser/Tab.java:883: * TODO(bauerb): Upstream implementation. ...
6 years, 5 months ago (2014-07-03 12:21:17 UTC) #9
David Trainor- moved to gerrit
https://chromiumcodereview.appspot.com/364793005/diff/50001/chrome/android/java/src/org/chromium/chrome/browser/Tab.java File chrome/android/java/src/org/chromium/chrome/browser/Tab.java (right): https://chromiumcodereview.appspot.com/364793005/diff/50001/chrome/android/java/src/org/chromium/chrome/browser/Tab.java#newcode884 chrome/android/java/src/org/chromium/chrome/browser/Tab.java:884: public Bitmap getFavicon() { We need to make sure ...
6 years, 5 months ago (2014-07-07 17:59:04 UTC) #10
Jitu( very slow this week)
@David, PTAL to this patch. Also i have some queries. Thanks https://codereview.chromium.org/364793005/diff/50001/chrome/android/java/src/org/chromium/chrome/browser/Tab.java File chrome/android/java/src/org/chromium/chrome/browser/Tab.java (right): ...
6 years, 5 months ago (2014-07-09 11:07:12 UTC) #11
David Trainor- moved to gerrit
On 2014/07/09 11:07:12, Jitu wrote: > @David, > > PTAL to this patch. > > ...
6 years, 5 months ago (2014-07-09 20:34:43 UTC) #12
David Trainor- moved to gerrit
https://chromiumcodereview.appspot.com/364793005/diff/70001/chrome/browser/android/tab_android.cc File chrome/browser/android/tab_android.cc (right): https://chromiumcodereview.appspot.com/364793005/diff/70001/chrome/browser/android/tab_android.cc#newcode543 chrome/browser/android/tab_android.cc:543: bitmap = gfx::ConvertToJavaBitmap(&favicon); I think this is still incorrect. ...
6 years, 5 months ago (2014-07-09 20:34:51 UTC) #13
Jitu( very slow this week)
@David, Please let me know weather this you want. or anything else which i missed.
6 years, 5 months ago (2014-07-18 10:49:59 UTC) #14
David Trainor- moved to gerrit
https://chromiumcodereview.appspot.com/364793005/diff/90001/chrome/android/java/src/org/chromium/chrome/browser/Tab.java File chrome/android/java/src/org/chromium/chrome/browser/Tab.java (right): https://chromiumcodereview.appspot.com/364793005/diff/90001/chrome/android/java/src/org/chromium/chrome/browser/Tab.java#newcode1021 chrome/android/java/src/org/chromium/chrome/browser/Tab.java:1021: if ((mFaviconUrl == null) || (!mFaviconUrl.equals(mContentViewCore.getUrl()))) { Could this ...
6 years, 5 months ago (2014-07-21 18:18:17 UTC) #15
Jitu( very slow this week)
@David, I couldn't found any API which is scale to 16dp. Can you please help ...
6 years, 5 months ago (2014-07-23 12:33:08 UTC) #16
David Trainor- moved to gerrit
On 2014/07/23 12:33:08, Jitu wrote: > @David, > > I couldn't found any API which ...
6 years, 5 months ago (2014-07-23 17:42:22 UTC) #17
Jitu( very slow this week)
PTAL... https://codereview.chromium.org/364793005/diff/90001/chrome/android/java/src/org/chromium/chrome/browser/Tab.java File chrome/android/java/src/org/chromium/chrome/browser/Tab.java (right): https://codereview.chromium.org/364793005/diff/90001/chrome/android/java/src/org/chromium/chrome/browser/Tab.java#newcode1021 chrome/android/java/src/org/chromium/chrome/browser/Tab.java:1021: if ((mFaviconUrl == null) || (!mFaviconUrl.equals(mContentViewCore.getUrl()))) { Changes ...
6 years, 5 months ago (2014-07-24 14:08:21 UTC) #18
Jitu( very slow this week)
PTAL
6 years, 5 months ago (2014-07-25 15:16:32 UTC) #19
David Trainor- moved to gerrit
https://chromiumcodereview.appspot.com/364793005/diff/110001/chrome/android/java/src/org/chromium/chrome/browser/Tab.java File chrome/android/java/src/org/chromium/chrome/browser/Tab.java (right): https://chromiumcodereview.appspot.com/364793005/diff/110001/chrome/android/java/src/org/chromium/chrome/browser/Tab.java#newcode897 chrome/android/java/src/org/chromium/chrome/browser/Tab.java:897: return null; put on line above or add {} ...
6 years, 4 months ago (2014-07-28 17:50:05 UTC) #20
Jitu( very slow this week)
@David, Fixed the comments. I have one doubt in one comment. Please clarify Thanks https://codereview.chromium.org/364793005/diff/110001/chrome/android/java/src/org/chromium/chrome/browser/Tab.java ...
6 years, 4 months ago (2014-07-30 11:33:56 UTC) #21
David Trainor- moved to gerrit
https://chromiumcodereview.appspot.com/364793005/diff/110001/chrome/browser/android/tab_android.cc File chrome/browser/android/tab_android.cc (right): https://chromiumcodereview.appspot.com/364793005/diff/110001/chrome/browser/android/tab_android.cc#newcode537 chrome/browser/android/tab_android.cc:537: if (!favicon.isNull()) { Ah sorry! I meant SkBitmap.empty() not ...
6 years, 4 months ago (2014-07-30 17:51:24 UTC) #22
Jitu( very slow this week)
On 2014/07/30 17:51:24, David Trainor wrote: > https://chromiumcodereview.appspot.com/364793005/diff/110001/chrome/browser/android/tab_android.cc > File chrome/browser/android/tab_android.cc (right): > > https://chromiumcodereview.appspot.com/364793005/diff/110001/chrome/browser/android/tab_android.cc#newcode537 ...
6 years, 4 months ago (2014-07-31 12:34:44 UTC) #23
Jitu( very slow this week)
Changes done as per suggested. PTAL... https://codereview.chromium.org/364793005/diff/150001/chrome/browser/android/tab_android.cc File chrome/browser/android/tab_android.cc (right): https://codereview.chromium.org/364793005/diff/150001/chrome/browser/android/tab_android.cc#newcode600 chrome/browser/android/tab_android.cc:600: if (favicon.empty()) { ...
6 years, 4 months ago (2014-08-01 11:35:51 UTC) #24
David Trainor- moved to gerrit
https://chromiumcodereview.appspot.com/364793005/diff/150001/chrome/browser/android/tab_android.cc File chrome/browser/android/tab_android.cc (right): https://chromiumcodereview.appspot.com/364793005/diff/150001/chrome/browser/android/tab_android.cc#newcode600 chrome/browser/android/tab_android.cc:600: if (favicon.empty()) { On 2014/08/01 11:35:50, Jitu wrote: > ...
6 years, 4 months ago (2014-08-08 20:48:58 UTC) #25
Jitu( very slow this week)
PTAL
6 years, 4 months ago (2014-08-11 10:12:52 UTC) #26
David Trainor- moved to gerrit
lgtm
6 years, 4 months ago (2014-08-13 09:52:15 UTC) #27
Jitu( very slow this week)
The CQ bit was checked by jitendra.ks@samsung.com
6 years, 4 months ago (2014-08-13 09:52:50 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jitendra.ks@samsung.com/364793005/170001
6 years, 4 months ago (2014-08-13 09:53:26 UTC) #29
commit-bot: I haz the power
6 years, 4 months ago (2014-08-13 12:59:21 UTC) #30
Message was sent while issue was closed.
Change committed as 289275

Powered by Google App Engine
This is Rietveld 408576698