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

Side by Side Diff: content/renderer/media/android/stream_texture_factory_android_impl.h

Issue 63253002: Rename WebKit namespace to blink (part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_MEDIA_ANDROID_STREAM_TEXTURE_FACTORY_ANDROID_IMPL_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_ANDROID_STREAM_TEXTURE_FACTORY_ANDROID_IMPL_H_
6 #define CONTENT_RENDERER_MEDIA_ANDROID_STREAM_TEXTURE_FACTORY_ANDROID_IMPL_H_ 6 #define CONTENT_RENDERER_MEDIA_ANDROID_STREAM_TEXTURE_FACTORY_ANDROID_IMPL_H_
7 7
8 #include "content/renderer/media/android/stream_texture_factory_android.h" 8 #include "content/renderer/media/android/stream_texture_factory_android.h"
9 9
10 namespace WebKit { 10 namespace blink {
11 class WebGraphicsContext3D; 11 class WebGraphicsContext3D;
12 } 12 }
13 13
14 namespace content { 14 namespace content {
15 15
16 class GpuChannelHost; 16 class GpuChannelHost;
17 17
18 class StreamTextureFactoryImpl : public StreamTextureFactory { 18 class StreamTextureFactoryImpl : public StreamTextureFactory {
19 public: 19 public:
20 StreamTextureFactoryImpl(WebKit::WebGraphicsContext3D* context, 20 StreamTextureFactoryImpl(blink::WebGraphicsContext3D* context,
21 GpuChannelHost* channel, 21 GpuChannelHost* channel,
22 int view_id); 22 int view_id);
23 virtual ~StreamTextureFactoryImpl(); 23 virtual ~StreamTextureFactoryImpl();
24 24
25 // StreamTextureFactory implementation. 25 // StreamTextureFactory implementation.
26 virtual StreamTextureProxy* CreateProxy() OVERRIDE; 26 virtual StreamTextureProxy* CreateProxy() OVERRIDE;
27 virtual void EstablishPeer(int32 stream_id, int player_id) OVERRIDE; 27 virtual void EstablishPeer(int32 stream_id, int player_id) OVERRIDE;
28 virtual unsigned CreateStreamTexture( 28 virtual unsigned CreateStreamTexture(
29 unsigned texture_target, 29 unsigned texture_target,
30 unsigned* texture_id, 30 unsigned* texture_id,
31 gpu::Mailbox* texture_mailbox, 31 gpu::Mailbox* texture_mailbox,
32 unsigned* texture_mailbox_sync_point) OVERRIDE; 32 unsigned* texture_mailbox_sync_point) OVERRIDE;
33 virtual void DestroyStreamTexture(unsigned texture_id) OVERRIDE; 33 virtual void DestroyStreamTexture(unsigned texture_id) OVERRIDE;
34 virtual void SetStreamTextureSize(int32 texture_id, 34 virtual void SetStreamTextureSize(int32 texture_id,
35 const gfx::Size& size) OVERRIDE; 35 const gfx::Size& size) OVERRIDE;
36 virtual WebKit::WebGraphicsContext3D* Context3d() OVERRIDE; 36 virtual blink::WebGraphicsContext3D* Context3d() OVERRIDE;
37 37
38 private: 38 private:
39 WebKit::WebGraphicsContext3D* context_; 39 blink::WebGraphicsContext3D* context_;
40 scoped_refptr<GpuChannelHost> channel_; 40 scoped_refptr<GpuChannelHost> channel_;
41 int view_id_; 41 int view_id_;
42 42
43 DISALLOW_IMPLICIT_CONSTRUCTORS(StreamTextureFactoryImpl); 43 DISALLOW_IMPLICIT_CONSTRUCTORS(StreamTextureFactoryImpl);
44 }; 44 };
45 45
46 } // namespace content 46 } // namespace content
47 47
48 #endif // CONTENT_RENDERER_MEDIA_ANDROID_STREAM_TEXTURE_FACTORY_ANDROID_IMPL_H_ 48 #endif // CONTENT_RENDERER_MEDIA_ANDROID_STREAM_TEXTURE_FACTORY_ANDROID_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698