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

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: Self review 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
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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 252
253 // PPB_Instance_API implementation. 253 // PPB_Instance_API implementation.
254 virtual PP_Bool BindGraphics(PP_Instance instance, 254 virtual PP_Bool BindGraphics(PP_Instance instance,
255 PP_Resource device) OVERRIDE; 255 PP_Resource device) OVERRIDE;
256 virtual PP_Bool IsFullFrame(PP_Instance instance) OVERRIDE; 256 virtual PP_Bool IsFullFrame(PP_Instance instance) OVERRIDE;
257 virtual PP_Var GetWindowObject(PP_Instance instance) OVERRIDE; 257 virtual PP_Var GetWindowObject(PP_Instance instance) OVERRIDE;
258 virtual PP_Var GetOwnerElementObject(PP_Instance instance) OVERRIDE; 258 virtual PP_Var GetOwnerElementObject(PP_Instance instance) OVERRIDE;
259 virtual PP_Var ExecuteScript(PP_Instance instance, 259 virtual PP_Var ExecuteScript(PP_Instance instance,
260 PP_Var script, 260 PP_Var script,
261 PP_Var* exception) OVERRIDE; 261 PP_Var* exception) OVERRIDE;
262 virtual void Log(PP_Instance instance,
263 int log_level,
264 PP_Var value) OVERRIDE;
265 virtual void LogWithSource(PP_Instance instance,
266 int log_level,
267 PP_Var source,
268 PP_Var value) OVERRIDE;
262 virtual PP_Bool IsFullscreen(PP_Instance instance) OVERRIDE; 269 virtual PP_Bool IsFullscreen(PP_Instance instance) OVERRIDE;
263 virtual PP_Bool SetFullscreen(PP_Instance instance, 270 virtual PP_Bool SetFullscreen(PP_Instance instance,
264 PP_Bool fullscreen) OVERRIDE; 271 PP_Bool fullscreen) OVERRIDE;
265 virtual PP_Bool GetScreenSize(PP_Instance instance, PP_Size* size) OVERRIDE; 272 virtual PP_Bool GetScreenSize(PP_Instance instance, PP_Size* size) OVERRIDE;
266 virtual int32_t RequestInputEvents(PP_Instance instance, 273 virtual int32_t RequestInputEvents(PP_Instance instance,
267 uint32_t event_classes) OVERRIDE; 274 uint32_t event_classes) OVERRIDE;
268 virtual int32_t RequestFilteringInputEvents(PP_Instance instance, 275 virtual int32_t RequestFilteringInputEvents(PP_Instance instance,
269 uint32_t event_classes) OVERRIDE; 276 uint32_t event_classes) OVERRIDE;
270 virtual void ClearInputEventRequest(PP_Instance instance, 277 virtual void ClearInputEventRequest(PP_Instance instance,
271 uint32_t event_classes) OVERRIDE; 278 uint32_t event_classes) OVERRIDE;
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 uint32_t input_event_mask_; 471 uint32_t input_event_mask_;
465 uint32_t filtered_input_event_mask_; 472 uint32_t filtered_input_event_mask_;
466 473
467 DISALLOW_COPY_AND_ASSIGN(PluginInstance); 474 DISALLOW_COPY_AND_ASSIGN(PluginInstance);
468 }; 475 };
469 476
470 } // namespace ppapi 477 } // namespace ppapi
471 } // namespace webkit 478 } // namespace webkit
472 479
473 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_ 480 #endif // WEBKIT_PLUGINS_PPAPI_PPAPI_PLUGIN_INSTANCE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698