Changeset 267677 in webkit
- Timestamp:
- Sep 27, 2020, 1:00:25 PM (6 years ago)
- Location:
- branches/safari-610-branch/Source
- Files:
-
- 4 edited
-
WebCore/PAL/ChangeLog (modified) (1 diff)
-
WebCore/PAL/pal/spi/mac/NSApplicationSPI.h (modified) (1 diff)
-
WebKit/ChangeLog (modified) (1 diff)
-
WebKit/UIProcess/mac/PageClientImplMac.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-610-branch/Source/WebCore/PAL/ChangeLog
r267049 r267677 1 2020-09-27 Alan Coon <alancoon@apple.com> 2 3 Cherry-pick r267215. rdar://problem/69594225 4 5 Per-app accent color overrides are broken 6 https://bugs.webkit.org/show_bug.cgi?id=216674 7 <rdar://problem/67745464> 8 9 Reviewed by Wenson Hsieh. 10 11 Source/WebCore/PAL: 12 13 * pal/spi/mac/NSApplicationSPI.h: 14 15 Source/WebKit: 16 17 No new tests; I've no idea how to write a test that would have caught this; 18 any test I can imagine would have also written to _accentColor and worked fine. 19 20 * UIProcess/mac/PageClientImplMac.mm: 21 (WebKit::PageClientImpl::accentColor): 22 AppKit changed the meaning of the IPI. Use the correct version. 23 We still write to _accentColor; it is now purely an override. 24 25 26 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267215 268f45cc-cd09-0410-ab3c-d52691b4dbfc 27 28 2020-09-17 Tim Horton <timothy_horton@apple.com> 29 30 Per-app accent color overrides are broken 31 https://bugs.webkit.org/show_bug.cgi?id=216674 32 <rdar://problem/67745464> 33 34 Reviewed by Wenson Hsieh. 35 36 * pal/spi/mac/NSApplicationSPI.h: 37 1 38 2020-09-14 Alan Coon <alancoon@apple.com> 2 39 -
branches/safari-610-branch/Source/WebCore/PAL/pal/spi/mac/NSApplicationSPI.h
r265264 r267677 38 38 // Conditionally define this only for !USE_APPLE_INTERNAL_SDK when <rdar://problem/63864711> is fixed. 39 39 @property (copy, setter=_setAccentColor:) NSColor *_accentColor; 40 @property (readonly, copy) NSColor *_effectiveAccentColor; 40 41 41 42 @end -
branches/safari-610-branch/Source/WebKit/ChangeLog
r267674 r267677 1 2020-09-27 Alan Coon <alancoon@apple.com> 2 3 Cherry-pick r267215. rdar://problem/69594225 4 5 Per-app accent color overrides are broken 6 https://bugs.webkit.org/show_bug.cgi?id=216674 7 <rdar://problem/67745464> 8 9 Reviewed by Wenson Hsieh. 10 11 Source/WebCore/PAL: 12 13 * pal/spi/mac/NSApplicationSPI.h: 14 15 Source/WebKit: 16 17 No new tests; I've no idea how to write a test that would have caught this; 18 any test I can imagine would have also written to _accentColor and worked fine. 19 20 * UIProcess/mac/PageClientImplMac.mm: 21 (WebKit::PageClientImpl::accentColor): 22 AppKit changed the meaning of the IPI. Use the correct version. 23 We still write to _accentColor; it is now purely an override. 24 25 26 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267215 268f45cc-cd09-0410-ab3c-d52691b4dbfc 27 28 2020-09-17 Tim Horton <timothy_horton@apple.com> 29 30 Per-app accent color overrides are broken 31 https://bugs.webkit.org/show_bug.cgi?id=216674 32 <rdar://problem/67745464> 33 34 Reviewed by Wenson Hsieh. 35 36 No new tests; I've no idea how to write a test that would have caught this; 37 any test I can imagine would have also written to _accentColor and worked fine. 38 39 * UIProcess/mac/PageClientImplMac.mm: 40 (WebKit::PageClientImpl::accentColor): 41 AppKit changed the meaning of the IPI. Use the correct version. 42 We still write to _accentColor; it is now purely an override. 43 1 44 2020-09-27 Alan Coon <alancoon@apple.com> 2 45 -
branches/safari-610-branch/Source/WebKit/UIProcess/mac/PageClientImplMac.mm
r265091 r267677 942 942 WebCore::Color PageClientImpl::accentColor() 943 943 { 944 return WebCore::colorFromNSColor([NSApp _ accentColor]);944 return WebCore::colorFromNSColor([NSApp _effectiveAccentColor]); 945 945 } 946 946 #endif
Note:
See TracChangeset
for help on using the changeset viewer.