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

Unified Diff: content/renderer/media/android/stream_texture_factory_android_synchronous_impl.h

Issue 22766004: Fullscreen video in Android WebView (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: minor clean ups Created 7 years, 4 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/android/stream_texture_factory_android_synchronous_impl.h
diff --git a/content/renderer/media/android/stream_texture_factory_android_synchronous_impl.h b/content/renderer/media/android/stream_texture_factory_android_synchronous_impl.h
new file mode 100644
index 0000000000000000000000000000000000000000..0265d562bb8b87cec1a522d4111acc49d73ca0ac
--- /dev/null
+++ b/content/renderer/media/android/stream_texture_factory_android_synchronous_impl.h
@@ -0,0 +1,31 @@
+// Copyright 2013 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_ANDROID_STREAM_TEXTURE_FACTORY_ANDROID_SYNCHRONOUS_IMPL_H_
+#define CONTENT_RENDERER_MEDIA_ANDROID_STREAM_TEXTURE_FACTORY_ANDROID_SYNCHRONOUS_IMPL_H_
+
+#include "content/renderer/media/android/stream_texture_factory_android.h"
+
+namespace content {
+
+class StreamTextureFactorySynchronousImpl : public StreamTextureFactory {
+ public:
+ StreamTextureFactorySynchronousImpl();
+ virtual ~StreamTextureFactorySynchronousImpl();
+
+ virtual StreamTextureProxy* CreateProxy() OVERRIDE;
+ virtual void EstablishPeer(int32 stream_id, int player_id) OVERRIDE;
+ virtual unsigned CreateStreamTexture(
+ unsigned texture_target,
+ unsigned* texture_id,
+ gpu::Mailbox* texture_mailbox,
+ unsigned* texture_mailbox_sync_point) OVERRIDE;
+ virtual void DestroyStreamTexture(unsigned texture_id) OVERRIDE;
+ virtual void SetStreamTextureSize(int32 texture_id,
+ const gfx::Size& size) OVERRIDE;
no sievers 2013/08/10 02:08:46 private: DISALLOW_IMPLICIT_CONSTRUCTORS()
boliu 2013/08/10 04:17:04 Done.
+};
+
+} // namespace content
+
+#endif // CONTENT_RENDERER_MEDIA_ANDROID_STREAM_TEXTURE_FACTORY_ANDROID_IMPL_H_
no sievers 2013/08/10 02:08:46 nit: // CONTENT_RENDERER_MEDIA_ANDROID_STREAM_TEXT
boliu 2013/08/10 04:17:04 Done.

Powered by Google App Engine
This is Rietveld 408576698