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

Issue 15458003: Plugs in the new thumbnailing algorithm to ThumbnailTabHelper. (Closed)

Created:
7 years, 7 months ago by motek.
Modified:
7 years, 6 months ago
Reviewers:
mazda, Nico
CC:
chromium-reviews
Visibility:
Public.

Description

Plugs in the new thumbnailing algorithm to ThumbnailTabHelper. The new method is available as preview under a command line switch. Some algorithm fixes remain + a proper Finch experiment. BUG=155269 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=203856

Patch Set 1 #

Patch Set 2 : Added unit tests. #

Total comments: 34

Patch Set 3 : Addressed reviewer's remarks (1/2). #

Patch Set 4 : Completed first round of review fixes - file and class rename. #

Patch Set 5 : Fixing up details to make clang happy. #

Total comments: 10

Patch Set 6 : Fixed nits. #

Total comments: 4

Patch Set 7 : Fixed spelling and static decls. #

Patch Set 8 : Fixed up a compile problem (indpendent change). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+588 lines, -42 lines) Patch
M chrome/browser/thumbnails/content_analysis.h View 1 2 3 4 5 6 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/thumbnails/content_analysis.cc View 1 2 3 4 5 6 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/thumbnails/content_analysis_unittest.cc View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
A chrome/browser/thumbnails/content_based_thumbnailing_algorithm.h View 1 2 3 4 5 6 1 chunk +61 lines, -0 lines 0 comments Download
A chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc View 1 2 3 4 5 6 1 chunk +237 lines, -0 lines 0 comments Download
A chrome/browser/thumbnails/content_based_thumbnailing_algorithm_unittest.cc View 1 2 3 4 5 6 7 1 chunk +168 lines, -0 lines 0 comments Download
M chrome/browser/thumbnails/simple_thumbnail_crop.h View 1 2 2 chunks +10 lines, -5 lines 0 comments Download
M chrome/browser/thumbnails/simple_thumbnail_crop.cc View 1 2 3 chunks +21 lines, -20 lines 0 comments Download
M chrome/browser/thumbnails/simple_thumbnail_crop_unittest.cc View 1 2 3 4 5 1 chunk +34 lines, -0 lines 0 comments Download
M chrome/browser/thumbnails/thumbnail_service_impl.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/thumbnails/thumbnail_service_impl.cc View 1 2 3 4 5 6 7 4 chunks +20 lines, -3 lines 0 comments Download
M chrome/browser/thumbnails/thumbnail_tab_helper.cc View 1 2 3 4 5 6 7 3 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/thumbnails/thumbnailing_algorithm.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/thumbnails/thumbnailing_context.h View 1 2 3 4 3 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/thumbnails/thumbnailing_context.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
motek.
mazda@: could I trouble you for a review? Regards, motek.
7 years, 7 months ago (2013-05-22 21:43:36 UTC) #1
mazda
https://codereview.chromium.org/15458003/diff/2001/chrome/browser/thumbnails/advanced_thumbnail_crop.cc File chrome/browser/thumbnails/advanced_thumbnail_crop.cc (right): https://codereview.chromium.org/15458003/diff/2001/chrome/browser/thumbnails/advanced_thumbnail_crop.cc#newcode18 chrome/browser/thumbnails/advanced_thumbnail_crop.cc:18: namespace { nit: add one empty line https://codereview.chromium.org/15458003/diff/2001/chrome/browser/thumbnails/advanced_thumbnail_crop.cc#newcode29 chrome/browser/thumbnails/advanced_thumbnail_crop.cc:29: ...
7 years, 7 months ago (2013-05-23 19:13:57 UTC) #2
motek.
https://chromiumcodereview.appspot.com/15458003/diff/2001/chrome/browser/thumbnails/advanced_thumbnail_crop.cc File chrome/browser/thumbnails/advanced_thumbnail_crop.cc (right): https://chromiumcodereview.appspot.com/15458003/diff/2001/chrome/browser/thumbnails/advanced_thumbnail_crop.cc#newcode18 chrome/browser/thumbnails/advanced_thumbnail_crop.cc:18: namespace { On 2013/05/23 19:13:57, mazda wrote: > nit: ...
7 years, 6 months ago (2013-05-27 16:54:54 UTC) #3
mazda
Sorry for the delay. LGTM with a few nits. https://codereview.chromium.org/15458003/diff/34001/chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc File chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc (right): https://codereview.chromium.org/15458003/diff/34001/chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc#newcode108 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc:108: ...
7 years, 6 months ago (2013-05-29 21:50:27 UTC) #4
motek.
https://chromiumcodereview.appspot.com/15458003/diff/34001/chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc File chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc (right): https://chromiumcodereview.appspot.com/15458003/diff/34001/chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc#newcode108 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc:108: On 2013/05/29 21:50:27, mazda wrote: > nit: remove the ...
7 years, 6 months ago (2013-05-30 15:00:03 UTC) #5
motek.
thakis@: OWNERS' The CL has been reviewed for content (mazda@) already but owner's review of ...
7 years, 6 months ago (2013-05-30 15:05:39 UTC) #6
Nico
That's a lot of code for computing thumbnails. Are there any thumbnail computation speed (== ...
7 years, 6 months ago (2013-05-30 18:19:17 UTC) #7
motek.
On 2013/05/30 18:19:17, Nico wrote: > That's a lot of code for computing thumbnails. It ...
7 years, 6 months ago (2013-05-30 20:25:01 UTC) #8
motek.
https://chromiumcodereview.appspot.com/15458003/diff/49001/chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc File chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc (right): https://chromiumcodereview.appspot.com/15458003/diff/49001/chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc#newcode20 chrome/browser/thumbnails/content_based_thumbnailing_algorithm.cc:20: static const char kThumbnailHistogramName[] = "Thumbnail.RetargetMS"; On 2013/05/30 18:19:17, ...
7 years, 6 months ago (2013-05-30 20:25:09 UTC) #9
Nico
On Thu, May 30, 2013 at 1:25 PM, <motek@chromium.org> wrote: > On 2013/05/30 18:19:17, Nico ...
7 years, 6 months ago (2013-05-31 21:22:44 UTC) #10
Nico
This CL LGTM.
7 years, 6 months ago (2013-05-31 21:25:05 UTC) #11
motek.
On 2013/05/31 21:22:44, Nico wrote: > On Thu, May 30, 2013 at 1:25 PM, <mailto:motek@chromium.org> ...
7 years, 6 months ago (2013-06-03 15:10:16 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/motek@chromium.org/15458003/62003
7 years, 6 months ago (2013-06-03 15:11:12 UTC) #13
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 6 months ago (2013-06-03 15:30:36 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/motek@chromium.org/15458003/74003
7 years, 6 months ago (2013-06-03 17:36:23 UTC) #15
commit-bot: I haz the power
7 years, 6 months ago (2013-06-04 06:04:11 UTC) #16
Message was sent while issue was closed.
Change committed as 203856

Powered by Google App Engine
This is Rietveld 408576698