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

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

Issue 10578043: Hook up content/renderer to the PPAPI host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments addressed Created 8 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) 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 15 matching lines...) Expand all
26 virtual void PluginSelectionChanged(PluginInstance* instance); 26 virtual void PluginSelectionChanged(PluginInstance* instance);
27 virtual void SimulateImeSetComposition( 27 virtual void SimulateImeSetComposition(
28 const string16& text, 28 const string16& text,
29 const std::vector<WebKit::WebCompositionUnderline>& underlines, 29 const std::vector<WebKit::WebCompositionUnderline>& underlines,
30 int selection_start, 30 int selection_start,
31 int selection_end); 31 int selection_end);
32 virtual void SimulateImeConfirmComposition(const string16& text); 32 virtual void SimulateImeConfirmComposition(const string16& text);
33 virtual void PluginCrashed(PluginInstance* instance); 33 virtual void PluginCrashed(PluginInstance* instance);
34 virtual void InstanceCreated(PluginInstance* instance); 34 virtual void InstanceCreated(PluginInstance* instance);
35 virtual void InstanceDeleted(PluginInstance* instance); 35 virtual void InstanceDeleted(PluginInstance* instance);
36 virtual scoped_ptr< ::ppapi::thunk::ResourceCreationAPI>
37 CreateResourceCreationAPI(PluginInstance* instance);
36 virtual SkBitmap* GetSadPluginBitmap(); 38 virtual SkBitmap* GetSadPluginBitmap();
37 virtual WebKit::WebPlugin* CreatePluginReplacement(const FilePath& file_path); 39 virtual WebKit::WebPlugin* CreatePluginReplacement(const FilePath& file_path);
38 virtual PlatformImage2D* CreateImage2D(int width, int height); 40 virtual PlatformImage2D* CreateImage2D(int width, int height);
39 virtual PlatformContext3D* CreateContext3D(); 41 virtual PlatformContext3D* CreateContext3D();
40 virtual PlatformVideoDecoder* CreateVideoDecoder( 42 virtual PlatformVideoDecoder* CreateVideoDecoder(
41 media::VideoDecodeAccelerator::Client* client, 43 media::VideoDecodeAccelerator::Client* client,
42 int32 command_buffer_route_id); 44 int32 command_buffer_route_id);
43 virtual PlatformVideoCapture* CreateVideoCapture( 45 virtual PlatformVideoCapture* CreateVideoCapture(
44 const std::string& device_id, 46 const std::string& device_id,
45 PlatformVideoCaptureEventHandler* handler); 47 PlatformVideoCaptureEventHandler* handler);
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 virtual int EnumerateDevices(PP_DeviceType_Dev type, 205 virtual int EnumerateDevices(PP_DeviceType_Dev type,
204 const EnumerateDevicesCallback& callback); 206 const EnumerateDevicesCallback& callback);
205 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const; 207 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const;
206 virtual std::string GetDeviceID(); 208 virtual std::string GetDeviceID();
207 }; 209 };
208 210
209 } // namespace ppapi 211 } // namespace ppapi
210 } // namespace webkit 212 } // namespace webkit
211 213
212 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 214 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_plugin_delegate_impl.cc ('k') | webkit/plugins/ppapi/mock_plugin_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698