| 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 1839 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1850 | 1850 |
| 1851 String RenderThemeChromiumMac::extraFullScreenStyleSheet() | 1851 String RenderThemeChromiumMac::extraFullScreenStyleSheet() |
| 1852 { | 1852 { |
| 1853 // FIXME: Chromium may wish to style its default media controls differently
in fullscreen. | 1853 // FIXME: Chromium may wish to style its default media controls differently
in fullscreen. |
| 1854 return String(); | 1854 return String(); |
| 1855 } | 1855 } |
| 1856 | 1856 |
| 1857 String RenderThemeChromiumMac::extraDefaultStyleSheet() | 1857 String RenderThemeChromiumMac::extraDefaultStyleSheet() |
| 1858 { | 1858 { |
| 1859 return RenderTheme::extraDefaultStyleSheet() + | 1859 return RenderTheme::extraDefaultStyleSheet() + |
| 1860 String(themeChromiumUserAgentStyleSheet, sizeof(themeChromiumUserAgentSt
yleSheet)) + | 1860 String(themeChromiumCss, sizeof(themeChromiumCss)) + |
| 1861 String(themeInputMultipleFieldsUserAgentStyleSheet, sizeof(themeInputMul
tipleFieldsUserAgentStyleSheet)) + | 1861 String(themeInputMultipleFieldsCss, sizeof(themeInputMultipleFieldsCss))
+ |
| 1862 String(themeMacUserAgentStyleSheet, sizeof(themeMacUserAgentStyleSheet))
; | 1862 String(themeMacCss, sizeof(themeMacCss)); |
| 1863 } | 1863 } |
| 1864 | 1864 |
| 1865 bool RenderThemeChromiumMac::paintMediaVolumeSliderContainer(RenderObject* objec
t, const PaintInfo& paintInfo, const IntRect& rect) | 1865 bool RenderThemeChromiumMac::paintMediaVolumeSliderContainer(RenderObject* objec
t, const PaintInfo& paintInfo, const IntRect& rect) |
| 1866 { | 1866 { |
| 1867 return true; | 1867 return true; |
| 1868 } | 1868 } |
| 1869 | 1869 |
| 1870 bool RenderThemeChromiumMac::paintMediaVolumeSliderTrack(RenderObject* object, c
onst PaintInfo& paintInfo, const IntRect& rect) | 1870 bool RenderThemeChromiumMac::paintMediaVolumeSliderTrack(RenderObject* object, c
onst PaintInfo& paintInfo, const IntRect& rect) |
| 1871 { | 1871 { |
| 1872 return RenderMediaControls::paintMediaControlsPart(MediaVolumeSlider, object
, paintInfo, rect); | 1872 return RenderMediaControls::paintMediaControlsPart(MediaVolumeSlider, object
, paintInfo, rect); |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1904 | 1904 |
| 1905 bool RenderThemeChromiumMac::shouldUseFallbackTheme(RenderStyle* style) const | 1905 bool RenderThemeChromiumMac::shouldUseFallbackTheme(RenderStyle* style) const |
| 1906 { | 1906 { |
| 1907 ControlPart part = style->appearance(); | 1907 ControlPart part = style->appearance(); |
| 1908 if (part == CheckboxPart || part == RadioPart) | 1908 if (part == CheckboxPart || part == RadioPart) |
| 1909 return style->effectiveZoom() != 1; | 1909 return style->effectiveZoom() != 1; |
| 1910 return false; | 1910 return false; |
| 1911 } | 1911 } |
| 1912 | 1912 |
| 1913 } // namespace WebCore | 1913 } // namespace WebCore |
| OLD | NEW |