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

Side by Side Diff: ppapi/thunk/ppb_instance_api.h

Issue 1014723007: Remove deprecated PPB_Messaging_1_1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove from interfaces_ppb_public_dev_channel.h and histograms.xml Created 5 years, 9 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
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 PPAPI_THUNK_INSTANCE_API_H_ 5 #ifndef PPAPI_THUNK_INSTANCE_API_H_
6 #define PPAPI_THUNK_INSTANCE_API_H_ 6 #define PPAPI_THUNK_INSTANCE_API_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "ppapi/c/dev/ppb_messaging_deprecated.h"
11 #include "ppapi/c/dev/ppb_url_util_dev.h" 10 #include "ppapi/c/dev/ppb_url_util_dev.h"
12 #include "ppapi/c/pp_bool.h" 11 #include "ppapi/c/pp_bool.h"
13 #include "ppapi/c/pp_completion_callback.h" 12 #include "ppapi/c/pp_completion_callback.h"
14 #include "ppapi/c/pp_size.h" 13 #include "ppapi/c/pp_size.h"
15 #include "ppapi/c/pp_time.h" 14 #include "ppapi/c/pp_time.h"
16 #include "ppapi/c/ppb_audio_config.h" 15 #include "ppapi/c/ppb_audio_config.h"
17 #include "ppapi/c/ppb_console.h" 16 #include "ppapi/c/ppb_console.h"
18 #include "ppapi/c/ppb_gamepad.h" 17 #include "ppapi/c/ppb_gamepad.h"
19 #include "ppapi/c/ppb_instance.h" 18 #include "ppapi/c/ppb_instance.h"
20 #include "ppapi/c/ppb_mouse_cursor.h" 19 #include "ppapi/c/ppb_mouse_cursor.h"
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 113
115 // InputEventPrivate. 114 // InputEventPrivate.
116 virtual void StartTrackingLatency(PP_Instance instance) = 0; 115 virtual void StartTrackingLatency(PP_Instance instance) = 0;
117 116
118 // Messaging. 117 // Messaging.
119 virtual void PostMessage(PP_Instance instance, PP_Var message) = 0; 118 virtual void PostMessage(PP_Instance instance, PP_Var message) = 0;
120 virtual int32_t RegisterMessageHandler(PP_Instance instance, 119 virtual int32_t RegisterMessageHandler(PP_Instance instance,
121 void* user_data, 120 void* user_data,
122 const PPP_MessageHandler_0_2* handler, 121 const PPP_MessageHandler_0_2* handler,
123 PP_Resource message_loop) = 0; 122 PP_Resource message_loop) = 0;
124 virtual int32_t RegisterMessageHandler_1_1_Deprecated(
125 PP_Instance instance,
126 void* user_data,
127 const PPP_MessageHandler_0_1_Deprecated* handler,
128 PP_Resource message_loop) = 0;
129 virtual void UnregisterMessageHandler(PP_Instance instance) = 0; 123 virtual void UnregisterMessageHandler(PP_Instance instance) = 0;
130 124
131 // Mouse cursor. 125 // Mouse cursor.
132 virtual PP_Bool SetCursor(PP_Instance instance, 126 virtual PP_Bool SetCursor(PP_Instance instance,
133 PP_MouseCursor_Type type, 127 PP_MouseCursor_Type type,
134 PP_Resource image, 128 PP_Resource image,
135 const PP_Point* hot_spot) = 0; 129 const PP_Point* hot_spot) = 0;
136 130
137 // MouseLock. 131 // MouseLock.
138 virtual int32_t LockMouse(PP_Instance instance, 132 virtual int32_t LockMouse(PP_Instance instance,
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 PP_URLComponents_Dev* components) = 0; 219 PP_URLComponents_Dev* components) = 0;
226 #endif // !defined(OS_NACL) 220 #endif // !defined(OS_NACL)
227 221
228 static const ApiID kApiID = API_ID_PPB_INSTANCE; 222 static const ApiID kApiID = API_ID_PPB_INSTANCE;
229 }; 223 };
230 224
231 } // namespace thunk 225 } // namespace thunk
232 } // namespace ppapi 226 } // namespace ppapi
233 227
234 #endif // PPAPI_THUNK_INSTANCE_API_H_ 228 #endif // PPAPI_THUNK_INSTANCE_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698