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 1815 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1826 void RenderThemeChromiumMac::adjustMediaSliderThumbSize(RenderStyle* style) cons
t | 1826 void RenderThemeChromiumMac::adjustMediaSliderThumbSize(RenderStyle* style) cons
t |
1827 { | 1827 { |
1828 RenderMediaControls::adjustMediaSliderThumbSize(style); | 1828 RenderMediaControls::adjustMediaSliderThumbSize(style); |
1829 } | 1829 } |
1830 | 1830 |
1831 bool RenderThemeChromiumMac::paintMediaPlayButton(RenderObject* object, const Pa
intInfo& paintInfo, const IntRect& rect) | 1831 bool RenderThemeChromiumMac::paintMediaPlayButton(RenderObject* object, const Pa
intInfo& paintInfo, const IntRect& rect) |
1832 { | 1832 { |
1833 return RenderMediaControls::paintMediaControlsPart(MediaPlayButton, object,
paintInfo, rect); | 1833 return RenderMediaControls::paintMediaControlsPart(MediaPlayButton, object,
paintInfo, rect); |
1834 } | 1834 } |
1835 | 1835 |
| 1836 bool RenderThemeChromiumMac::paintMediaOverlayPlayButton(RenderObject* object, c
onst PaintInfo& paintInfo, const IntRect& rect) |
| 1837 { |
| 1838 return RenderMediaControls::paintMediaControlsPart(MediaOverlayPlayButton, o
bject, paintInfo, rect); |
| 1839 } |
| 1840 |
1836 bool RenderThemeChromiumMac::paintMediaMuteButton(RenderObject* object, const Pa
intInfo& paintInfo, const IntRect& rect) | 1841 bool RenderThemeChromiumMac::paintMediaMuteButton(RenderObject* object, const Pa
intInfo& paintInfo, const IntRect& rect) |
1837 { | 1842 { |
1838 return RenderMediaControls::paintMediaControlsPart(MediaMuteButton, object,
paintInfo, rect); | 1843 return RenderMediaControls::paintMediaControlsPart(MediaMuteButton, object,
paintInfo, rect); |
1839 } | 1844 } |
1840 | 1845 |
1841 bool RenderThemeChromiumMac::paintMediaSliderTrack(RenderObject* object, const P
aintInfo& paintInfo, const IntRect& rect) | 1846 bool RenderThemeChromiumMac::paintMediaSliderTrack(RenderObject* object, const P
aintInfo& paintInfo, const IntRect& rect) |
1842 { | 1847 { |
1843 return RenderMediaControls::paintMediaControlsPart(MediaSlider, object, pain
tInfo, rect); | 1848 return RenderMediaControls::paintMediaControlsPart(MediaSlider, object, pain
tInfo, rect); |
1844 } | 1849 } |
1845 | 1850 |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1898 | 1903 |
1899 bool RenderThemeChromiumMac::shouldUseFallbackTheme(RenderStyle* style) const | 1904 bool RenderThemeChromiumMac::shouldUseFallbackTheme(RenderStyle* style) const |
1900 { | 1905 { |
1901 ControlPart part = style->appearance(); | 1906 ControlPart part = style->appearance(); |
1902 if (part == CheckboxPart || part == RadioPart) | 1907 if (part == CheckboxPart || part == RadioPart) |
1903 return style->effectiveZoom() != 1; | 1908 return style->effectiveZoom() != 1; |
1904 return false; | 1909 return false; |
1905 } | 1910 } |
1906 | 1911 |
1907 } // namespace WebCore | 1912 } // namespace WebCore |
OLD | NEW |