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

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

Issue 19828007: Hide knowledge of webkit::ppapi::Plugin from chrome. This is part of moving ppapi implementation fr… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 virtual int EnumerateDevices(PP_DeviceType_Dev type, 175 virtual int EnumerateDevices(PP_DeviceType_Dev type,
176 const EnumerateDevicesCallback& callback); 176 const EnumerateDevicesCallback& callback);
177 virtual void StopEnumerateDevices(int request_id); 177 virtual void StopEnumerateDevices(int request_id);
178 virtual IPC::PlatformFileForTransit ShareHandleWithRemote( 178 virtual IPC::PlatformFileForTransit ShareHandleWithRemote(
179 base::PlatformFile handle, 179 base::PlatformFile handle,
180 base::ProcessId target_process_id, 180 base::ProcessId target_process_id,
181 bool should_close_source) const; 181 bool should_close_source) const;
182 virtual bool IsRunningInProcess(PP_Instance instance) const; 182 virtual bool IsRunningInProcess(PP_Instance instance) const;
183 virtual void HandleDocumentLoad(PluginInstance* instance, 183 virtual void HandleDocumentLoad(PluginInstance* instance,
184 const WebKit::WebURLResponse& response); 184 const WebKit::WebURLResponse& response);
185 virtual content::RendererPpapiHost* CreateExternalPluginModule(
186 scoped_refptr<PluginModule> module,
187 const base::FilePath& path,
188 ::ppapi::PpapiPermissions permissions,
189 const IPC::ChannelHandle& channel_handle,
190 base::ProcessId plugin_pid,
191 int plugin_child_id);
185 }; 192 };
186 193
187 } // namespace ppapi 194 } // namespace ppapi
188 } // namespace webkit 195 } // namespace webkit
189 196
190 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 197 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698