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

Issue 2478743003: add Tickmarks to aura overlay scrollbar (Closed)

Created:
4 years, 1 month ago by chaopeng
Modified:
4 years, 1 month ago
Reviewers:
bokan, jbroman
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

add Tickmarks to aura overlay scrollbar In this patch, I reuse the paintTickmarks implement in ScrollbarThemeAura. It has same behavier with Tickmarks in ScrollbarThemeMac. BUG=661392 Committed: https://crrev.com/bafa9a4a5a355f516d15f09d67fea74c91c3c42b Cr-Commit-Position: refs/heads/master@{#432516}

Patch Set 1 #

Patch Set 2 : add Tickmarks to aura overlay scrollbar #

Total comments: 2

Patch Set 3 : bokan@ comments addressed #

Total comments: 1

Patch Set 4 : add NOTREACHED check and remove useless head file #

Total comments: 1

Patch Set 5 : add commit #

Patch Set 6 : ScrollbarThemeMac also use base impl #

Patch Set 7 : skip ScrollbarTheme::paintTickmarks for android #

Patch Set 8 : skip ScrollbarTheme::paintTickmarks for android #

Patch Set 9 : test mac #

Patch Set 10 : fix for mac #

Total comments: 1

Patch Set 11 : add tickmarkBorderWidth #

Patch Set 12 : typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -115 lines) Patch
M third_party/WebKit/Source/platform/scroll/ScrollbarTheme.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp View 1 2 3 4 5 6 7 8 9 10 2 chunks +45 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.h View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.cpp View 1 2 2 chunks +0 lines, -41 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.mm View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -65 lines 0 comments Download

Messages

Total messages: 77 (48 generated)
chaopeng
PTAL. I also add some screenshot to the issue.
4 years, 1 month ago (2016-11-04 19:14:39 UTC) #5
bokan
Also, are there any existing tests for tickmarks? https://codereview.chromium.org/2478743003/diff/20001/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.h File third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.h (right): https://codereview.chromium.org/2478743003/diff/20001/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.h#newcode42 third_party/WebKit/Source/platform/scroll/ScrollbarThemeAura.h:42: static ...
4 years, 1 month ago (2016-11-04 19:46:25 UTC) #7
chaopeng
On 2016/11/04 19:46:25, bokan wrote: > Also, are there any existing tests for tickmarks? > ...
4 years, 1 month ago (2016-11-04 20:44:46 UTC) #8
bokan
Ok, no test needed since we test the basic implementation and this is just enabling ...
4 years, 1 month ago (2016-11-07 16:57:39 UTC) #9
chaopeng
On 2016/11/07 16:57:39, bokan wrote: > Ok, no test needed since we test the basic ...
4 years, 1 month ago (2016-11-07 18:54:11 UTC) #10
bokan
lgtm % comment https://codereview.chromium.org/2478743003/diff/60001/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp File third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp (right): https://codereview.chromium.org/2478743003/diff/60001/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp#newcode232 third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp:232: NOTREACHED(); Just add a comment here ...
4 years, 1 month ago (2016-11-07 19:06:16 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2478743003/80001
4 years, 1 month ago (2016-11-07 20:12:06 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/298734)
4 years, 1 month ago (2016-11-07 20:22:28 UTC) #16
chaopeng
jbroman@ PTAL Thank you
4 years, 1 month ago (2016-11-07 20:25:39 UTC) #18
jbroman
rs lgtm on the basis of bokan's review But it does seem a little odd ...
4 years, 1 month ago (2016-11-07 20:31:00 UTC) #19
chaopeng
On 2016/11/07 20:31:00, jbroman wrote: > rs lgtm on the basis of bokan's review > ...
4 years, 1 month ago (2016-11-08 15:54:10 UTC) #20
bokan
On 2016/11/08 15:54:10, chaopeng wrote: > On 2016/11/07 20:31:00, jbroman wrote: > > rs lgtm ...
4 years, 1 month ago (2016-11-08 16:01:10 UTC) #21
bokan
On 2016/11/08 16:01:10, bokan wrote: > On 2016/11/08 15:54:10, chaopeng wrote: > > On 2016/11/07 ...
4 years, 1 month ago (2016-11-08 17:00:47 UTC) #22
chaopeng
On 2016/11/08 17:00:47, bokan wrote: > On 2016/11/08 16:01:10, bokan wrote: > > On 2016/11/08 ...
4 years, 1 month ago (2016-11-08 17:18:11 UTC) #23
bokan
This looks fine to me, just make sure it still works with custom scrollbars: e.g. ...
4 years, 1 month ago (2016-11-08 17:35:49 UTC) #24
chaopeng
On 2016/11/08 17:35:49, bokan wrote: > This looks fine to me, just make sure it ...
4 years, 1 month ago (2016-11-08 18:39:01 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2478743003/100001
4 years, 1 month ago (2016-11-12 00:38:19 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/66462)
4 years, 1 month ago (2016-11-12 02:11:41 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2478743003/160001
4 years, 1 month ago (2016-11-14 15:55:05 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/334585)
4 years, 1 month ago (2016-11-14 17:53:33 UTC) #36
bokan
https://codereview.chromium.org/2478743003/diff/200001/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.h File third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.h (right): https://codereview.chromium.org/2478743003/diff/200001/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.h#newcode57 third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.h:57: void paintTickmarks(GraphicsContext&, Don't override paintTickmarks. Add a new method ...
4 years, 1 month ago (2016-11-15 02:03:28 UTC) #45
chaopeng
On 2016/11/15 02:03:28, bokan wrote: > https://codereview.chromium.org/2478743003/diff/200001/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.h > File third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.h (right): > > https://codereview.chromium.org/2478743003/diff/200001/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.h#newcode57 > ...
4 years, 1 month ago (2016-11-15 03:54:14 UTC) #46
bokan
On 2016/11/15 03:54:14, chaopeng wrote: > On 2016/11/15 02:03:28, bokan wrote: > > > https://codereview.chromium.org/2478743003/diff/200001/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMac.h ...
4 years, 1 month ago (2016-11-15 12:31:42 UTC) #47
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2478743003/200001
4 years, 1 month ago (2016-11-15 14:46:17 UTC) #51
chaopeng
On 2016/11/15 12:31:42, bokan wrote: > On 2016/11/15 03:54:14, chaopeng wrote: > > On 2016/11/15 ...
4 years, 1 month ago (2016-11-15 14:59:57 UTC) #55
bokan
Sorry about the delay, didn't realize you were still waiting on me. still lgtm
4 years, 1 month ago (2016-11-16 16:36:30 UTC) #70
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2478743003/240001
4 years, 1 month ago (2016-11-16 16:37:23 UTC) #73
commit-bot: I haz the power
Committed patchset #12 (id:240001)
4 years, 1 month ago (2016-11-16 16:42:59 UTC) #75
commit-bot: I haz the power
4 years, 1 month ago (2016-11-16 16:47:22 UTC) #77
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/bafa9a4a5a355f516d15f09d67fea74c91c3c42b
Cr-Commit-Position: refs/heads/master@{#432516}

Powered by Google App Engine
This is Rietveld 408576698