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

Side by Side Diff: remoting/client/plugin/pepper_video_renderer_3d.h

Issue 1559043004: Add GetFrameConsumer() in VideoRenderer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_video_renderer
Patch Set: Created 4 years, 11 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 REMOTING_CLIENT_PLUGIN_PEPPER_VIDEO_RENDERER_3D_H_ 5 #ifndef REMOTING_CLIENT_PLUGIN_PEPPER_VIDEO_RENDERER_3D_H_
6 #define REMOTING_CLIENT_PLUGIN_PEPPER_VIDEO_RENDERER_3D_H_ 6 #define REMOTING_CLIENT_PLUGIN_PEPPER_VIDEO_RENDERER_3D_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <deque> 10 #include <deque>
(...skipping 27 matching lines...) Expand all
38 bool Initialize(pp::Instance* instance, 38 bool Initialize(pp::Instance* instance,
39 const ClientContext& context, 39 const ClientContext& context,
40 EventHandler* event_handler, 40 EventHandler* event_handler,
41 protocol::PerformanceTracker* perf_tracker) override; 41 protocol::PerformanceTracker* perf_tracker) override;
42 void OnViewChanged(const pp::View& view) override; 42 void OnViewChanged(const pp::View& view) override;
43 void EnableDebugDirtyRegion(bool enable) override; 43 void EnableDebugDirtyRegion(bool enable) override;
44 44
45 // VideoRenderer interface. 45 // VideoRenderer interface.
46 void OnSessionConfig(const protocol::SessionConfig& config) override; 46 void OnSessionConfig(const protocol::SessionConfig& config) override;
47 protocol::VideoStub* GetVideoStub() override; 47 protocol::VideoStub* GetVideoStub() override;
48 protocol::FrameConsumer* GetFrameConsumer() override;
48 49
49 // protocol::VideoStub interface. 50 // protocol::VideoStub interface.
50 void ProcessVideoPacket(scoped_ptr<VideoPacket> packet, 51 void ProcessVideoPacket(scoped_ptr<VideoPacket> packet,
51 const base::Closure& done) override; 52 const base::Closure& done) override;
52 53
53 private: 54 private:
54 class PendingPacket; 55 class PendingPacket;
55 class Picture; 56 class Picture;
56 57
57 // Callback for pp::VideoDecoder::Initialize(). 58 // Callback for pp::VideoDecoder::Initialize().
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 bool debug_dirty_region_ = false; 139 bool debug_dirty_region_ = false;
139 140
140 pp::CompletionCallbackFactory<PepperVideoRenderer3D> callback_factory_; 141 pp::CompletionCallbackFactory<PepperVideoRenderer3D> callback_factory_;
141 142
142 DISALLOW_COPY_AND_ASSIGN(PepperVideoRenderer3D); 143 DISALLOW_COPY_AND_ASSIGN(PepperVideoRenderer3D);
143 }; 144 };
144 145
145 } // namespace remoting 146 } // namespace remoting
146 147
147 #endif // REMOTING_CLIENT_PLUGIN_PEPPER_VIDEO_RENDERER_3D_H_ 148 #endif // REMOTING_CLIENT_PLUGIN_PEPPER_VIDEO_RENDERER_3D_H_
OLDNEW
« no previous file with comments | « remoting/client/plugin/pepper_video_renderer_2d.cc ('k') | remoting/client/plugin/pepper_video_renderer_3d.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698