OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008, 2010, 2011, 2012 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008, 2010, 2011, 2012 Apple Inc. All Rights Reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 16 matching lines...) Expand all Loading... |
27 | 27 |
28 #import <Carbon/Carbon.h> | 28 #import <Carbon/Carbon.h> |
29 #import "platform/graphics/GraphicsContextStateSaver.h" | 29 #import "platform/graphics/GraphicsContextStateSaver.h" |
30 #import "platform/mac/BlockExceptions.h" | 30 #import "platform/mac/BlockExceptions.h" |
31 #import "platform/mac/LocalCurrentGraphicsContext.h" | 31 #import "platform/mac/LocalCurrentGraphicsContext.h" |
32 #import "platform/mac/VersionUtilMac.h" | 32 #import "platform/mac/VersionUtilMac.h" |
33 #import "platform/mac/WebCoreNSCellExtras.h" | 33 #import "platform/mac/WebCoreNSCellExtras.h" |
34 #import "platform/scroll/ScrollableArea.h" | 34 #import "platform/scroll/ScrollableArea.h" |
35 #include "wtf/StdLibExtras.h" | 35 #include "wtf/StdLibExtras.h" |
36 | 36 |
| 37 // test |
| 38 |
37 // This is a view whose sole purpose is to tell AppKit that it's flipped. | 39 // This is a view whose sole purpose is to tell AppKit that it's flipped. |
38 @interface BlinkFlippedControl : NSControl | 40 @interface BlinkFlippedControl : NSControl |
39 @end | 41 @end |
40 | 42 |
41 @implementation BlinkFlippedControl | 43 @implementation BlinkFlippedControl |
42 | 44 |
43 - (BOOL)isFlipped { | 45 - (BOOL)isFlipped { |
44 return YES; | 46 return YES; |
45 } | 47 } |
46 | 48 |
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
541 zoomedRect = | 543 zoomedRect = |
542 inflateRect(zoomedRect, zoomedSize, stepperMargin, zoomFactor); | 544 inflateRect(zoomedRect, zoomedSize, stepperMargin, zoomFactor); |
543 break; | 545 break; |
544 } | 546 } |
545 default: | 547 default: |
546 break; | 548 break; |
547 } | 549 } |
548 END_BLOCK_OBJC_EXCEPTIONS | 550 END_BLOCK_OBJC_EXCEPTIONS |
549 } | 551 } |
550 } | 552 } |
OLD | NEW |