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

Side by Side Diff: Source/core/rendering/RenderThemeChromiumSkia.cpp

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
« no previous file with comments | « Source/core/rendering/RenderThemeChromiumSkia.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 bool RenderThemeChromiumSkia::paintMediaVolumeSliderThumb(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) 319 bool RenderThemeChromiumSkia::paintMediaVolumeSliderThumb(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect)
320 { 320 {
321 return RenderMediaControls::paintMediaControlsPart(MediaVolumeSliderThumb, o bject, paintInfo, rect); 321 return RenderMediaControls::paintMediaControlsPart(MediaVolumeSliderThumb, o bject, paintInfo, rect);
322 } 322 }
323 323
324 bool RenderThemeChromiumSkia::paintMediaPlayButton(RenderObject* object, const P aintInfo& paintInfo, const IntRect& rect) 324 bool RenderThemeChromiumSkia::paintMediaPlayButton(RenderObject* object, const P aintInfo& paintInfo, const IntRect& rect)
325 { 325 {
326 return RenderMediaControls::paintMediaControlsPart(MediaPlayButton, object, paintInfo, rect); 326 return RenderMediaControls::paintMediaControlsPart(MediaPlayButton, object, paintInfo, rect);
327 } 327 }
328 328
329 bool RenderThemeChromiumSkia::paintMediaOverlayPlayButton(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect)
330 {
331 return RenderMediaControls::paintMediaControlsPart(MediaOverlayPlayButton, o bject, paintInfo, rect);
332 }
333
329 bool RenderThemeChromiumSkia::paintMediaMuteButton(RenderObject* object, const P aintInfo& paintInfo, const IntRect& rect) 334 bool RenderThemeChromiumSkia::paintMediaMuteButton(RenderObject* object, const P aintInfo& paintInfo, const IntRect& rect)
330 { 335 {
331 return RenderMediaControls::paintMediaControlsPart(MediaMuteButton, object, paintInfo, rect); 336 return RenderMediaControls::paintMediaControlsPart(MediaMuteButton, object, paintInfo, rect);
332 } 337 }
333 338
334 String RenderThemeChromiumSkia::formatMediaControlsTime(float time) const 339 String RenderThemeChromiumSkia::formatMediaControlsTime(float time) const
335 { 340 {
336 return RenderMediaControls::formatMediaControlsTime(time); 341 return RenderMediaControls::formatMediaControlsTime(time);
337 } 342 }
338 343
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 } 481 }
477 482
478 RenderThemeChromiumSkia::DirectionFlippingScope::~DirectionFlippingScope() 483 RenderThemeChromiumSkia::DirectionFlippingScope::~DirectionFlippingScope()
479 { 484 {
480 if (!m_needsFlipping) 485 if (!m_needsFlipping)
481 return; 486 return;
482 m_paintInfo.context->restore(); 487 m_paintInfo.context->restore();
483 } 488 }
484 489
485 } // namespace WebCore 490 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderThemeChromiumSkia.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698