| 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 double minimum_factor, | 80 double minimum_factor, |
| 81 double maximium_factor) OVERRIDE; | 81 double maximium_factor) OVERRIDE; |
| 82 virtual void PostMessage(PP_Instance instance, PP_Var message) OVERRIDE; | 82 virtual void PostMessage(PP_Instance instance, PP_Var message) OVERRIDE; |
| 83 virtual PP_Bool SetCursor(PP_Instance instance, | 83 virtual PP_Bool SetCursor(PP_Instance instance, |
| 84 PP_MouseCursor_Type type, | 84 PP_MouseCursor_Type type, |
| 85 PP_Resource image, | 85 PP_Resource image, |
| 86 const PP_Point* hot_spot) OVERRIDE; | 86 const PP_Point* hot_spot) OVERRIDE; |
| 87 virtual int32_t LockMouse(PP_Instance instance, | 87 virtual int32_t LockMouse(PP_Instance instance, |
| 88 PP_CompletionCallback callback) OVERRIDE; | 88 PP_CompletionCallback callback) OVERRIDE; |
| 89 virtual void UnlockMouse(PP_Instance instance) OVERRIDE; | 89 virtual void UnlockMouse(PP_Instance instance) OVERRIDE; |
| 90 virtual PP_Bool GetDefaultPrintSettings( |
| 91 PP_Instance instance, |
| 92 PP_PrintSettings_Dev* print_settings) OVERRIDE; |
| 90 virtual void SetTextInputType(PP_Instance instance, | 93 virtual void SetTextInputType(PP_Instance instance, |
| 91 PP_TextInput_Type type) OVERRIDE; | 94 PP_TextInput_Type type) OVERRIDE; |
| 92 virtual void UpdateCaretPosition(PP_Instance instance, | 95 virtual void UpdateCaretPosition(PP_Instance instance, |
| 93 const PP_Rect& caret, | 96 const PP_Rect& caret, |
| 94 const PP_Rect& bounding_box) OVERRIDE; | 97 const PP_Rect& bounding_box) OVERRIDE; |
| 95 virtual void CancelCompositionText(PP_Instance instance) OVERRIDE; | 98 virtual void CancelCompositionText(PP_Instance instance) OVERRIDE; |
| 96 virtual void SelectionChanged(PP_Instance instance) OVERRIDE; | 99 virtual void SelectionChanged(PP_Instance instance) OVERRIDE; |
| 97 virtual void UpdateSurroundingText(PP_Instance instance, | 100 virtual void UpdateSurroundingText(PP_Instance instance, |
| 98 const char* text, | 101 const char* text, |
| 99 uint32_t caret, | 102 uint32_t caret, |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 bool is_filtering, | 149 bool is_filtering, |
| 147 uint32_t event_classes); | 150 uint32_t event_classes); |
| 148 void OnHostMsgClearInputEvents(PP_Instance instance, | 151 void OnHostMsgClearInputEvents(PP_Instance instance, |
| 149 uint32_t event_classes); | 152 uint32_t event_classes); |
| 150 void OnMsgHandleInputEventAck(PP_Instance instance, | 153 void OnMsgHandleInputEventAck(PP_Instance instance, |
| 151 PP_TimeTicks timestamp); | 154 PP_TimeTicks timestamp); |
| 152 void OnHostMsgPostMessage(PP_Instance instance, | 155 void OnHostMsgPostMessage(PP_Instance instance, |
| 153 SerializedVarReceiveInput message); | 156 SerializedVarReceiveInput message); |
| 154 void OnHostMsgLockMouse(PP_Instance instance); | 157 void OnHostMsgLockMouse(PP_Instance instance); |
| 155 void OnHostMsgUnlockMouse(PP_Instance instance); | 158 void OnHostMsgUnlockMouse(PP_Instance instance); |
| 159 void OnHostMsgGetDefaultPrintSettings(PP_Instance instance, |
| 160 std::string* settings_string, |
| 161 bool* result); |
| 156 void OnHostMsgSetCursor(PP_Instance instance, | 162 void OnHostMsgSetCursor(PP_Instance instance, |
| 157 int32_t type, | 163 int32_t type, |
| 158 const ppapi::HostResource& custom_image, | 164 const ppapi::HostResource& custom_image, |
| 159 const PP_Point& hot_spot); | 165 const PP_Point& hot_spot); |
| 160 void OnHostMsgSetTextInputType(PP_Instance instance, PP_TextInput_Type type); | 166 void OnHostMsgSetTextInputType(PP_Instance instance, PP_TextInput_Type type); |
| 161 void OnHostMsgUpdateCaretPosition(PP_Instance instance, | 167 void OnHostMsgUpdateCaretPosition(PP_Instance instance, |
| 162 const PP_Rect& caret, | 168 const PP_Rect& caret, |
| 163 const PP_Rect& bounding_box); | 169 const PP_Rect& bounding_box); |
| 164 void OnHostMsgCancelCompositionText(PP_Instance instance); | 170 void OnHostMsgCancelCompositionText(PP_Instance instance); |
| 165 void OnHostMsgUpdateSurroundingText( | 171 void OnHostMsgUpdateSurroundingText( |
| (...skipping 23 matching lines...) Expand all Loading... |
| 189 void MouseLockCompleteInHost(int32_t result, PP_Instance instance); | 195 void MouseLockCompleteInHost(int32_t result, PP_Instance instance); |
| 190 | 196 |
| 191 pp::CompletionCallbackFactory<PPB_Instance_Proxy, | 197 pp::CompletionCallbackFactory<PPB_Instance_Proxy, |
| 192 ProxyNonThreadSafeRefCount> callback_factory_; | 198 ProxyNonThreadSafeRefCount> callback_factory_; |
| 193 }; | 199 }; |
| 194 | 200 |
| 195 } // namespace proxy | 201 } // namespace proxy |
| 196 } // namespace ppapi | 202 } // namespace ppapi |
| 197 | 203 |
| 198 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ | 204 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ |
| OLD | NEW |