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

Side by Side Diff: media/gpu/ipc/client/gpu_video_decode_accelerator_host.h

Issue 2892083002: Send enter / exit fullscreen signal to AVDA (Closed)
Patch Set: unit test Created 3 years, 7 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
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 #ifndef MEDIA_GPU_IPC_CLIENT_GPU_VIDEO_DECODE_ACCELERATOR_HOST_H_ 5 #ifndef MEDIA_GPU_IPC_CLIENT_GPU_VIDEO_DECODE_ACCELERATOR_HOST_H_
6 #define MEDIA_GPU_IPC_CLIENT_GPU_VIDEO_DECODE_ACCELERATOR_HOST_H_ 6 #define MEDIA_GPU_IPC_CLIENT_GPU_VIDEO_DECODE_ACCELERATOR_HOST_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 30 matching lines...) Expand all
41 void OnChannelError() override; 41 void OnChannelError() override;
42 bool OnMessageReceived(const IPC::Message& message) override; 42 bool OnMessageReceived(const IPC::Message& message) override;
43 43
44 // VideoDecodeAccelerator implementation. 44 // VideoDecodeAccelerator implementation.
45 bool Initialize(const Config& config, Client* client) override; 45 bool Initialize(const Config& config, Client* client) override;
46 void Decode(const BitstreamBuffer& bitstream_buffer) override; 46 void Decode(const BitstreamBuffer& bitstream_buffer) override;
47 void AssignPictureBuffers(const std::vector<PictureBuffer>& buffers) override; 47 void AssignPictureBuffers(const std::vector<PictureBuffer>& buffers) override;
48 void ReusePictureBuffer(int32_t picture_buffer_id) override; 48 void ReusePictureBuffer(int32_t picture_buffer_id) override;
49 void Flush() override; 49 void Flush() override;
50 void Reset() override; 50 void Reset() override;
51 void SetSurface(int32_t surface_id, 51 void SetOverlayInfo(const OverlayInfo&) override;
52 const base::Optional<base::UnguessableToken>& token) override;
53 void Destroy() override; 52 void Destroy() override;
54 53
55 // gpu::CommandBufferProxyImpl::DeletionObserver implemetnation. 54 // gpu::CommandBufferProxyImpl::DeletionObserver implemetnation.
56 void OnWillDeleteImpl() override; 55 void OnWillDeleteImpl() override;
57 56
58 private: 57 private:
59 // Only Destroy() should be deleting |this|. 58 // Only Destroy() should be deleting |this|.
60 ~GpuVideoDecodeAcceleratorHost() override; 59 ~GpuVideoDecodeAcceleratorHost() override;
61 60
62 // Notify |client_| of an error. Posts a task to avoid re-entrancy. 61 // Notify |client_| of an error. Posts a task to avoid re-entrancy.
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 // WeakPtr for posting tasks to ourself. 106 // WeakPtr for posting tasks to ourself.
108 base::WeakPtr<GpuVideoDecodeAcceleratorHost> weak_this_; 107 base::WeakPtr<GpuVideoDecodeAcceleratorHost> weak_this_;
109 base::WeakPtrFactory<GpuVideoDecodeAcceleratorHost> weak_this_factory_; 108 base::WeakPtrFactory<GpuVideoDecodeAcceleratorHost> weak_this_factory_;
110 109
111 DISALLOW_COPY_AND_ASSIGN(GpuVideoDecodeAcceleratorHost); 110 DISALLOW_COPY_AND_ASSIGN(GpuVideoDecodeAcceleratorHost);
112 }; 111 };
113 112
114 } // namespace media 113 } // namespace media
115 114
116 #endif // MEDIA_GPU_IPC_CLIENT_GPU_VIDEO_DECODE_ACCELERATOR_HOST_H_ 115 #endif // MEDIA_GPU_IPC_CLIENT_GPU_VIDEO_DECODE_ACCELERATOR_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698