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/ppb_instance.h" | 8 #include "ppapi/c/ppb_instance.h" |
9 #include "ppapi/c/pp_bool.h" | 9 #include "ppapi/c/pp_bool.h" |
10 #include "ppapi/c/pp_size.h" | 10 #include "ppapi/c/pp_size.h" |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 | 46 |
47 // Zoom. | 47 // Zoom. |
48 virtual void ZoomChanged(PP_Instance instance, double factor) = 0; | 48 virtual void ZoomChanged(PP_Instance instance, double factor) = 0; |
49 virtual void ZoomLimitsChanged(PP_Instance instance, | 49 virtual void ZoomLimitsChanged(PP_Instance instance, |
50 double minimum_factor, | 50 double minimum_factor, |
51 double maximium_factor) = 0; | 51 double maximium_factor) = 0; |
52 | 52 |
53 // QueryPolicy. | 53 // QueryPolicy. |
54 virtual void SubscribeToPolicyUpdates(PP_Instance instance) = 0; | 54 virtual void SubscribeToPolicyUpdates(PP_Instance instance) = 0; |
55 | 55 |
56 static const ::pp::proxy::InterfaceID interface_id = | 56 static const proxy::InterfaceID interface_id = |
57 ::pp::proxy::INTERFACE_ID_PPB_INSTANCE; | 57 proxy::INTERFACE_ID_PPB_INSTANCE; |
58 }; | 58 }; |
59 | 59 |
60 } // namespace thunk | 60 } // namespace thunk |
61 } // namespace ppapi | 61 } // namespace ppapi |
62 | 62 |
63 #endif // PPAPI_THUNK_INSTANCE_API_H_ | 63 #endif // PPAPI_THUNK_INSTANCE_API_H_ |
OLD | NEW |