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

Side by Side Diff: ppapi/native_client/src/shared/ppapi_proxy/plugin_globals.h

Issue 10827456: Remove PPB_Scrollbar_Dev and PPB_Widget_Dev from native client (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Also remove PPB_PDF and associated tests Created 8 years, 4 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 NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_GLOBALS_H_ 5 #ifndef NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_GLOBALS_H_
6 #define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_GLOBALS_H_ 6 #define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_GLOBALS_H_
7 7
8 #include "ppapi/c/dev/ppb_memory_dev.h" 8 #include "ppapi/c/dev/ppb_memory_dev.h"
9 #include "ppapi/c/dev/ppp_find_dev.h" 9 #include "ppapi/c/dev/ppp_find_dev.h"
10 #include "ppapi/c/dev/ppp_printing_dev.h" 10 #include "ppapi/c/dev/ppp_printing_dev.h"
11 #include "ppapi/c/dev/ppp_scrollbar_dev.h"
12 #include "ppapi/c/dev/ppp_selection_dev.h" 11 #include "ppapi/c/dev/ppp_selection_dev.h"
13 #include "ppapi/c/dev/ppp_widget_dev.h"
14 #include "ppapi/c/dev/ppp_zoom_dev.h" 12 #include "ppapi/c/dev/ppp_zoom_dev.h"
15 #include "ppapi/c/pp_module.h" 13 #include "ppapi/c/pp_module.h"
16 #include "ppapi/c/ppb.h" 14 #include "ppapi/c/ppb.h"
17 #include "ppapi/c/ppb_core.h" 15 #include "ppapi/c/ppb_core.h"
18 #include "ppapi/c/ppb_var.h" 16 #include "ppapi/c/ppb_var.h"
19 #include "ppapi/c/ppb_var_array_buffer.h" 17 #include "ppapi/c/ppb_var_array_buffer.h"
20 #include "ppapi/c/ppb_websocket.h" 18 #include "ppapi/c/ppb_websocket.h"
21 #include "ppapi/c/ppp_input_event.h" 19 #include "ppapi/c/ppp_input_event.h"
22 #include "ppapi/c/ppp_instance.h" 20 #include "ppapi/c/ppp_instance.h"
23 #include "ppapi/c/ppp_messaging.h" 21 #include "ppapi/c/ppp_messaging.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 // Since no PppRpcServer function will be called if the interface is NULL, 61 // Since no PppRpcServer function will be called if the interface is NULL,
64 // safe version is used to define interface getters below. 62 // safe version is used to define interface getters below.
65 const void* GetPluginInterface(const char* interface_name); 63 const void* GetPluginInterface(const char* interface_name);
66 const void* GetPluginInterfaceSafe(const char* interface_name); 64 const void* GetPluginInterfaceSafe(const char* interface_name);
67 const PPP_Find_Dev* PPPFindInterface(); 65 const PPP_Find_Dev* PPPFindInterface();
68 const PPP_InputEvent* PPPInputEventInterface(); 66 const PPP_InputEvent* PPPInputEventInterface();
69 PPP_Instance_Combined* PPPInstanceInterface(); 67 PPP_Instance_Combined* PPPInstanceInterface();
70 const PPP_Messaging* PPPMessagingInterface(); 68 const PPP_Messaging* PPPMessagingInterface();
71 const PPP_MouseLock* PPPMouseLockInterface(); 69 const PPP_MouseLock* PPPMouseLockInterface();
72 const PPP_Printing_Dev* PPPPrintingInterface(); 70 const PPP_Printing_Dev* PPPPrintingInterface();
73 const PPP_Scrollbar_Dev* PPPScrollbarInterface();
74 const PPP_Selection_Dev* PPPSelectionInterface(); 71 const PPP_Selection_Dev* PPPSelectionInterface();
75 const PPP_Widget_Dev* PPPWidgetInterface();
76 const PPP_Zoom_Dev* PPPZoomInterface(); 72 const PPP_Zoom_Dev* PPPZoomInterface();
77 73
78 // Get thread creation/join functions. 74 // Get thread creation/join functions.
79 const struct PP_ThreadFunctions* GetThreadCreator(); 75 const struct PP_ThreadFunctions* GetThreadCreator();
80 76
81 // PPAPI constants used in the proxy. 77 // PPAPI constants used in the proxy.
82 extern const PP_Resource kInvalidResourceId; 78 extern const PP_Resource kInvalidResourceId;
83 79
84 // The following function TotalSharedMemorySizeInBytes, is copied & similar 80 // The following function TotalSharedMemorySizeInBytes, is copied & similar
85 // to the one in audio_util.cc. This function includes optional fields 81 // to the one in audio_util.cc. This function includes optional fields
86 // stored at the end of the audio buffer. 82 // stored at the end of the audio buffer.
87 inline size_t TotalAudioSharedMemorySizeInBytes(size_t audio_buffer_size) { 83 inline size_t TotalAudioSharedMemorySizeInBytes(size_t audio_buffer_size) {
88 // Include optional field that communicates the number of bytes written. 84 // Include optional field that communicates the number of bytes written.
89 return audio_buffer_size + sizeof(uint32_t); 85 return audio_buffer_size + sizeof(uint32_t);
90 } 86 }
91 87
92 } // namespace ppapi_proxy 88 } // namespace ppapi_proxy
93 89
94 #endif // NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_GLOBALS_H_ 90 #endif // NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_GLOBALS_H_
OLDNEW
« no previous file with comments | « ppapi/native_client/src/shared/ppapi_proxy/nacl.scons ('k') | ppapi/native_client/src/shared/ppapi_proxy/plugin_globals.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698