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

Unified Diff: Source/core/html/shadow/MediaControlsChromiumAndroid.h

Issue 158333002: Merge MediaControlsChromium into MediaControls (2nd try) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix Android Created 6 years, 10 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
Index: Source/core/html/shadow/MediaControlsChromiumAndroid.h
diff --git a/Source/core/html/shadow/MediaControlsChromiumAndroid.h b/Source/core/html/shadow/MediaControlsChromiumAndroid.h
index 7627b85c59a6fc71d18fe913522c75d69e23dabf..1c2dc10a528d202a0df96d1dcd95884e099fab7e 100644
--- a/Source/core/html/shadow/MediaControlsChromiumAndroid.h
+++ b/Source/core/html/shadow/MediaControlsChromiumAndroid.h
@@ -27,14 +27,11 @@
#define MediaControlsChromiumAndroid_h
#include "core/html/shadow/MediaControls.h"
-#include "core/html/shadow/MediaControlsChromium.h"
namespace WebCore {
-class MediaControlsChromiumAndroid FINAL : public MediaControlsChromium {
+class MediaControlsChromiumAndroid FINAL : public MediaControls {
public:
- static PassRefPtr<MediaControlsChromiumAndroid> createControls(Document&);
-
virtual void setMediaController(MediaControllerInterface*) OVERRIDE;
virtual void playbackStarted() OVERRIDE;
virtual void playbackStopped() OVERRIDE;
@@ -45,8 +42,13 @@ public:
private:
explicit MediaControlsChromiumAndroid(Document&);
+ virtual bool initializeControls(Document&) OVERRIDE;
+
MediaControlOverlayPlayButtonElement* m_overlayPlayButton;
MediaControlOverlayEnclosureElement* m_overlayEnclosure;
+
+ // MediaControls::create needs the constructor.
+ friend class MediaControls;
acolwell GONE FROM CHROMIUM 2014/02/10 18:27:32 Why is this friend declaration needed now? AFAICT
philipj_slow 2014/02/10 20:13:17 Done. (I thought it would be nice to let MediaCont
};
}
« no previous file with comments | « Source/core/html/shadow/MediaControlsChromium.cpp ('k') | Source/core/html/shadow/MediaControlsChromiumAndroid.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698