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

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

Issue 7740038: Use macros to define pepper interfaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: New patch Created 9 years, 3 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/plugin_module.cc ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.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) 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 WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_
6 #define WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ 6 #define WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 257
258 // PPB_Instance_API implementation. 258 // PPB_Instance_API implementation.
259 virtual PP_Bool BindGraphics(PP_Instance instance, 259 virtual PP_Bool BindGraphics(PP_Instance instance,
260 PP_Resource device) OVERRIDE; 260 PP_Resource device) OVERRIDE;
261 virtual PP_Bool IsFullFrame(PP_Instance instance) OVERRIDE; 261 virtual PP_Bool IsFullFrame(PP_Instance instance) OVERRIDE;
262 virtual PP_Var GetWindowObject(PP_Instance instance) OVERRIDE; 262 virtual PP_Var GetWindowObject(PP_Instance instance) OVERRIDE;
263 virtual PP_Var GetOwnerElementObject(PP_Instance instance) OVERRIDE; 263 virtual PP_Var GetOwnerElementObject(PP_Instance instance) OVERRIDE;
264 virtual PP_Var ExecuteScript(PP_Instance instance, 264 virtual PP_Var ExecuteScript(PP_Instance instance,
265 PP_Var script, 265 PP_Var script,
266 PP_Var* exception) OVERRIDE; 266 PP_Var* exception) OVERRIDE;
267 virtual void Log(PP_Instance instance,
268 int log_level,
269 PP_Var value) OVERRIDE;
270 virtual void LogWithSource(PP_Instance instance,
271 int log_level,
272 PP_Var source,
273 PP_Var value) OVERRIDE;
267 virtual PP_Bool IsFullscreen(PP_Instance instance) OVERRIDE; 274 virtual PP_Bool IsFullscreen(PP_Instance instance) OVERRIDE;
268 virtual PP_Bool SetFullscreen(PP_Instance instance, 275 virtual PP_Bool SetFullscreen(PP_Instance instance,
269 PP_Bool fullscreen) OVERRIDE; 276 PP_Bool fullscreen) OVERRIDE;
270 virtual PP_Bool GetScreenSize(PP_Instance instance, PP_Size* size) OVERRIDE; 277 virtual PP_Bool GetScreenSize(PP_Instance instance, PP_Size* size) OVERRIDE;
271 virtual int32_t RequestInputEvents(PP_Instance instance, 278 virtual int32_t RequestInputEvents(PP_Instance instance,
272 uint32_t event_classes) OVERRIDE; 279 uint32_t event_classes) OVERRIDE;
273 virtual int32_t RequestFilteringInputEvents(PP_Instance instance, 280 virtual int32_t RequestFilteringInputEvents(PP_Instance instance,
274 uint32_t event_classes) OVERRIDE; 281 uint32_t event_classes) OVERRIDE;
275 virtual void ClearInputEventRequest(PP_Instance instance, 282 virtual void ClearInputEventRequest(PP_Instance instance,
276 uint32_t event_classes) OVERRIDE; 283 uint32_t event_classes) OVERRIDE;
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 483
477 PP_CompletionCallback lock_mouse_callback_; 484 PP_CompletionCallback lock_mouse_callback_;
478 485
479 DISALLOW_COPY_AND_ASSIGN(PluginInstance); 486 DISALLOW_COPY_AND_ASSIGN(PluginInstance);
480 }; 487 };
481 488
482 } // namespace ppapi 489 } // namespace ppapi
483 } // namespace webkit 490 } // namespace webkit
484 491
485 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ 492 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/plugin_module.cc ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698