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

Side by Side Diff: Source/core/rendering/RenderThemeChromiumMac.mm

Issue 16963006: Include AvailabilityMacros.h only where it is used. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 6 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
« no previous file with comments | « Source/core/platform/text/cf/HyphenationCF.cpp ('k') | Source/wtf/Assertions.cpp » ('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) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2008, 2009 Google, Inc. 3 * Copyright (C) 2008, 2009 Google, Inc.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 #import "core/rendering/PaintInfo.h" 51 #import "core/rendering/PaintInfo.h"
52 #import "core/rendering/RenderLayer.h" 52 #import "core/rendering/RenderLayer.h"
53 #import "core/rendering/RenderMedia.h" 53 #import "core/rendering/RenderMedia.h"
54 #import "core/rendering/RenderMediaControls.h" 54 #import "core/rendering/RenderMediaControls.h"
55 #import "core/rendering/RenderMediaControlsChromium.h" 55 #import "core/rendering/RenderMediaControlsChromium.h"
56 #import "core/rendering/RenderMeter.h" 56 #import "core/rendering/RenderMeter.h"
57 #import "core/rendering/RenderProgress.h" 57 #import "core/rendering/RenderProgress.h"
58 #import "core/rendering/RenderSlider.h" 58 #import "core/rendering/RenderSlider.h"
59 #import "core/rendering/RenderView.h" 59 #import "core/rendering/RenderView.h"
60 60
61 #import <AvailabilityMacros.h>
61 #import <Carbon/Carbon.h> 62 #import <Carbon/Carbon.h>
62 #import <Cocoa/Cocoa.h> 63 #import <Cocoa/Cocoa.h>
63 #import <math.h> 64 #import <math.h>
64 #import <wtf/RetainPtr.h> 65 #import <wtf/RetainPtr.h>
65 #import <wtf/StdLibExtras.h> 66 #import <wtf/StdLibExtras.h>
66 67
67 using namespace std; 68 using namespace std;
68 69
69 // The methods in this file are specific to the Mac OS X platform. 70 // The methods in this file are specific to the Mac OS X platform.
70 71
(...skipping 1894 matching lines...) Expand 10 before | Expand all | Expand 10 after
1965 1966
1966 bool RenderThemeChromiumMac::shouldUseFallbackTheme(RenderStyle* style) const 1967 bool RenderThemeChromiumMac::shouldUseFallbackTheme(RenderStyle* style) const
1967 { 1968 {
1968 ControlPart part = style->appearance(); 1969 ControlPart part = style->appearance();
1969 if (part == CheckboxPart || part == RadioPart) 1970 if (part == CheckboxPart || part == RadioPart)
1970 return style->effectiveZoom() != 1; 1971 return style->effectiveZoom() != 1;
1971 return false; 1972 return false;
1972 } 1973 }
1973 1974
1974 } // namespace WebCore 1975 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/platform/text/cf/HyphenationCF.cpp ('k') | Source/wtf/Assertions.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698