| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "ppapi/c/pp_completion_callback.h" | 8 #include "ppapi/c/pp_completion_callback.h" |
| 9 #include "ppapi/c/ppb_instance.h" | 9 #include "ppapi/c/ppb_instance.h" |
| 10 #include "ppapi/c/pp_bool.h" | 10 #include "ppapi/c/pp_bool.h" |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 PP_Var value) = 0; | 39 PP_Var value) = 0; |
| 40 | 40 |
| 41 // Find. | 41 // Find. |
| 42 virtual void NumberOfFindResultsChanged(PP_Instance instance, | 42 virtual void NumberOfFindResultsChanged(PP_Instance instance, |
| 43 int32_t total, | 43 int32_t total, |
| 44 PP_Bool final_result) = 0; | 44 PP_Bool final_result) = 0; |
| 45 virtual void SelectedFindResultChanged(PP_Instance instance, | 45 virtual void SelectedFindResultChanged(PP_Instance instance, |
| 46 int32_t index) = 0; | 46 int32_t index) = 0; |
| 47 | 47 |
| 48 // FlashFullscreen. | 48 // FlashFullscreen. |
| 49 virtual PP_Bool IsFullscreen(PP_Instance instance) = 0; |
| 50 virtual PP_Bool SetFullscreen(PP_Instance instance, |
| 51 PP_Bool fullscreen) = 0; |
| 52 virtual PP_Bool GetScreenSize(PP_Instance instance, PP_Size* size) = 0; |
| 53 |
| 54 // FlashFullscreen. |
| 49 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) = 0; | 55 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) = 0; |
| 50 virtual PP_Bool FlashSetFullscreen(PP_Instance instance, | 56 virtual PP_Bool FlashSetFullscreen(PP_Instance instance, |
| 51 PP_Bool fullscreen) = 0; | 57 PP_Bool fullscreen) = 0; |
| 52 virtual PP_Bool FlashGetScreenSize(PP_Instance instance, PP_Size* size) = 0; | 58 virtual PP_Bool FlashGetScreenSize(PP_Instance instance, PP_Size* size) = 0; |
| 53 | 59 |
| 54 // InputEvent. | 60 // InputEvent. |
| 55 virtual int32_t RequestInputEvents(PP_Instance instance, | 61 virtual int32_t RequestInputEvents(PP_Instance instance, |
| 56 uint32_t event_classes) = 0; | 62 uint32_t event_classes) = 0; |
| 57 virtual int32_t RequestFilteringInputEvents(PP_Instance instance, | 63 virtual int32_t RequestFilteringInputEvents(PP_Instance instance, |
| 58 uint32_t event_classes) = 0; | 64 uint32_t event_classes) = 0; |
| (...skipping 18 matching lines...) Expand all Loading... |
| 77 virtual void SubscribeToPolicyUpdates(PP_Instance instance) = 0; | 83 virtual void SubscribeToPolicyUpdates(PP_Instance instance) = 0; |
| 78 | 84 |
| 79 static const proxy::InterfaceID interface_id = | 85 static const proxy::InterfaceID interface_id = |
| 80 proxy::INTERFACE_ID_PPB_INSTANCE; | 86 proxy::INTERFACE_ID_PPB_INSTANCE; |
| 81 }; | 87 }; |
| 82 | 88 |
| 83 } // namespace thunk | 89 } // namespace thunk |
| 84 } // namespace ppapi | 90 } // namespace ppapi |
| 85 | 91 |
| 86 #endif // PPAPI_THUNK_INSTANCE_API_H_ | 92 #endif // PPAPI_THUNK_INSTANCE_API_H_ |
| OLD | NEW |