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_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/dev/ppb_console_dev.h" | 8 #include "ppapi/c/dev/ppb_console_dev.h" |
9 #include "ppapi/c/dev/ppb_gamepad_dev.h" | 9 #include "ppapi/c/dev/ppb_gamepad_dev.h" |
10 #include "ppapi/c/dev/ppb_url_util_dev.h" | 10 #include "ppapi/c/dev/ppb_url_util_dev.h" |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 PP_Var source, | 55 PP_Var source, |
56 PP_Var value) = 0; | 56 PP_Var value) = 0; |
57 | 57 |
58 // Find. | 58 // Find. |
59 virtual void NumberOfFindResultsChanged(PP_Instance instance, | 59 virtual void NumberOfFindResultsChanged(PP_Instance instance, |
60 int32_t total, | 60 int32_t total, |
61 PP_Bool final_result) = 0; | 61 PP_Bool final_result) = 0; |
62 virtual void SelectedFindResultChanged(PP_Instance instance, | 62 virtual void SelectedFindResultChanged(PP_Instance instance, |
63 int32_t index) = 0; | 63 int32_t index) = 0; |
64 | 64 |
| 65 // Font. |
| 66 virtual PP_Var GetFontFamilies(PP_Instance instance) = 0; |
| 67 |
65 // Fullscreen. | 68 // Fullscreen. |
66 virtual PP_Bool SetFullscreen(PP_Instance instance, | 69 virtual PP_Bool SetFullscreen(PP_Instance instance, |
67 PP_Bool fullscreen) = 0; | 70 PP_Bool fullscreen) = 0; |
68 virtual PP_Bool GetScreenSize(PP_Instance instance, PP_Size* size) = 0; | 71 virtual PP_Bool GetScreenSize(PP_Instance instance, PP_Size* size) = 0; |
69 | 72 |
70 // FlashFullscreen. | 73 // FlashFullscreen. |
71 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) = 0; | 74 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) = 0; |
72 virtual PP_Bool FlashSetFullscreen(PP_Instance instance, | 75 virtual PP_Bool FlashSetFullscreen(PP_Instance instance, |
73 PP_Bool fullscreen) = 0; | 76 PP_Bool fullscreen) = 0; |
74 virtual PP_Bool FlashGetScreenSize(PP_Instance instance, PP_Size* size) = 0; | 77 virtual PP_Bool FlashGetScreenSize(PP_Instance instance, PP_Size* size) = 0; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 virtual PP_Var GetPluginInstanceURL(PP_Instance instance, | 115 virtual PP_Var GetPluginInstanceURL(PP_Instance instance, |
113 PP_URLComponents_Dev* components) = 0; | 116 PP_URLComponents_Dev* components) = 0; |
114 | 117 |
115 static const ApiID kApiID = API_ID_PPB_INSTANCE; | 118 static const ApiID kApiID = API_ID_PPB_INSTANCE; |
116 }; | 119 }; |
117 | 120 |
118 } // namespace thunk | 121 } // namespace thunk |
119 } // namespace ppapi | 122 } // namespace ppapi |
120 | 123 |
121 #endif // PPAPI_THUNK_INSTANCE_API_H_ | 124 #endif // PPAPI_THUNK_INSTANCE_API_H_ |
OLD | NEW |