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

Side by Side Diff: content/browser/renderer_host/surface_texture_transport_client_android.cc

Issue 12895006: Remove some unused headers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "content/browser/renderer_host/surface_texture_transport_client_android .h" 5 #include "content/browser/renderer_host/surface_texture_transport_client_android .h"
6 6
7 #include <android/native_window_jni.h> 7 #include <android/native_window_jni.h>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "cc/layers/video_layer.h" 10 #include "cc/layers/video_layer.h"
11 #include "content/browser/gpu/gpu_surface_tracker.h" 11 #include "content/browser/gpu/gpu_surface_tracker.h"
12 #include "content/browser/renderer_host/compositor_impl_android.h" 12 #include "content/browser/renderer_host/compositor_impl_android.h"
13 #include "content/browser/renderer_host/image_transport_factory_android.h" 13 #include "content/browser/renderer_host/image_transport_factory_android.h"
14 #include "content/common/android/surface_texture_bridge.h" 14 #include "content/common/android/surface_texture_bridge.h"
15 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3 D.h" 15 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3 D.h"
16 #include "third_party/WebKit/Source/Platform/chromium/public/WebVideoLayer.h"
17 #include "webkit/compositor_bindings/web_compositor_support_impl.h" 16 #include "webkit/compositor_bindings/web_compositor_support_impl.h"
18 #include "webkit/media/webvideoframe_impl.h"
19 17
20 namespace { 18 namespace {
21 19
22 static const uint32 kGLTextureExternalOES = 0x8D65; 20 static const uint32 kGLTextureExternalOES = 0x8D65;
23 21
24 } // anonymous namespace 22 } // anonymous namespace
25 23
26 namespace content { 24 namespace content {
27 25
28 SurfaceTextureTransportClient::SurfaceTextureTransportClient() 26 SurfaceTextureTransportClient::SurfaceTextureTransportClient()
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 96
99 void SurfaceTextureTransportClient::PutCurrentFrame( 97 void SurfaceTextureTransportClient::PutCurrentFrame(
100 const scoped_refptr<media::VideoFrame>& frame) { 98 const scoped_refptr<media::VideoFrame>& frame) {
101 } 99 }
102 100
103 void SurfaceTextureTransportClient::OnSurfaceTextureFrameAvailable() { 101 void SurfaceTextureTransportClient::OnSurfaceTextureFrameAvailable() {
104 video_layer_->SetNeedsDisplay(); 102 video_layer_->SetNeedsDisplay();
105 } 103 }
106 104
107 } // namespace content 105 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698