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

Side by Side Diff: content/renderer/media/android/stream_texture_factory_android.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_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_ANDROID_STREAM_TEXTURE_FACTORY_ANDROID_H_
6 #define CONTENT_RENDERER_MEDIA_ANDROID_STREAM_TEXTURE_FACTORY_ANDROID_H_ 6 #define CONTENT_RENDERER_MEDIA_ANDROID_STREAM_TEXTURE_FACTORY_ANDROID_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "cc/layers/video_frame_provider.h" 9 #include "cc/layers/video_frame_provider.h"
10 #include "gpu/command_buffer/common/mailbox.h" 10 #include "gpu/command_buffer/common/mailbox.h"
11 #include "ui/gfx/size.h" 11 #include "ui/gfx/size.h"
12 12
13 namespace WebKit { 13 namespace blink {
14 class WebGraphicsContext3D; 14 class WebGraphicsContext3D;
15 } 15 }
16 16
17 namespace content { 17 namespace content {
18 18
19 // The proxy class for the gpu thread to notify the compositor thread 19 // The proxy class for the gpu thread to notify the compositor thread
20 // when a new video frame is available. 20 // when a new video frame is available.
21 class StreamTextureProxy { 21 class StreamTextureProxy {
22 public: 22 public:
23 virtual ~StreamTextureProxy() {} 23 virtual ~StreamTextureProxy() {}
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 unsigned* texture_mailbox_sync_point) = 0; 68 unsigned* texture_mailbox_sync_point) = 0;
69 69
70 // Destroy the streamTexture for the given texture id, as well as the 70 // Destroy the streamTexture for the given texture id, as well as the
71 // client side texture. 71 // client side texture.
72 virtual void DestroyStreamTexture(unsigned texture_id) = 0; 72 virtual void DestroyStreamTexture(unsigned texture_id) = 0;
73 73
74 // Set the streamTexture size for the given stream Id. 74 // Set the streamTexture size for the given stream Id.
75 virtual void SetStreamTextureSize(int32 texture_id, 75 virtual void SetStreamTextureSize(int32 texture_id,
76 const gfx::Size& size) = 0; 76 const gfx::Size& size) = 0;
77 77
78 virtual WebKit::WebGraphicsContext3D* Context3d() = 0; 78 virtual blink::WebGraphicsContext3D* Context3d() = 0;
79 }; 79 };
80 80
81 } // namespace content 81 } // namespace content
82 82
83 #endif // CONTENT_RENDERER_MEDIA_ANDROID_STREAM_TEXTURE_FACTORY_ANDROID_H_ 83 #endif // CONTENT_RENDERER_MEDIA_ANDROID_STREAM_TEXTURE_FACTORY_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698