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

Unified Diff: Source/core/paint/MediaControlsPainter.h

Issue 1115203003: De-virtualize media control painting methods (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Mac doesn't want cast button Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/paint/MediaControlsPainter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/MediaControlsPainter.h
diff --git a/Source/core/paint/MediaControlsPainter.h b/Source/core/paint/MediaControlsPainter.h
index 0f15ccf66a3e3d2446f14a817c1a54c197c4b0d2..cf2746568425fa174115fd7b6938ec2d58e58950 100644
--- a/Source/core/paint/MediaControlsPainter.h
+++ b/Source/core/paint/MediaControlsPainter.h
@@ -28,8 +28,6 @@
#ifndef MediaControlsPainter_h
#define MediaControlsPainter_h
-#include "core/html/shadow/MediaControlElementTypes.h"
-
namespace blink {
struct PaintInfo;
@@ -40,7 +38,16 @@ class LayoutObject;
class MediaControlsPainter {
public:
- static bool paintMediaControlsPart(MediaControlElementType, LayoutObject*, const PaintInfo&, const IntRect&);
+ static bool paintMediaMuteButton(LayoutObject*, const PaintInfo&, const IntRect&);
+ static bool paintMediaPlayButton(LayoutObject*, const PaintInfo&, const IntRect&);
+ static bool paintMediaToggleClosedCaptionsButton(LayoutObject*, const PaintInfo&, const IntRect&);
+ static bool paintMediaSlider(LayoutObject*, const PaintInfo&, const IntRect&);
+ static bool paintMediaSliderThumb(LayoutObject*, const PaintInfo&, const IntRect&);
+ static bool paintMediaVolumeSlider(LayoutObject*, const PaintInfo&, const IntRect&);
+ static bool paintMediaVolumeSliderThumb(LayoutObject*, const PaintInfo&, const IntRect&);
+ static bool paintMediaFullscreenButton(LayoutObject*, const PaintInfo&, const IntRect&);
+ static bool paintMediaOverlayPlayButton(LayoutObject*, const PaintInfo&, const IntRect&);
+ static bool paintMediaCastButton(LayoutObject*, const PaintInfo&, const IntRect&);
static void adjustMediaSliderThumbSize(ComputedStyle&);
};
« no previous file with comments | « no previous file | Source/core/paint/MediaControlsPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698