OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007 Apple Inc. | 2 * Copyright (C) 2007 Apple Inc. |
3 * Copyright (C) 2007 Alp Toker <alp@atoker.com> | 3 * Copyright (C) 2007 Alp Toker <alp@atoker.com> |
4 * Copyright (C) 2008 Collabora Ltd. | 4 * Copyright (C) 2008 Collabora Ltd. |
5 * Copyright (C) 2008, 2009 Google Inc. | 5 * Copyright (C) 2008, 2009 Google Inc. |
6 * Copyright (C) 2009 Kenneth Rohde Christiansen | 6 * Copyright (C) 2009 Kenneth Rohde Christiansen |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
727 bool LayoutThemeDefault::paintMediaOverlayPlayButton(LayoutObject* object, const
PaintInfo& paintInfo, const IntRect& rect) | 727 bool LayoutThemeDefault::paintMediaOverlayPlayButton(LayoutObject* object, const
PaintInfo& paintInfo, const IntRect& rect) |
728 { | 728 { |
729 return LayoutMediaControls::paintMediaControlsPart(MediaOverlayPlayButton, o
bject, paintInfo, rect); | 729 return LayoutMediaControls::paintMediaControlsPart(MediaOverlayPlayButton, o
bject, paintInfo, rect); |
730 } | 730 } |
731 | 731 |
732 bool LayoutThemeDefault::paintMediaMuteButton(LayoutObject* object, const PaintI
nfo& paintInfo, const IntRect& rect) | 732 bool LayoutThemeDefault::paintMediaMuteButton(LayoutObject* object, const PaintI
nfo& paintInfo, const IntRect& rect) |
733 { | 733 { |
734 return LayoutMediaControls::paintMediaControlsPart(MediaMuteButton, object,
paintInfo, rect); | 734 return LayoutMediaControls::paintMediaControlsPart(MediaMuteButton, object,
paintInfo, rect); |
735 } | 735 } |
736 | 736 |
| 737 bool LayoutThemeDefault::paintMediaTrackSelectionCheckmark(LayoutObject* object,
const PaintInfo& paintInfo, const IntRect& rect) |
| 738 { |
| 739 return LayoutMediaControls::paintMediaControlsPart(MediaTrackSelectionCheckm
ark, object, paintInfo, rect); |
| 740 } |
| 741 |
737 String LayoutThemeDefault::formatMediaControlsTime(float time) const | 742 String LayoutThemeDefault::formatMediaControlsTime(float time) const |
738 { | 743 { |
739 return LayoutMediaControls::formatMediaControlsTime(time); | 744 return LayoutMediaControls::formatMediaControlsTime(time); |
740 } | 745 } |
741 | 746 |
742 String LayoutThemeDefault::formatMediaControlsCurrentTime(float currentTime, flo
at duration) const | 747 String LayoutThemeDefault::formatMediaControlsCurrentTime(float currentTime, flo
at duration) const |
743 { | 748 { |
744 return LayoutMediaControls::formatMediaControlsCurrentTime(currentTime, dura
tion); | 749 return LayoutMediaControls::formatMediaControlsCurrentTime(currentTime, dura
tion); |
745 } | 750 } |
746 | 751 |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
868 } | 873 } |
869 | 874 |
870 LayoutThemeDefault::DirectionFlippingScope::~DirectionFlippingScope() | 875 LayoutThemeDefault::DirectionFlippingScope::~DirectionFlippingScope() |
871 { | 876 { |
872 if (!m_needsFlipping) | 877 if (!m_needsFlipping) |
873 return; | 878 return; |
874 m_paintInfo.context->restore(); | 879 m_paintInfo.context->restore(); |
875 } | 880 } |
876 | 881 |
877 } // namespace blink | 882 } // namespace blink |
OLD | NEW |