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 |
60 | |
brettw
2011/09/27 00:04:20
Extra blank?
polina
2011/09/27 00:49:08
Done.
| |
54 // InputEvent. | 61 // InputEvent. |
55 virtual int32_t RequestInputEvents(PP_Instance instance, | 62 virtual int32_t RequestInputEvents(PP_Instance instance, |
56 uint32_t event_classes) = 0; | 63 uint32_t event_classes) = 0; |
57 virtual int32_t RequestFilteringInputEvents(PP_Instance instance, | 64 virtual int32_t RequestFilteringInputEvents(PP_Instance instance, |
58 uint32_t event_classes) = 0; | 65 uint32_t event_classes) = 0; |
59 virtual void ClearInputEventRequest(PP_Instance instance, | 66 virtual void ClearInputEventRequest(PP_Instance instance, |
60 uint32_t event_classes) = 0; | 67 uint32_t event_classes) = 0; |
61 | 68 |
62 // Messaging. | 69 // Messaging. |
63 virtual void PostMessage(PP_Instance instance, PP_Var message) = 0; | 70 virtual void PostMessage(PP_Instance instance, PP_Var message) = 0; |
(...skipping 13 matching lines...) Expand all Loading... | |
77 virtual void SubscribeToPolicyUpdates(PP_Instance instance) = 0; | 84 virtual void SubscribeToPolicyUpdates(PP_Instance instance) = 0; |
78 | 85 |
79 static const proxy::InterfaceID interface_id = | 86 static const proxy::InterfaceID interface_id = |
80 proxy::INTERFACE_ID_PPB_INSTANCE; | 87 proxy::INTERFACE_ID_PPB_INSTANCE; |
81 }; | 88 }; |
82 | 89 |
83 } // namespace thunk | 90 } // namespace thunk |
84 } // namespace ppapi | 91 } // namespace ppapi |
85 | 92 |
86 #endif // PPAPI_THUNK_INSTANCE_API_H_ | 93 #endif // PPAPI_THUNK_INSTANCE_API_H_ |
OLD | NEW |