Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(179)

Side by Side Diff: Source/core/rendering/RenderThemeChromiumMac.mm

Issue 254633002: Start using the mediaControlsOverlayPlayButtonEnabled setting (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderThemeChromiumMac.h ('k') | Source/core/rendering/RenderThemeChromiumSkia.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698