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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 - (NSString*)webCoreFamilyName | 82 - (NSString*)webCoreFamilyName |
83 { | 83 { |
84 if ([[self familyName] hasPrefix:@"."]) | 84 if ([[self familyName] hasPrefix:@"."]) |
85 return [self fontName]; | 85 return [self fontName]; |
86 | 86 |
87 return [self familyName]; | 87 return [self familyName]; |
88 } | 88 } |
89 | 89 |
90 @end | 90 @end |
91 | 91 |
92 namespace WebCore { | 92 namespace blink { |
93 | 93 |
94 enum { | 94 enum { |
95 topMargin, | 95 topMargin, |
96 rightMargin, | 96 rightMargin, |
97 bottomMargin, | 97 bottomMargin, |
98 leftMargin | 98 leftMargin |
99 }; | 99 }; |
100 | 100 |
101 Theme* platformTheme() | 101 Theme* platformTheme() |
102 { | 102 { |
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
719 break; | 719 break; |
720 case InnerSpinButtonPart: | 720 case InnerSpinButtonPart: |
721 paintStepper(states, context, zoomedRect, zoomFactor, scrollView); | 721 paintStepper(states, context, zoomedRect, zoomFactor, scrollView); |
722 break; | 722 break; |
723 default: | 723 default: |
724 break; | 724 break; |
725 } | 725 } |
726 } | 726 } |
727 | 727 |
728 } | 728 } |
OLD | NEW |