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 #include "ppapi/thunk/enter.h" | 5 #include "ppapi/thunk/enter.h" |
6 #include "ppapi/thunk/thunk.h" | 6 #include "ppapi/thunk/thunk.h" |
7 #include "ppapi/thunk/ppb_instance_api.h" | 7 #include "ppapi/thunk/ppb_instance_api.h" |
8 | 8 |
9 namespace ppapi { | 9 namespace ppapi { |
10 namespace thunk { | 10 namespace thunk { |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 }; | 51 }; |
52 | 52 |
53 const PPB_TextInput_Dev g_ppb_textinput_0_2_thunk = { | 53 const PPB_TextInput_Dev g_ppb_textinput_0_2_thunk = { |
54 &SetTextInputType, | 54 &SetTextInputType, |
55 &UpdateCaretPosition, | 55 &UpdateCaretPosition, |
56 &CancelCompositionText, | 56 &CancelCompositionText, |
57 &UpdateSurroundingText, | 57 &UpdateSurroundingText, |
58 &SelectionChanged, | 58 &SelectionChanged, |
59 }; | 59 }; |
60 | 60 |
| 61 const PPB_TextInputController_1_0 g_ppb_textinputcontroller_1_0_thunk = { |
| 62 &SetTextInputType, |
| 63 &UpdateCaretPosition, |
| 64 &CancelCompositionText, |
| 65 &UpdateSurroundingText, |
| 66 }; |
| 67 |
61 } // namespace | 68 } // namespace |
62 | 69 |
63 const PPB_TextInput_Dev_0_1* GetPPB_TextInput_Dev_0_1_Thunk() { | 70 const PPB_TextInput_Dev_0_1* GetPPB_TextInput_Dev_0_1_Thunk() { |
64 return &g_ppb_textinput_0_1_thunk; | 71 return &g_ppb_textinput_0_1_thunk; |
65 } | 72 } |
66 | 73 |
67 const PPB_TextInput_Dev_0_2* GetPPB_TextInput_Dev_0_2_Thunk() { | 74 const PPB_TextInput_Dev_0_2* GetPPB_TextInput_Dev_0_2_Thunk() { |
68 return &g_ppb_textinput_0_2_thunk; | 75 return &g_ppb_textinput_0_2_thunk; |
69 } | 76 } |
70 | 77 |
| 78 const PPB_TextInputController_1_0* GetPPB_TextInputController_1_0_Thunk() { |
| 79 return &g_ppb_textinputcontroller_1_0_thunk; |
| 80 } |
| 81 |
71 } // namespace thunk | 82 } // namespace thunk |
72 } // namespace ppapi | 83 } // namespace ppapi |
OLD | NEW |