OLD | NEW |
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 "ppapi/c/pp_instance.h" | 8 #include "ppapi/c/pp_instance.h" |
9 #include "ppapi/c/pp_resource.h" | 9 #include "ppapi/c/pp_resource.h" |
10 #include "ppapi/c/pp_time.h" | 10 #include "ppapi/c/pp_time.h" |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 virtual PP_Var GetDefaultCharSet(PP_Instance instance) OVERRIDE; | 60 virtual PP_Var GetDefaultCharSet(PP_Instance instance) OVERRIDE; |
61 virtual void NumberOfFindResultsChanged(PP_Instance instance, | 61 virtual void NumberOfFindResultsChanged(PP_Instance instance, |
62 int32_t total, | 62 int32_t total, |
63 PP_Bool final_result) OVERRIDE; | 63 PP_Bool final_result) OVERRIDE; |
64 virtual void SelectedFindResultChanged(PP_Instance instance, | 64 virtual void SelectedFindResultChanged(PP_Instance instance, |
65 int32_t index) OVERRIDE; | 65 int32_t index) OVERRIDE; |
66 virtual PP_Var GetFontFamilies(PP_Instance instance) OVERRIDE; | 66 virtual PP_Var GetFontFamilies(PP_Instance instance) OVERRIDE; |
67 virtual PP_Bool SetFullscreen(PP_Instance instance, | 67 virtual PP_Bool SetFullscreen(PP_Instance instance, |
68 PP_Bool fullscreen) OVERRIDE; | 68 PP_Bool fullscreen) OVERRIDE; |
69 virtual PP_Bool GetScreenSize(PP_Instance instance, | 69 virtual PP_Bool GetScreenSize(PP_Instance instance, |
70 PP_Size* size) OVERRIDE; | 70 PP_Size* size) OVERRIDE; |
71 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) OVERRIDE; | 71 virtual thunk::PPB_Flash_API* GetFlashAPI() OVERRIDE; |
72 virtual PP_Bool FlashSetFullscreen(PP_Instance instance, | |
73 PP_Bool fullscreen) OVERRIDE; | |
74 virtual PP_Bool FlashGetScreenSize(PP_Instance instance, PP_Size* size) | |
75 OVERRIDE; | |
76 virtual void SampleGamepads(PP_Instance instance, | 72 virtual void SampleGamepads(PP_Instance instance, |
77 PP_GamepadsSampleData* data) OVERRIDE; | 73 PP_GamepadsSampleData* data) OVERRIDE; |
78 virtual int32_t RequestInputEvents(PP_Instance instance, | 74 virtual int32_t RequestInputEvents(PP_Instance instance, |
79 uint32_t event_classes) OVERRIDE; | 75 uint32_t event_classes) OVERRIDE; |
80 virtual int32_t RequestFilteringInputEvents(PP_Instance instance, | 76 virtual int32_t RequestFilteringInputEvents(PP_Instance instance, |
81 uint32_t event_classes) OVERRIDE; | 77 uint32_t event_classes) OVERRIDE; |
82 virtual void ClearInputEventRequest(PP_Instance instance, | 78 virtual void ClearInputEventRequest(PP_Instance instance, |
83 uint32_t event_classes) OVERRIDE; | 79 uint32_t event_classes) OVERRIDE; |
84 virtual void ClosePendingUserGesture(PP_Instance instance, | 80 virtual void ClosePendingUserGesture(PP_Instance instance, |
85 PP_TimeTicks timestamp) OVERRIDE; | 81 PP_TimeTicks timestamp) OVERRIDE; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 void OnHostMsgGetAudioHardwareOutputBufferSize(PP_Instance instance, | 128 void OnHostMsgGetAudioHardwareOutputBufferSize(PP_Instance instance, |
133 uint32_t *result); | 129 uint32_t *result); |
134 void OnHostMsgGetDefaultCharSet(PP_Instance instance, | 130 void OnHostMsgGetDefaultCharSet(PP_Instance instance, |
135 SerializedVarReturnValue result); | 131 SerializedVarReturnValue result); |
136 void OnHostMsgSetFullscreen(PP_Instance instance, | 132 void OnHostMsgSetFullscreen(PP_Instance instance, |
137 PP_Bool fullscreen, | 133 PP_Bool fullscreen, |
138 PP_Bool* result); | 134 PP_Bool* result); |
139 void OnHostMsgGetScreenSize(PP_Instance instance, | 135 void OnHostMsgGetScreenSize(PP_Instance instance, |
140 PP_Bool* result, | 136 PP_Bool* result, |
141 PP_Size* size); | 137 PP_Size* size); |
142 void OnHostMsgFlashSetFullscreen(PP_Instance instance, | |
143 PP_Bool fullscreen, | |
144 PP_Bool* result); | |
145 void OnHostMsgFlashGetScreenSize(PP_Instance instance, | |
146 PP_Bool* result, | |
147 PP_Size* size); | |
148 void OnHostMsgRequestInputEvents(PP_Instance instance, | 138 void OnHostMsgRequestInputEvents(PP_Instance instance, |
149 bool is_filtering, | 139 bool is_filtering, |
150 uint32_t event_classes); | 140 uint32_t event_classes); |
151 void OnHostMsgClearInputEvents(PP_Instance instance, | 141 void OnHostMsgClearInputEvents(PP_Instance instance, |
152 uint32_t event_classes); | 142 uint32_t event_classes); |
153 void OnMsgHandleInputEventAck(PP_Instance instance, | 143 void OnMsgHandleInputEventAck(PP_Instance instance, |
154 PP_TimeTicks timestamp); | 144 PP_TimeTicks timestamp); |
155 void OnHostMsgPostMessage(PP_Instance instance, | 145 void OnHostMsgPostMessage(PP_Instance instance, |
156 SerializedVarReceiveInput message); | 146 SerializedVarReceiveInput message); |
157 void OnHostMsgLockMouse(PP_Instance instance); | 147 void OnHostMsgLockMouse(PP_Instance instance); |
(...skipping 24 matching lines...) Expand all Loading... |
182 void MouseLockCompleteInHost(int32_t result, PP_Instance instance); | 172 void MouseLockCompleteInHost(int32_t result, PP_Instance instance); |
183 | 173 |
184 pp::CompletionCallbackFactory<PPB_Instance_Proxy, | 174 pp::CompletionCallbackFactory<PPB_Instance_Proxy, |
185 ProxyNonThreadSafeRefCount> callback_factory_; | 175 ProxyNonThreadSafeRefCount> callback_factory_; |
186 }; | 176 }; |
187 | 177 |
188 } // namespace proxy | 178 } // namespace proxy |
189 } // namespace ppapi | 179 } // namespace ppapi |
190 | 180 |
191 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ | 181 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ |
OLD | NEW |