summaryrefslogtreecommitdiffstats
path: root/third_party/apple_sample_code/README.chromium
blob: d431d863b424a63050c14e6960d8b7101c2ebfc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Name: Apple sample code
URL: http://developer.apple.com/
Version: unknown
Security Critical: Yes
License: Custom license

Local changes:
* ImageAndTextCell.h: Changed 'image' property to 'retain' mode to fix a crash.
* ImageAndTextCell.m: Moved '@synthesize' to to the top of '@implementation' as
                      suggested by a clang warning.
* ImageAndTextCell.m: Switched from -[NSImage compositeToPoint:operation:] to
                      -[NSImage drawInRect:fromRect:operation:fraction:respectFlipped:hints:]
                      as the former is deprecated and doesn't work properly in
                      HiDPI.
* ImageAndTextCell.m: When compiling against OSX 10.9 SDK or older, add a
                      typedef for NSCellHitResult. Use NSCellHitResult instead
                      of NSUInteger in the definition for -[NSImage
                      hitTestForEvent:inRect:ofView:]. This fixes a warning
                      when compiling against the OSX 10.10 SDK.