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

Side by Side Diff: ppapi/proxy/ppb_instance_proxy.h

Issue 564573002: PPAPI: Make PPP_MessageHandler work in PNaCl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge Created 6 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
« no previous file with comments | « ppapi/proxy/message_handler.cc ('k') | ppapi/proxy/ppb_instance_proxy.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 PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ 5 #ifndef PPAPI_PROXY_PPB_INSTANCE_PROXY_H_
6 #define PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ 6 #define PPAPI_PROXY_PPB_INSTANCE_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 virtual void StartTrackingLatency(PP_Instance instance) OVERRIDE; 82 virtual void StartTrackingLatency(PP_Instance instance) OVERRIDE;
83 virtual void ClearInputEventRequest(PP_Instance instance, 83 virtual void ClearInputEventRequest(PP_Instance instance,
84 uint32_t event_classes) OVERRIDE; 84 uint32_t event_classes) OVERRIDE;
85 virtual void ZoomChanged(PP_Instance instance, double factor) OVERRIDE; 85 virtual void ZoomChanged(PP_Instance instance, double factor) OVERRIDE;
86 virtual void ZoomLimitsChanged(PP_Instance instance, 86 virtual void ZoomLimitsChanged(PP_Instance instance,
87 double minimum_factor, 87 double minimum_factor,
88 double maximium_factor) OVERRIDE; 88 double maximium_factor) OVERRIDE;
89 virtual void PostMessage(PP_Instance instance, PP_Var message) OVERRIDE; 89 virtual void PostMessage(PP_Instance instance, PP_Var message) OVERRIDE;
90 virtual int32_t RegisterMessageHandler(PP_Instance instance, 90 virtual int32_t RegisterMessageHandler(PP_Instance instance,
91 void* user_data, 91 void* user_data,
92 const PPP_MessageHandler_0_1* handler, 92 const PPP_MessageHandler_0_2* handler,
93 PP_Resource message_loop) OVERRIDE; 93 PP_Resource message_loop) OVERRIDE;
94 virtual int32_t RegisterMessageHandler_1_1_Deprecated(
95 PP_Instance instance,
96 void* user_data,
97 const PPP_MessageHandler_0_1_Deprecated* handler,
98 PP_Resource message_loop) OVERRIDE;
94 virtual void UnregisterMessageHandler(PP_Instance instance) OVERRIDE; 99 virtual void UnregisterMessageHandler(PP_Instance instance) OVERRIDE;
95 virtual PP_Bool SetCursor(PP_Instance instance, 100 virtual PP_Bool SetCursor(PP_Instance instance,
96 PP_MouseCursor_Type type, 101 PP_MouseCursor_Type type,
97 PP_Resource image, 102 PP_Resource image,
98 const PP_Point* hot_spot) OVERRIDE; 103 const PP_Point* hot_spot) OVERRIDE;
99 virtual int32_t LockMouse(PP_Instance instance, 104 virtual int32_t LockMouse(PP_Instance instance,
100 scoped_refptr<TrackedCallback> callback) OVERRIDE; 105 scoped_refptr<TrackedCallback> callback) OVERRIDE;
101 virtual void UnlockMouse(PP_Instance instance) OVERRIDE; 106 virtual void UnlockMouse(PP_Instance instance) OVERRIDE;
102 virtual void SetTextInputType(PP_Instance instance, 107 virtual void SetTextInputType(PP_Instance instance,
103 PP_TextInput_Type type) OVERRIDE; 108 PP_TextInput_Type type) OVERRIDE;
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 // Other helpers. 333 // Other helpers.
329 void CancelAnyPendingRequestSurroundingText(PP_Instance instance); 334 void CancelAnyPendingRequestSurroundingText(PP_Instance instance);
330 335
331 ProxyCompletionCallbackFactory<PPB_Instance_Proxy> callback_factory_; 336 ProxyCompletionCallbackFactory<PPB_Instance_Proxy> callback_factory_;
332 }; 337 };
333 338
334 } // namespace proxy 339 } // namespace proxy
335 } // namespace ppapi 340 } // namespace ppapi
336 341
337 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ 342 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/message_handler.cc ('k') | ppapi/proxy/ppb_instance_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698