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

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

Issue 10091003: Convert flash to thunk (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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
« no previous file with comments | « webkit/plugins/ppapi/host_globals.cc ('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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 virtual std::string GetDefaultEncoding(); 167 virtual std::string GetDefaultEncoding();
168 virtual void ZoomLimitsChanged(double minimum_factor, 168 virtual void ZoomLimitsChanged(double minimum_factor,
169 double maximum_factor); 169 double maximum_factor);
170 virtual std::string ResolveProxy(const GURL& url); 170 virtual std::string ResolveProxy(const GURL& url);
171 virtual void DidStartLoading(); 171 virtual void DidStartLoading();
172 virtual void DidStopLoading(); 172 virtual void DidStopLoading();
173 virtual void SetContentRestriction(int restrictions); 173 virtual void SetContentRestriction(int restrictions);
174 virtual void SaveURLAs(const GURL& url); 174 virtual void SaveURLAs(const GURL& url);
175 virtual webkit_glue::P2PTransport* CreateP2PTransport(); 175 virtual webkit_glue::P2PTransport* CreateP2PTransport();
176 virtual double GetLocalTimeZoneOffset(base::Time t); 176 virtual double GetLocalTimeZoneOffset(base::Time t);
177 virtual std::string GetFlashCommandLineArgs();
178 virtual base::SharedMemory* CreateAnonymousSharedMemory(uint32_t size); 177 virtual base::SharedMemory* CreateAnonymousSharedMemory(uint32_t size);
179 virtual ::ppapi::Preferences GetPreferences(); 178 virtual ::ppapi::Preferences GetPreferences();
180 virtual bool LockMouse(PluginInstance* instance); 179 virtual bool LockMouse(PluginInstance* instance);
181 virtual void UnlockMouse(PluginInstance* instance); 180 virtual void UnlockMouse(PluginInstance* instance);
182 virtual bool IsMouseLocked(PluginInstance* instance); 181 virtual bool IsMouseLocked(PluginInstance* instance);
183 virtual void DidChangeCursor(PluginInstance* instance, 182 virtual void DidChangeCursor(PluginInstance* instance,
184 const WebKit::WebCursorInfo& cursor); 183 const WebKit::WebCursorInfo& cursor);
185 virtual void DidReceiveMouseEvent(PluginInstance* instance); 184 virtual void DidReceiveMouseEvent(PluginInstance* instance);
186 virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE; 185 virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE;
187 virtual bool IsInFullscreenMode(); 186 virtual bool IsInFullscreenMode();
188 virtual bool IsPageVisible() const; 187 virtual bool IsPageVisible() const;
189 virtual int EnumerateDevices(PP_DeviceType_Dev type, 188 virtual int EnumerateDevices(PP_DeviceType_Dev type,
190 const EnumerateDevicesCallback& callback); 189 const EnumerateDevicesCallback& callback);
191 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const; 190 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const;
192 }; 191 };
193 192
194 } // namespace ppapi 193 } // namespace ppapi
195 } // namespace webkit 194 } // namespace webkit
196 195
197 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 196 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/host_globals.cc ('k') | webkit/plugins/ppapi/mock_plugin_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698