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 14 matching lines...) Expand all Loading... |
25 | 25 |
26 #import "platform/mac/ThemeMac.h" | 26 #import "platform/mac/ThemeMac.h" |
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 "platform/wtf/StdLibExtras.h" |
36 | 36 |
37 // This is a view whose sole purpose is to tell AppKit that it's flipped. | 37 // This is a view whose sole purpose is to tell AppKit that it's flipped. |
38 @interface BlinkFlippedControl : NSControl | 38 @interface BlinkFlippedControl : NSControl |
39 @end | 39 @end |
40 | 40 |
41 @implementation BlinkFlippedControl | 41 @implementation BlinkFlippedControl |
42 | 42 |
43 - (BOOL)isFlipped { | 43 - (BOOL)isFlipped { |
44 return YES; | 44 return YES; |
45 } | 45 } |
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
545 zoomed_rect = | 545 zoomed_rect = |
546 InflateRect(zoomed_rect, zoomed_size, kStepperMargin, zoom_factor); | 546 InflateRect(zoomed_rect, zoomed_size, kStepperMargin, zoom_factor); |
547 break; | 547 break; |
548 } | 548 } |
549 default: | 549 default: |
550 break; | 550 break; |
551 } | 551 } |
552 END_BLOCK_OBJC_EXCEPTIONS | 552 END_BLOCK_OBJC_EXCEPTIONS |
553 } | 553 } |
554 } | 554 } |
OLD | NEW |