OLD | NEW |
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 16 matching lines...) Expand all Loading... |
27 #import "core/css/CSSValueList.h" | 27 #import "core/css/CSSValueList.h" |
28 #import "core/dom/Document.h" | 28 #import "core/dom/Document.h" |
29 #import "core/dom/Element.h" | 29 #import "core/dom/Element.h" |
30 #import "core/fileapi/FileList.h" | 30 #import "core/fileapi/FileList.h" |
31 #import "core/html/HTMLInputElement.h" | 31 #import "core/html/HTMLInputElement.h" |
32 #import "core/html/HTMLMediaElement.h" | 32 #import "core/html/HTMLMediaElement.h" |
33 #import "core/html/HTMLMeterElement.h" | 33 #import "core/html/HTMLMeterElement.h" |
34 #import "core/html/TimeRanges.h" | 34 #import "core/html/TimeRanges.h" |
35 #import "core/html/shadow/MediaControlElements.h" | 35 #import "core/html/shadow/MediaControlElements.h" |
36 #import "core/frame/FrameView.h" | 36 #import "core/frame/FrameView.h" |
37 #import "core/platform/mac/ThemeMac.h" | |
38 #import "core/rendering/PaintInfo.h" | 37 #import "core/rendering/PaintInfo.h" |
39 #import "core/rendering/RenderLayer.h" | 38 #import "core/rendering/RenderLayer.h" |
40 #import "core/rendering/RenderMedia.h" | 39 #import "core/rendering/RenderMedia.h" |
41 #import "core/rendering/RenderMediaControls.h" | 40 #import "core/rendering/RenderMediaControls.h" |
42 #import "core/rendering/RenderMeter.h" | 41 #import "core/rendering/RenderMeter.h" |
43 #import "core/rendering/RenderProgress.h" | 42 #import "core/rendering/RenderProgress.h" |
44 #import "core/rendering/RenderSlider.h" | 43 #import "core/rendering/RenderSlider.h" |
45 #import "core/rendering/RenderView.h" | 44 #import "core/rendering/RenderView.h" |
46 #import "core/rendering/style/ShadowList.h" | 45 #import "core/rendering/style/ShadowList.h" |
47 #import "platform/LayoutTestSupport.h" | 46 #import "platform/LayoutTestSupport.h" |
48 #import "platform/SharedBuffer.h" | 47 #import "platform/SharedBuffer.h" |
49 #import "platform/graphics/BitmapImage.h" | 48 #import "platform/graphics/BitmapImage.h" |
50 #import "platform/graphics/GraphicsContextStateSaver.h" | 49 #import "platform/graphics/GraphicsContextStateSaver.h" |
51 #import "platform/graphics/Image.h" | 50 #import "platform/graphics/Image.h" |
52 #import "platform/graphics/ImageBuffer.h" | 51 #import "platform/graphics/ImageBuffer.h" |
53 #import "platform/graphics/cg/GraphicsContextCG.h" | 52 #import "platform/graphics/cg/GraphicsContextCG.h" |
54 #import "platform/mac/ColorMac.h" | 53 #import "platform/mac/ColorMac.h" |
55 #import "platform/mac/LocalCurrentGraphicsContext.h" | 54 #import "platform/mac/LocalCurrentGraphicsContext.h" |
| 55 #import "platform/mac/ThemeMac.h" |
56 #import "platform/mac/WebCoreNSCellExtras.h" | 56 #import "platform/mac/WebCoreNSCellExtras.h" |
57 #import "platform/text/PlatformLocale.h" | 57 #import "platform/text/PlatformLocale.h" |
58 #import "platform/text/StringTruncator.h" | 58 #import "platform/text/StringTruncator.h" |
59 | 59 |
60 #import <AvailabilityMacros.h> | 60 #import <AvailabilityMacros.h> |
61 #import <Carbon/Carbon.h> | 61 #import <Carbon/Carbon.h> |
62 #import <Cocoa/Cocoa.h> | 62 #import <Cocoa/Cocoa.h> |
63 #import <math.h> | 63 #import <math.h> |
64 #import <wtf/RetainPtr.h> | 64 #import <wtf/RetainPtr.h> |
65 #import <wtf/StdLibExtras.h> | 65 #import <wtf/StdLibExtras.h> |
(...skipping 1938 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2004 | 2004 |
2005 bool RenderThemeChromiumMac::shouldUseFallbackTheme(RenderStyle* style) const | 2005 bool RenderThemeChromiumMac::shouldUseFallbackTheme(RenderStyle* style) const |
2006 { | 2006 { |
2007 ControlPart part = style->appearance(); | 2007 ControlPart part = style->appearance(); |
2008 if (part == CheckboxPart || part == RadioPart) | 2008 if (part == CheckboxPart || part == RadioPart) |
2009 return style->effectiveZoom() != 1; | 2009 return style->effectiveZoom() != 1; |
2010 return false; | 2010 return false; |
2011 } | 2011 } |
2012 | 2012 |
2013 } // namespace WebCore | 2013 } // namespace WebCore |
OLD | NEW |