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

Issue 2118853002: Fix pixelation of tab borders when device scale changes (abandoned) (Closed)

Created:
4 years, 5 months ago by Greg Levin
Modified:
3 years, 10 months ago
Reviewers:
Peter Kasting, oshima
CC:
chromium-reviews, tfarina, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix pixelation of tab borders when device scale changes BUG=621139 TEST=Open browser, change device resolution (CTRL+SHIFT+ +/-), observe quality of inactive tab borders. NOTE: After some discussion in the comments, this CL was abandoned in favor of a simpler approach: https://codereview.chromium.org/2246213003/

Patch Set 1 #

Patch Set 2 : Use CanvasImageSource to draw at different scales #

Total comments: 11

Patch Set 3 : Move PaintBackgroundParams to cc file #

Patch Set 4 : Address review #

Total comments: 12

Patch Set 5 : Address review 2 #

Total comments: 8

Patch Set 6 : Address review 3 #

Total comments: 2

Patch Set 7 : Merge #

Patch Set 8 : Remove hc arg #

Total comments: 15

Patch Set 9 : Merge with recent fill_/stroke_canvas CL #

Total comments: 2

Patch Set 10 : Address review 4 #

Patch Set 11 : Merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+150 lines, -103 lines) Patch
M chrome/browser/ui/views/tabs/tab.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab.cc View 1 2 3 4 5 6 7 8 9 10 17 chunks +149 lines, -101 lines 0 comments Download

Messages

