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

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

Issue 4659001: Convert Chrome PPAPI proxy from bool to PP_Bool. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 1 month 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_PPP_INSTANCE_PROXY_H_ 5 #ifndef PPAPI_PROXY_PPP_INSTANCE_PROXY_H_
6 #define PPAPI_PROXY_PPP_INSTANCE_PROXY_H_ 6 #define PPAPI_PROXY_PPP_INSTANCE_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 23 matching lines...) Expand all
34 // InterfaceProxy implementation. 34 // InterfaceProxy implementation.
35 virtual const void* GetSourceInterface() const; 35 virtual const void* GetSourceInterface() const;
36 virtual InterfaceID GetInterfaceId() const; 36 virtual InterfaceID GetInterfaceId() const;
37 virtual void OnMessageReceived(const IPC::Message& msg); 37 virtual void OnMessageReceived(const IPC::Message& msg);
38 38
39 private: 39 private:
40 // Message handlers. 40 // Message handlers.
41 void OnMsgDidCreate(PP_Instance instance, 41 void OnMsgDidCreate(PP_Instance instance,
42 const std::vector<std::string>& argn, 42 const std::vector<std::string>& argn,
43 const std::vector<std::string>& argv, 43 const std::vector<std::string>& argv,
44 bool* result); 44 PP_Bool* result);
45 void OnMsgDidDestroy(PP_Instance instance); 45 void OnMsgDidDestroy(PP_Instance instance);
46 void OnMsgDidChangeView(PP_Instance instance, 46 void OnMsgDidChangeView(PP_Instance instance,
47 const PP_Rect& position, 47 const PP_Rect& position,
48 const PP_Rect& clip); 48 const PP_Rect& clip);
49 void OnMsgDidChangeFocus(PP_Instance instance, bool has_focus); 49 void OnMsgDidChangeFocus(PP_Instance instance, PP_Bool has_focus);
50 void OnMsgHandleInputEvent(PP_Instance instance, 50 void OnMsgHandleInputEvent(PP_Instance instance,
51 const PP_InputEvent& event, 51 const PP_InputEvent& event,
52 bool* result); 52 PP_Bool* result);
53 void OnMsgHandleDocumentLoad(PP_Instance instance, 53 void OnMsgHandleDocumentLoad(PP_Instance instance,
54 PP_Resource url_loader, 54 PP_Resource url_loader,
55 bool* result); 55 PP_Bool* result);
56 void OnMsgGetInstanceObject(PP_Instance instance, 56 void OnMsgGetInstanceObject(PP_Instance instance,
57 SerializedVarReturnValue result); 57 SerializedVarReturnValue result);
58 }; 58 };
59 59
60 } // namespace proxy 60 } // namespace proxy
61 } // namespace pp 61 } // namespace pp
62 62
63 #endif // PPAPI_PROXY_PPP_INSTANCE_PROXY_H_ 63 #endif // PPAPI_PROXY_PPP_INSTANCE_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698