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 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 | 308 |
309 bool RenderThemeChromiumSkia::paintMediaSliderThumb(RenderObject* object, const
PaintInfo& paintInfo, const IntRect& rect) | 309 bool RenderThemeChromiumSkia::paintMediaSliderThumb(RenderObject* object, const
PaintInfo& paintInfo, const IntRect& rect) |
310 { | 310 { |
311 return RenderMediaControls::paintMediaControlsPart(MediaSliderThumb, object,
paintInfo, rect); | 311 return RenderMediaControls::paintMediaControlsPart(MediaSliderThumb, object,
paintInfo, rect); |
312 } | 312 } |
313 | 313 |
314 bool RenderThemeChromiumSkia::paintMediaToggleClosedCaptionsButton(RenderObject*
o, const PaintInfo& paintInfo, const IntRect& r) | 314 bool RenderThemeChromiumSkia::paintMediaToggleClosedCaptionsButton(RenderObject*
o, const PaintInfo& paintInfo, const IntRect& r) |
315 { | 315 { |
316 return RenderMediaControls::paintMediaControlsPart(MediaShowClosedCaptionsBu
tton, o, paintInfo, r); | 316 return RenderMediaControls::paintMediaControlsPart(MediaShowClosedCaptionsBu
tton, o, paintInfo, r); |
317 } | 317 } |
318 | 318 bool RenderThemeChromiumSkia::paintMediaCastButton(RenderObject* o, const PaintI
nfo& paintInfo, const IntRect& r) |
| 319 { |
| 320 return RenderMediaControls::paintMediaControlsPart(MediaCastOffButton, o, pa
intInfo, r); |
| 321 } |
| 322 bool RenderThemeChromiumSkia::paintMediaOverlayCastButton(RenderObject* o, const
PaintInfo& paintInfo, const IntRect& r) |
| 323 { |
| 324 return RenderMediaControls::paintMediaControlsPart(MediaOverlayCastOffButton
, o, paintInfo, r); |
| 325 } |
319 bool RenderThemeChromiumSkia::paintMediaVolumeSliderThumb(RenderObject* object,
const PaintInfo& paintInfo, const IntRect& rect) | 326 bool RenderThemeChromiumSkia::paintMediaVolumeSliderThumb(RenderObject* object,
const PaintInfo& paintInfo, const IntRect& rect) |
320 { | 327 { |
321 return RenderMediaControls::paintMediaControlsPart(MediaVolumeSliderThumb, o
bject, paintInfo, rect); | 328 return RenderMediaControls::paintMediaControlsPart(MediaVolumeSliderThumb, o
bject, paintInfo, rect); |
322 } | 329 } |
323 | 330 |
324 bool RenderThemeChromiumSkia::paintMediaPlayButton(RenderObject* object, const P
aintInfo& paintInfo, const IntRect& rect) | 331 bool RenderThemeChromiumSkia::paintMediaPlayButton(RenderObject* object, const P
aintInfo& paintInfo, const IntRect& rect) |
325 { | 332 { |
326 return RenderMediaControls::paintMediaControlsPart(MediaPlayButton, object,
paintInfo, rect); | 333 return RenderMediaControls::paintMediaControlsPart(MediaPlayButton, object,
paintInfo, rect); |
327 } | 334 } |
328 | 335 |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
481 } | 488 } |
482 | 489 |
483 RenderThemeChromiumSkia::DirectionFlippingScope::~DirectionFlippingScope() | 490 RenderThemeChromiumSkia::DirectionFlippingScope::~DirectionFlippingScope() |
484 { | 491 { |
485 if (!m_needsFlipping) | 492 if (!m_needsFlipping) |
486 return; | 493 return; |
487 m_paintInfo.context->restore(); | 494 m_paintInfo.context->restore(); |
488 } | 495 } |
489 | 496 |
490 } // namespace blink | 497 } // namespace blink |
OLD | NEW |