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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 #import "core/platform/graphics/StringTruncator.h" | 45 #import "core/platform/graphics/StringTruncator.h" |
46 #import "core/platform/graphics/cg/GraphicsContextCG.h" | 46 #import "core/platform/graphics/cg/GraphicsContextCG.h" |
47 #import "core/platform/graphics/mac/ColorMac.h" | 47 #import "core/platform/graphics/mac/ColorMac.h" |
48 #import "core/platform/mac/LocalCurrentGraphicsContext.h" | 48 #import "core/platform/mac/LocalCurrentGraphicsContext.h" |
49 #import "core/platform/mac/ThemeMac.h" | 49 #import "core/platform/mac/ThemeMac.h" |
50 #import "core/platform/mac/WebCoreNSCellExtras.h" | 50 #import "core/platform/mac/WebCoreNSCellExtras.h" |
51 #import "core/platform/text/PlatformLocale.h" | 51 #import "core/platform/text/PlatformLocale.h" |
52 #import "core/rendering/PaintInfo.h" | 52 #import "core/rendering/PaintInfo.h" |
53 #import "core/rendering/RenderLayer.h" | 53 #import "core/rendering/RenderLayer.h" |
54 #import "core/rendering/RenderMedia.h" | 54 #import "core/rendering/RenderMedia.h" |
55 #import "core/rendering/RenderMediaControls.h" | |
56 #import "core/rendering/RenderMediaControlsChromium.h" | 55 #import "core/rendering/RenderMediaControlsChromium.h" |
57 #import "core/rendering/RenderMeter.h" | 56 #import "core/rendering/RenderMeter.h" |
58 #import "core/rendering/RenderProgress.h" | 57 #import "core/rendering/RenderProgress.h" |
59 #import "core/rendering/RenderSlider.h" | 58 #import "core/rendering/RenderSlider.h" |
60 #import "core/rendering/RenderView.h" | 59 #import "core/rendering/RenderView.h" |
61 | 60 |
62 #import <AvailabilityMacros.h> | 61 #import <AvailabilityMacros.h> |
63 #import <Carbon/Carbon.h> | 62 #import <Carbon/Carbon.h> |
64 #import <Cocoa/Cocoa.h> | 63 #import <Cocoa/Cocoa.h> |
65 #import <math.h> | 64 #import <math.h> |
(...skipping 1953 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2019 | 2018 |
2020 bool RenderThemeChromiumMac::shouldUseFallbackTheme(RenderStyle* style) const | 2019 bool RenderThemeChromiumMac::shouldUseFallbackTheme(RenderStyle* style) const |
2021 { | 2020 { |
2022 ControlPart part = style->appearance(); | 2021 ControlPart part = style->appearance(); |
2023 if (part == CheckboxPart || part == RadioPart) | 2022 if (part == CheckboxPart || part == RadioPart) |
2024 return style->effectiveZoom() != 1; | 2023 return style->effectiveZoom() != 1; |
2025 return false; | 2024 return false; |
2026 } | 2025 } |
2027 | 2026 |
2028 } // namespace WebCore | 2027 } // namespace WebCore |
OLD | NEW |