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

Unified Diff: content/renderer/media/renderer_webmediasession_impl.h

Issue 1259633002: NOT FOR LANDING Implement WebMediaSession (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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: content/renderer/media/renderer_webmediasession_impl.h
diff --git a/content/renderer/media/renderer_webmediasession_impl.h b/content/renderer/media/renderer_webmediasession_impl.h
new file mode 100644
index 0000000000000000000000000000000000000000..57fa7a4eb2e9c1f84052c068d040e82cf5f49dff
--- /dev/null
+++ b/content/renderer/media/renderer_webmediasession_impl.h
@@ -0,0 +1,29 @@
+// Copyright (c) 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_RENDERER_MEDIA_RENDERER_WEBMEDIASESSION_IMPL_H_
+#define CONTENT_RENDERER_MEDIA_RENDERER_WEBMEDIASESSION_IMPL_H_
+
+#include "base/macros.h"
+#include "third_party/WebKit/public/platform/WebMediaSession.h"
+
+namespace content {
+
+class RendererWebMediaSessionImpl : public blink::WebMediaSession {
mcasas 2015/07/31 14:14:28 I don't think the prefix "renderer" is needed in e
+ public:
+ RendererWebMediaSessionImpl();
+ virtual ~RendererWebMediaSessionImpl();
+
+ // blink::WebMediaSession implementation.
+ virtual void activate();
whywhat 2015/07/30 14:31:22 nit: we use "override" instead of "virtual" in Chr
philipj_slow 2015/07/30 14:47:04 Oops, copypasta.
mlamouri (slow - plz ping) 2015/08/05 15:50:16 We don't actually use override when overriding Bli
+ virtual void deactivate();
+
+ private:
+
mlamouri (slow - plz ping) 2015/08/05 15:50:16 nit: remove empty line
+ DISALLOW_COPY_AND_ASSIGN(RendererWebMediaSessionImpl);
+};
+
+} // namespace content
+
+#endif // CONTENT_RENDERER_MEDIA_RENDERER_WEBMEDIASESSION_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698