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

Side by Side Diff: content/renderer/pepper_plugin_delegate_impl.h

Issue 7260008: Implement proper synchronization between HW video decode IPC and CommandBuffer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 5 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
6 #define CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 6 #define CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <map> 10 #include <map>
(...skipping 11 matching lines...) Expand all
22 22
23 class FilePath; 23 class FilePath;
24 class PepperPluginDelegateImpl; 24 class PepperPluginDelegateImpl;
25 class RenderView; 25 class RenderView;
26 26
27 namespace gfx { 27 namespace gfx {
28 class Point; 28 class Point;
29 class Rect; 29 class Rect;
30 } 30 }
31 31
32 namespace gpu {
33 class CommandBufferHelper;
34 }
35
32 namespace IPC { 36 namespace IPC {
33 struct ChannelHandle; 37 struct ChannelHandle;
34 } 38 }
35 39
36 namespace webkit { 40 namespace webkit {
37 namespace ppapi { 41 namespace ppapi {
38 class PepperFilePath; 42 class PepperFilePath;
39 class PluginInstance; 43 class PluginInstance;
40 class PluginModule; 44 class PluginModule;
41 } 45 }
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 webkit::ppapi::PluginInstance* instance); 177 webkit::ppapi::PluginInstance* instance);
174 virtual SkBitmap* GetSadPluginBitmap(); 178 virtual SkBitmap* GetSadPluginBitmap();
175 virtual PlatformAudio* CreateAudio( 179 virtual PlatformAudio* CreateAudio(
176 uint32_t sample_rate, 180 uint32_t sample_rate,
177 uint32_t sample_count, 181 uint32_t sample_count,
178 PlatformAudio::Client* client); 182 PlatformAudio::Client* client);
179 virtual PlatformImage2D* CreateImage2D(int width, int height); 183 virtual PlatformImage2D* CreateImage2D(int width, int height);
180 virtual PlatformContext3D* CreateContext3D(); 184 virtual PlatformContext3D* CreateContext3D();
181 virtual PlatformVideoDecoder* CreateVideoDecoder( 185 virtual PlatformVideoDecoder* CreateVideoDecoder(
182 media::VideoDecodeAccelerator::Client* client, 186 media::VideoDecodeAccelerator::Client* client,
183 int command_buffer_route_id); 187 int32 command_buffer_route_id,
188 gpu::CommandBufferHelper* cmd_buffer_helper);
184 virtual PpapiBroker* ConnectToPpapiBroker( 189 virtual PpapiBroker* ConnectToPpapiBroker(
185 webkit::ppapi::PPB_Broker_Impl* client); 190 webkit::ppapi::PPB_Broker_Impl* client);
186 virtual void NumberOfFindResultsChanged(int identifier, 191 virtual void NumberOfFindResultsChanged(int identifier,
187 int total, 192 int total,
188 bool final_result); 193 bool final_result);
189 virtual void SelectedFindResultChanged(int identifier, int index); 194 virtual void SelectedFindResultChanged(int identifier, int index);
190 virtual bool RunFileChooser( 195 virtual bool RunFileChooser(
191 const WebKit::WebFileChooserParams& params, 196 const WebKit::WebFileChooserParams& params,
192 WebKit::WebFileChooserCompletion* chooser_completion); 197 WebKit::WebFileChooserCompletion* chooser_completion);
193 virtual bool AsyncOpenFile(const FilePath& path, 198 virtual bool AsyncOpenFile(const FilePath& path,
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 typedef IDMap<scoped_refptr<PpapiBrokerImpl>, IDMapOwnPointer> BrokerMap; 313 typedef IDMap<scoped_refptr<PpapiBrokerImpl>, IDMapOwnPointer> BrokerMap;
309 BrokerMap pending_connect_broker_; 314 BrokerMap pending_connect_broker_;
310 315
311 // Whether or not the focus is on a PPAPI plugin 316 // Whether or not the focus is on a PPAPI plugin
312 bool is_pepper_plugin_focused_; 317 bool is_pepper_plugin_focused_;
313 318
314 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); 319 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl);
315 }; 320 };
316 321
317 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 322 #endif // CONTENT_RENDERER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper_platform_video_decoder_impl.cc ('k') | content/renderer/pepper_plugin_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698