| 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_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_var.h" | 10 #include "ppapi/c/pp_var.h" |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 PP_Var value) OVERRIDE; | 50 PP_Var value) OVERRIDE; |
| 51 virtual void LogWithSource(PP_Instance instance, | 51 virtual void LogWithSource(PP_Instance instance, |
| 52 int log_level, | 52 int log_level, |
| 53 PP_Var source, | 53 PP_Var source, |
| 54 PP_Var value) OVERRIDE; | 54 PP_Var value) OVERRIDE; |
| 55 virtual void NumberOfFindResultsChanged(PP_Instance instance, | 55 virtual void NumberOfFindResultsChanged(PP_Instance instance, |
| 56 int32_t total, | 56 int32_t total, |
| 57 PP_Bool final_result) OVERRIDE; | 57 PP_Bool final_result) OVERRIDE; |
| 58 virtual void SelectedFindResultChanged(PP_Instance instance, | 58 virtual void SelectedFindResultChanged(PP_Instance instance, |
| 59 int32_t index) OVERRIDE; | 59 int32_t index) OVERRIDE; |
| 60 virtual PP_Bool IsFullscreen(PP_Instance instance) OVERRIDE; |
| 61 virtual PP_Bool SetFullscreen(PP_Instance instance, |
| 62 PP_Bool fullscreen) OVERRIDE; |
| 63 virtual PP_Bool GetScreenSize(PP_Instance instance, |
| 64 PP_Size* size) OVERRIDE; |
| 60 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) OVERRIDE; | 65 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) OVERRIDE; |
| 61 virtual PP_Bool FlashSetFullscreen(PP_Instance instance, | 66 virtual PP_Bool FlashSetFullscreen(PP_Instance instance, |
| 62 PP_Bool fullscreen) OVERRIDE; | 67 PP_Bool fullscreen) OVERRIDE; |
| 63 virtual PP_Bool FlashGetScreenSize(PP_Instance instance, | 68 virtual PP_Bool FlashGetScreenSize(PP_Instance instance, PP_Size* size) |
| 64 PP_Size* size) OVERRIDE; | 69 OVERRIDE; |
| 65 virtual int32_t RequestInputEvents(PP_Instance instance, | 70 virtual int32_t RequestInputEvents(PP_Instance instance, |
| 66 uint32_t event_classes) OVERRIDE; | 71 uint32_t event_classes) OVERRIDE; |
| 67 virtual int32_t RequestFilteringInputEvents(PP_Instance instance, | 72 virtual int32_t RequestFilteringInputEvents(PP_Instance instance, |
| 68 uint32_t event_classes) OVERRIDE; | 73 uint32_t event_classes) OVERRIDE; |
| 69 virtual void ClearInputEventRequest(PP_Instance instance, | 74 virtual void ClearInputEventRequest(PP_Instance instance, |
| 70 uint32_t event_classes) OVERRIDE; | 75 uint32_t event_classes) OVERRIDE; |
| 71 virtual void ZoomChanged(PP_Instance instance, double factor) OVERRIDE; | 76 virtual void ZoomChanged(PP_Instance instance, double factor) OVERRIDE; |
| 72 virtual void ZoomLimitsChanged(PP_Instance instance, | 77 virtual void ZoomLimitsChanged(PP_Instance instance, |
| 73 double minimum_factor, | 78 double minimum_factor, |
| 74 double maximium_factor) OVERRIDE; | 79 double maximium_factor) OVERRIDE; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 94 SerializedVarReceiveInput script, | 99 SerializedVarReceiveInput script, |
| 95 SerializedVarOutParam out_exception, | 100 SerializedVarOutParam out_exception, |
| 96 SerializedVarReturnValue result); | 101 SerializedVarReturnValue result); |
| 97 void OnMsgLog(PP_Instance instance, | 102 void OnMsgLog(PP_Instance instance, |
| 98 int log_level, | 103 int log_level, |
| 99 SerializedVarReceiveInput value); | 104 SerializedVarReceiveInput value); |
| 100 void OnMsgLogWithSource(PP_Instance instance, | 105 void OnMsgLogWithSource(PP_Instance instance, |
| 101 int log_level, | 106 int log_level, |
| 102 SerializedVarReceiveInput source, | 107 SerializedVarReceiveInput source, |
| 103 SerializedVarReceiveInput value); | 108 SerializedVarReceiveInput value); |
| 109 void OnMsgSetFullscreen(PP_Instance instance, |
| 110 PP_Bool fullscreen, |
| 111 PP_Bool* result); |
| 112 void OnMsgGetScreenSize(PP_Instance instance, |
| 113 PP_Bool* result, |
| 114 PP_Size* size); |
| 104 void OnMsgFlashSetFullscreen(PP_Instance instance, | 115 void OnMsgFlashSetFullscreen(PP_Instance instance, |
| 105 PP_Bool fullscreen, | 116 PP_Bool fullscreen, |
| 106 PP_Bool* result); | 117 PP_Bool* result); |
| 107 void OnMsgFlashGetScreenSize(PP_Instance instance, | 118 void OnMsgFlashGetScreenSize(PP_Instance instance, |
| 108 PP_Bool* result, | 119 PP_Bool* result, |
| 109 PP_Size* size); | 120 PP_Size* size); |
| 110 void OnMsgRequestInputEvents(PP_Instance instance, | 121 void OnMsgRequestInputEvents(PP_Instance instance, |
| 111 bool is_filtering, | 122 bool is_filtering, |
| 112 uint32_t event_classes); | 123 uint32_t event_classes); |
| 113 void OnMsgClearInputEvents(PP_Instance instance, | 124 void OnMsgClearInputEvents(PP_Instance instance, |
| 114 uint32_t event_classes); | 125 uint32_t event_classes); |
| 115 void OnMsgPostMessage(PP_Instance instance, | 126 void OnMsgPostMessage(PP_Instance instance, |
| 116 SerializedVarReceiveInput message); | 127 SerializedVarReceiveInput message); |
| 117 void OnMsgLockMouse(PP_Instance instance, | 128 void OnMsgLockMouse(PP_Instance instance, |
| 118 uint32_t serialized_callback); | 129 uint32_t serialized_callback); |
| 119 void OnMsgUnlockMouse(PP_Instance instance); | 130 void OnMsgUnlockMouse(PP_Instance instance); |
| 120 }; | 131 }; |
| 121 | 132 |
| 122 } // namespace proxy | 133 } // namespace proxy |
| 123 } // namespace ppapi | 134 } // namespace ppapi |
| 124 | 135 |
| 125 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ | 136 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ |
| OLD | NEW |