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

Side by Side Diff: webkit/plugins/ppapi/mock_plugin_delegate.h

Issue 11053003: Migrate Graphics2D to new design. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase Created 8 years 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
« no previous file with comments | « ppapi/thunk/ppb_graphics_2d_api.h ('k') | webkit/plugins/ppapi/mock_plugin_delegate.cc » ('j') | 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 #ifndef WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
6 #define WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 6 #define WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
7 7
8 #include "webkit/plugins/ppapi/plugin_delegate.h" 8 #include "webkit/plugins/ppapi/plugin_delegate.h"
9 9
10 struct PP_NetAddress_Private; 10 struct PP_NetAddress_Private;
(...skipping 19 matching lines...) Expand all
30 int selection_end); 30 int selection_end);
31 virtual void SimulateImeConfirmComposition(const string16& text); 31 virtual void SimulateImeConfirmComposition(const string16& text);
32 virtual void PluginCrashed(PluginInstance* instance); 32 virtual void PluginCrashed(PluginInstance* instance);
33 virtual void InstanceCreated(PluginInstance* instance); 33 virtual void InstanceCreated(PluginInstance* instance);
34 virtual void InstanceDeleted(PluginInstance* instance); 34 virtual void InstanceDeleted(PluginInstance* instance);
35 virtual scoped_ptr< ::ppapi::thunk::ResourceCreationAPI> 35 virtual scoped_ptr< ::ppapi::thunk::ResourceCreationAPI>
36 CreateResourceCreationAPI(PluginInstance* instance); 36 CreateResourceCreationAPI(PluginInstance* instance);
37 virtual SkBitmap* GetSadPluginBitmap(); 37 virtual SkBitmap* GetSadPluginBitmap();
38 virtual WebKit::WebPlugin* CreatePluginReplacement(const FilePath& file_path); 38 virtual WebKit::WebPlugin* CreatePluginReplacement(const FilePath& file_path);
39 virtual PlatformImage2D* CreateImage2D(int width, int height); 39 virtual PlatformImage2D* CreateImage2D(int width, int height);
40 virtual PlatformGraphics2D* GetGraphics2D(PluginInstance* instance,
41 PP_Resource graphics_2d);
40 virtual PlatformContext3D* CreateContext3D(); 42 virtual PlatformContext3D* CreateContext3D();
41 virtual void ReparentContext(PlatformContext3D*); 43 virtual void ReparentContext(PlatformContext3D*);
42 virtual PlatformVideoDecoder* CreateVideoDecoder( 44 virtual PlatformVideoDecoder* CreateVideoDecoder(
43 media::VideoDecodeAccelerator::Client* client, 45 media::VideoDecodeAccelerator::Client* client,
44 int32 command_buffer_route_id); 46 int32 command_buffer_route_id);
45 virtual PlatformVideoCapture* CreateVideoCapture( 47 virtual PlatformVideoCapture* CreateVideoCapture(
46 const std::string& device_id, 48 const std::string& device_id,
47 PlatformVideoCaptureEventHandler* handler); 49 PlatformVideoCaptureEventHandler* handler);
48 virtual uint32_t GetAudioHardwareOutputSampleRate(); 50 virtual uint32_t GetAudioHardwareOutputSampleRate();
49 virtual uint32_t GetAudioHardwareOutputBufferSize(); 51 virtual uint32_t GetAudioHardwareOutputBufferSize();
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 virtual std::string GetDeviceID(); 209 virtual std::string GetDeviceID();
208 virtual PP_FlashLSORestrictions GetLocalDataRestrictions( 210 virtual PP_FlashLSORestrictions GetLocalDataRestrictions(
209 const GURL& document_url, 211 const GURL& document_url,
210 const GURL& plugin_url); 212 const GURL& plugin_url);
211 }; 213 };
212 214
213 } // namespace ppapi 215 } // namespace ppapi
214 } // namespace webkit 216 } // namespace webkit
215 217
216 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 218 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/ppb_graphics_2d_api.h ('k') | webkit/plugins/ppapi/mock_plugin_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698