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

Unified Diff: third_party/WebKit/Source/core/html/shadow/MediaControls.h

Issue 2588823002: Media Controls: change how the MediaControls object is created and handled. (Closed)
Patch Set: fix tests Created 4 years 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: third_party/WebKit/Source/core/html/shadow/MediaControls.h
diff --git a/third_party/WebKit/Source/core/html/shadow/MediaControls.h b/third_party/WebKit/Source/core/html/shadow/MediaControls.h
index 2d4fde72f16227aa6dcbc2fdedd3d75bc319f741..b5c5b0513878cc8d8669bc678be83b8d6ee6d472 100644
--- a/third_party/WebKit/Source/core/html/shadow/MediaControls.h
+++ b/third_party/WebKit/Source/core/html/shadow/MediaControls.h
@@ -36,10 +36,11 @@ class Event;
class MediaControlsMediaEventListener;
class MediaControlsOrientationLockDelegate;
class MediaControlsWindowEventListener;
+class ShadowRoot;
class CORE_EXPORT MediaControls final : public HTMLDivElement {
public:
- static MediaControls* create(HTMLMediaElement&);
+ static MediaControls* create(HTMLMediaElement&, ShadowRoot&);
HTMLMediaElement& mediaElement() const { return *m_mediaElement; }

Powered by Google App Engine
This is Rietveld 408576698