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, |
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 * Library General Public License for more details. | 13 * Library General Public License for more details. |
14 * | 14 * |
15 * You should have received a copy of the GNU Library General Public License | 15 * You should have received a copy of the GNU Library General Public License |
16 * along with this library; see the file COPYING.LIB. If not, write to | 16 * along with this library; see the file COPYING.LIB. If not, write to |
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
18 * Boston, MA 02110-1301, USA. | 18 * Boston, MA 02110-1301, USA. |
19 */ | 19 */ |
20 | 20 |
21 #import "config.h" | 21 #import "config.h" |
22 #import "core/rendering/RenderThemeChromiumMac.h" | 22 #import "core/rendering/RenderThemeChromiumMac.h" |
23 | 23 |
24 #import "CSSValueKeywords.h" | 24 #import "core/CSSValueKeywords.h" |
25 #import "HTMLNames.h" | 25 #import "core/HTMLNames.h" |
26 #import "UserAgentStyleSheets.h" | 26 #import "core/UserAgentStyleSheets.h" |
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" |
(...skipping 1868 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1905 | 1905 |
1906 bool RenderThemeChromiumMac::shouldUseFallbackTheme(RenderStyle* style) const | 1906 bool RenderThemeChromiumMac::shouldUseFallbackTheme(RenderStyle* style) const |
1907 { | 1907 { |
1908 ControlPart part = style->appearance(); | 1908 ControlPart part = style->appearance(); |
1909 if (part == CheckboxPart || part == RadioPart) | 1909 if (part == CheckboxPart || part == RadioPart) |
1910 return style->effectiveZoom() != 1; | 1910 return style->effectiveZoom() != 1; |
1911 return false; | 1911 return false; |
1912 } | 1912 } |
1913 | 1913 |
1914 } // namespace WebCore | 1914 } // namespace WebCore |
OLD | NEW |