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

Issue 1424983002: Invalidate scrollbars when window activity changes if needed (Closed)

Created:
5 years, 1 month ago by Elly Fong-Jones
Modified:
5 years ago
CC:
blink-reviews, chrishtr, chromium-reviews, dcheng, pdr., Ian Vollick
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Invalidate scrollbars when window activity changes if needed Non-overlay Mac scrollbars have different appearances for active vs inactive windows, so pass activity changes down to Scrollbar, and have Scrollbar invalidate itself if the ScrollbarTheme calls for it. BUG=535984 Committed: https://crrev.com/d0a6f1fa930ce84598393a735c50a6cfc4e4e70b Cr-Commit-Position: refs/heads/master@{#362630}

Patch Set 1 #

Total comments: 2

Patch Set 2 : be forceful about 10.6-only #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -1 line) Patch
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/mac/VersionUtilMac.h View 1 1 chunk +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/mac/VersionUtilMac.mm View 1 2 chunks +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/Scrollbar.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/Scrollbar.cpp View 1 2 chunks +20 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollbarTheme.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacNonOverlayAPI.h View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 27 (11 generated)
Elly Fong-Jones
dcheng, thakis: PTAL? :)
5 years, 1 month ago (2015-10-28 12:44:13 UTC) #3
dcheng
The changes seem reasonable to me, but this is not an area of expertise for ...
5 years, 1 month ago (2015-10-28 17:12:24 UTC) #5
dcheng
Also... any chance of adding a layout test?
5 years, 1 month ago (2015-10-28 17:12:41 UTC) #6
ojan
https://codereview.chromium.org/1424983002/diff/1/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacNonOverlayAPI.h File third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacNonOverlayAPI.h (right): https://codereview.chromium.org/1424983002/diff/1/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacNonOverlayAPI.h#newcode44 third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacNonOverlayAPI.h:44: bool invalidateOnWindowActiveChange() const override { return true; } This ...
5 years, 1 month ago (2015-10-29 00:25:25 UTC) #9
Elly Fong-Jones
https://codereview.chromium.org/1424983002/diff/1/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacNonOverlayAPI.h File third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacNonOverlayAPI.h (right): https://codereview.chromium.org/1424983002/diff/1/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacNonOverlayAPI.h#newcode44 third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacNonOverlayAPI.h:44: bool invalidateOnWindowActiveChange() const override { return true; } On ...
5 years, 1 month ago (2015-10-29 15:12:40 UTC) #10
ojan
Elly and I chatted offline. She clarified that ScrollbarThemeMacNonOverlayAPI should get deleted entirely when we ...
5 years ago (2015-11-30 19:28:58 UTC) #11
Elly Fong-Jones
On 2015/11/30 19:28:58, ojan wrote: > Elly and I chatted offline. She clarified that ScrollbarThemeMacNonOverlayAPI ...
5 years ago (2015-12-01 13:53:08 UTC) #12
ojan
lgtm
5 years ago (2015-12-02 01:47:01 UTC) #14
ojan
Hmmm...I swear I had added paint people to this code review in my first response ...
5 years ago (2015-12-02 01:48:10 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1424983002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1424983002/20001
5 years ago (2015-12-02 01:48:32 UTC) #16
chrishtr
Looks cool to me. Thanks for looping me in.
5 years ago (2015-12-02 02:01:58 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/123879)
5 years ago (2015-12-02 02:49:30 UTC) #20
esprehn
lgtm
5 years ago (2015-12-02 03:30:08 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1424983002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1424983002/20001
5 years ago (2015-12-02 03:30:35 UTC) #23
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years ago (2015-12-02 04:27:39 UTC) #25
commit-bot: I haz the power
5 years ago (2015-12-02 04:28:19 UTC) #27
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d0a6f1fa930ce84598393a735c50a6cfc4e4e70b
Cr-Commit-Position: refs/heads/master@{#362630}

Powered by Google App Engine
This is Rietveld 408576698