Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Side by Side Diff: Source/platform/mac/ThemeMac.mm

Issue 400543004: Rename WebCore namespace to blink in Platform (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/platform/mac/ThemeMac.h ('k') | Source/platform/mediastream/MediaStreamCenter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « Source/platform/mac/ThemeMac.h ('k') | Source/platform/mediastream/MediaStreamCenter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698