Total messages: 45 (24 generated)
Greg Levin
Please have a look!
4 years, 5 months ago (2016-07-01 15:47:53 UTC) #2
Greg Levin
On 2016/07/01 15:47:53, Greg Levin wrote: > Please have a look! pkasting@ - Actually, hold ...
4 years, 5 months ago (2016-07-01 16:04:05 UTC) #3
Greg Levin
oshima@, please have another look! https://codereview.chromium.org/2118853002/diff/20001/chrome/browser/ui/views/tabs/tab.cc File chrome/browser/ui/views/tabs/tab.cc (right): https://codereview.chromium.org/2118853002/diff/20001/chrome/browser/ui/views/tabs/tab.cc#newcode431 chrome/browser/ui/views/tabs/tab.cc:431: SkColor stroke_color; I've removed ...
4 years, 5 months ago (2016-07-12 23:23:45 UTC) #5
oshima
https://codereview.chromium.org/2118853002/diff/20001/chrome/browser/ui/views/tabs/tab.cc File chrome/browser/ui/views/tabs/tab.cc (right): https://codereview.chromium.org/2118853002/diff/20001/chrome/browser/ui/views/tabs/tab.cc#newcode1368 chrome/browser/ui/views/tabs/tab.cc:1368: gfx::ImageSkia* fill_image = params.tp->GetImageSkiaNamed(params.fill_id); instead of passing tp/fill_id etc, ...
4 years, 5 months ago (2016-07-13 20:55:28 UTC) #10
Greg Levin
Please have another look! https://codereview.chromium.org/2118853002/diff/20001/chrome/browser/ui/views/tabs/tab.cc File chrome/browser/ui/views/tabs/tab.cc (right): https://codereview.chromium.org/2118853002/diff/20001/chrome/browser/ui/views/tabs/tab.cc#newcode1368 chrome/browser/ui/views/tabs/tab.cc:1368: gfx::ImageSkia* fill_image = params.tp->GetImageSkiaNamed(params.fill_id); On ...
4 years, 5 months ago (2016-07-15 22:24:48 UTC) #11
Peter Kasting
On 2016/07/01 16:04:05, Greg Levin (OOO 7.18-7.22) wrote: > On 2016/07/01 15:47:53, Greg Levin wrote: ...
4 years, 5 months ago (2016-07-18 18:05:29 UTC) #12
Greg Levin
On 2016/07/18 18:05:29, Peter Kasting (slow) wrote: > On 2016/07/01 16:04:05, Greg Levin (OOO 7.18-7.22) ...
4 years, 5 months ago (2016-07-19 06:52:35 UTC) #13
oshima
https://codereview.chromium.org/2118853002/diff/60001/chrome/browser/ui/views/tabs/tab.cc File chrome/browser/ui/views/tabs/tab.cc (right): https://codereview.chromium.org/2118853002/diff/60001/chrome/browser/ui/views/tabs/tab.cc#newcode124 chrome/browser/ui/views/tabs/tab.cc:124: views::GlowHoverController* hc; I was hoping that we can resolve ...
4 years, 4 months ago (2016-07-26 21:11:26 UTC) #14
Greg Levin
oshima@- Please have another look! pkasting@- Things seem fairly stable, could you take a look ...
4 years, 4 months ago (2016-07-28 15:48:04 UTC) #15
oshima
https://codereview.chromium.org/2118853002/diff/60001/chrome/browser/ui/views/tabs/tab.cc File chrome/browser/ui/views/tabs/tab.cc (right): https://codereview.chromium.org/2118853002/diff/60001/chrome/browser/ui/views/tabs/tab.cc#newcode127 chrome/browser/ui/views/tabs/tab.cc:127: bool has_custom_image; On 2016/07/28 15:48:04, Greg Levin wrote: > ...
4 years, 4 months ago (2016-07-28 16:56:06 UTC) #16
Greg Levin
Please have another look! https://codereview.chromium.org/2118853002/diff/60001/chrome/browser/ui/views/tabs/tab.cc File chrome/browser/ui/views/tabs/tab.cc (right): https://codereview.chromium.org/2118853002/diff/60001/chrome/browser/ui/views/tabs/tab.cc#newcode127 chrome/browser/ui/views/tabs/tab.cc:127: bool has_custom_image; On 2016/07/28 16:56:06, ...
4 years, 4 months ago (2016-07-28 20:03:54 UTC) #17
oshima
these are just my preference, and I'll defer to owners. https://codereview.chromium.org/2118853002/diff/80001/chrome/browser/ui/views/tabs/tab.cc File chrome/browser/ui/views/tabs/tab.cc (right): https://codereview.chromium.org/2118853002/diff/80001/chrome/browser/ui/views/tabs/tab.cc#newcode128 ...
4 years, 4 months ago (2016-07-28 20:45:48 UTC) #20
Greg Levin
Here's the latest version, please have another look! Patch Set 7: Merged with changes from ...
4 years, 4 months ago (2016-08-10 20:03:10 UTC) #24
Peter Kasting
Basically LGTM, my biggest question is simply the first one below about why the existing ...
4 years, 4 months ago (2016-08-10 21:02:03 UTC) #27
Greg Levin
pkasting@, could you have a look at this merge with https://codereview.chromium.org/2210033002/? I want to see ...
4 years, 4 months ago (2016-08-11 20:53:28 UTC) #30
Peter Kasting
I think this approach works. I wonder if we should split the tab background-painting function ...
4 years, 4 months ago (2016-08-11 22:51:15 UTC) #31
Greg Levin
Addressed all recent comments, please have another look! Also, could you let me know what ...
4 years, 4 months ago (2016-08-12 19:48:15 UTC) #34
Peter Kasting
To test stacked tab mode if you don't have a touch input device, you need ...
4 years, 4 months ago (2016-08-13 06:38:33 UTC) #37
Greg Levin
pkasting@- let me know if my most recent replies sufficiently address your concerns, or if ...
4 years, 4 months ago (2016-08-15 18:40:18 UTC) #38
Peter Kasting
https://codereview.chromium.org/2118853002/diff/160001/chrome/browser/ui/views/tabs/tab.cc File chrome/browser/ui/views/tabs/tab.cc (left): https://codereview.chromium.org/2118853002/diff/160001/chrome/browser/ui/views/tabs/tab.cc#oldcode1576 chrome/browser/ui/views/tabs/tab.cc:1576: ui::GetSupportedScaleFactor(canvas->image_scale()), size()); On 2016/08/15 18:40:18, Greg Levin wrote: > ...
4 years, 4 months ago (2016-08-15 21:44:52 UTC) #43
Peter Kasting
3 years, 10 months ago (2017-02-11 02:07:16 UTC) #45
Closing.  FYI, if you want to abandon a CL, be sure to explicitly close it (with
the (X) button next to the issue title) so it doesn't stay in people's queues.

Powered by Google App Engine
This is Rietveld 408576698