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 } | |
abarth-chromium
2014/09/11 16:42:54
Please add blank lines between functions.
aberent
2014/09/11 17:08:31
Done.
| |
319 bool RenderThemeChromiumSkia::paintMediaVolumeSliderThumb(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) | 322 bool RenderThemeChromiumSkia::paintMediaVolumeSliderThumb(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) |
320 { | 323 { |
321 return RenderMediaControls::paintMediaControlsPart(MediaVolumeSliderThumb, o bject, paintInfo, rect); | 324 return RenderMediaControls::paintMediaControlsPart(MediaVolumeSliderThumb, o bject, paintInfo, rect); |
322 } | 325 } |
323 | 326 |
324 bool RenderThemeChromiumSkia::paintMediaPlayButton(RenderObject* object, const P aintInfo& paintInfo, const IntRect& rect) | 327 bool RenderThemeChromiumSkia::paintMediaPlayButton(RenderObject* object, const P aintInfo& paintInfo, const IntRect& rect) |
325 { | 328 { |
326 return RenderMediaControls::paintMediaControlsPart(MediaPlayButton, object, paintInfo, rect); | 329 return RenderMediaControls::paintMediaControlsPart(MediaPlayButton, object, paintInfo, rect); |
327 } | 330 } |
328 | 331 |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
481 } | 484 } |
482 | 485 |
483 RenderThemeChromiumSkia::DirectionFlippingScope::~DirectionFlippingScope() | 486 RenderThemeChromiumSkia::DirectionFlippingScope::~DirectionFlippingScope() |
484 { | 487 { |
485 if (!m_needsFlipping) | 488 if (!m_needsFlipping) |
486 return; | 489 return; |
487 m_paintInfo.context->restore(); | 490 m_paintInfo.context->restore(); |
488 } | 491 } |
489 | 492 |
490 } // namespace blink | 493 } // namespace blink |
OLD | NEW |