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

Issue 10831207: Make ThumbnailGenerator support high DPI. (Closed)

Created:
8 years, 4 months ago by mazda
Modified:
8 years, 4 months ago
Reviewers:
brettw, oshima
CC:
chromium-reviews, Avi (use Gerrit), ajwong+watch_chromium.org, creis+watch_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Make ThumbnailGenerator support high DPI. - Store 2x thumbnail when the primary monitor has ui::SCALE_FACTOR_200P. - Copy the constant size of pixels from RWHV regardless of the view's device scale factor. BUG=125043 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=152450

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : address comment #

Total comments: 2

Patch Set 4 : change if-defs for win #

Patch Set 5 : #

Total comments: 4

Patch Set 6 : change LOG to DLOG #

Patch Set 7 : add TODO comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -29 lines) Patch
M chrome/browser/tab_contents/thumbnail_generator.cc View 1 2 3 4 5 6 7 chunks +65 lines, -29 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
mazda
8 years, 4 months ago (2012-08-08 16:57:59 UTC) #1
oshima
http://codereview.chromium.org/10831207/diff/1002/chrome/browser/tab_contents/thumbnail_generator.cc File chrome/browser/tab_contents/thumbnail_generator.cc (right): http://codereview.chromium.org/10831207/diff/1002/chrome/browser/tab_contents/thumbnail_generator.cc#newcode130 chrome/browser/tab_contents/thumbnail_generator.cc:130: gfx::Display primary_display = gfx::Screen::GetPrimaryDisplay(); Can you add comment TODO(oshima): ...
8 years, 4 months ago (2012-08-09 02:11:02 UTC) #2
mazda
Thank you for the review. Please take another look. http://codereview.chromium.org/10831207/diff/1002/chrome/browser/tab_contents/thumbnail_generator.cc File chrome/browser/tab_contents/thumbnail_generator.cc (right): http://codereview.chromium.org/10831207/diff/1002/chrome/browser/tab_contents/thumbnail_generator.cc#newcode130 chrome/browser/tab_contents/thumbnail_generator.cc:130: ...
8 years, 4 months ago (2012-08-09 17:07:38 UTC) #3
oshima
lgtm for non windows part. On 2012/08/09 17:07:38, mazda wrote: > Thank you for the ...
8 years, 4 months ago (2012-08-10 02:00:22 UTC) #4
oshima
lgtm w/nits (forgot to send other comments) http://codereview.chromium.org/10831207/diff/1002/chrome/browser/tab_contents/thumbnail_generator.cc File chrome/browser/tab_contents/thumbnail_generator.cc (right): http://codereview.chromium.org/10831207/diff/1002/chrome/browser/tab_contents/thumbnail_generator.cc#newcode83 chrome/browser/tab_contents/thumbnail_generator.cc:83: // factor ...
8 years, 4 months ago (2012-08-10 02:01:15 UTC) #5
mazda
Sorry for the belated reply. It turned out I didn't need to add if-defs for ...
8 years, 4 months ago (2012-08-17 06:10:51 UTC) #6
mazda
+brettw Could you do an OWNERS review for chrome/browser/tab_contents?
8 years, 4 months ago (2012-08-17 17:28:18 UTC) #7
brettw
http://codereview.chromium.org/10831207/diff/1006/chrome/browser/tab_contents/thumbnail_generator.cc File chrome/browser/tab_contents/thumbnail_generator.cc (right): http://codereview.chromium.org/10831207/diff/1006/chrome/browser/tab_contents/thumbnail_generator.cc#newcode101 chrome/browser/tab_contents/thumbnail_generator.cc:101: // display alleviates the aliasing. One thing that's not ...
8 years, 4 months ago (2012-08-19 23:36:55 UTC) #8
mazda
Thank you for the review. http://codereview.chromium.org/10831207/diff/1006/chrome/browser/tab_contents/thumbnail_generator.cc File chrome/browser/tab_contents/thumbnail_generator.cc (right): http://codereview.chromium.org/10831207/diff/1006/chrome/browser/tab_contents/thumbnail_generator.cc#newcode101 chrome/browser/tab_contents/thumbnail_generator.cc:101: // display alleviates the ...
8 years, 4 months ago (2012-08-20 16:04:26 UTC) #9
brettw
Okay, can you clarify with a todo that this behavior should be changed once that ...
8 years, 4 months ago (2012-08-20 17:25:18 UTC) #10
brettw
lgtm with that
8 years, 4 months ago (2012-08-20 17:25:32 UTC) #11
mazda
On 2012/08/20 17:25:18, brettw wrote: > Okay, can you clarify with a todo that this ...
8 years, 4 months ago (2012-08-20 20:28:07 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mazda@chromium.org/10831207/1008
8 years, 4 months ago (2012-08-20 20:28:30 UTC) #13
commit-bot: I haz the power
8 years, 4 months ago (2012-08-21 00:43:41 UTC) #14
Change committed as 152450

Powered by Google App Engine
This is Rietveld 408576698