Chromium Code Reviews| 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_SHARED_IMPL_API_ID_H_ | 5 #ifndef PPAPI_SHARED_IMPL_API_ID_H_ |
| 6 #define PPAPI_SHARED_IMPL_API_ID_H_ | 6 #define PPAPI_SHARED_IMPL_API_ID_H_ |
| 7 | 7 |
| 8 namespace ppapi { | 8 namespace ppapi { |
| 9 | 9 |
| 10 // These numbers must be all small integers. They are used in a lookup table | 10 // These numbers must be all small integers. They are used in a lookup table |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 68 API_ID_PPP_TEXT_INPUT, | 68 API_ID_PPP_TEXT_INPUT, |
| 69 API_ID_PPP_VIDEO_CAPTURE_DEV, | 69 API_ID_PPP_VIDEO_CAPTURE_DEV, |
| 70 API_ID_PPP_VIDEO_DECODER_DEV, | 70 API_ID_PPP_VIDEO_DECODER_DEV, |
| 71 | 71 |
| 72 API_ID_RESOURCE_CREATION, | 72 API_ID_RESOURCE_CREATION, |
| 73 | 73 |
| 74 // Must be last to indicate the number of interface IDs. | 74 // Must be last to indicate the number of interface IDs. |
| 75 API_ID_COUNT | 75 API_ID_COUNT |
| 76 }; | 76 }; |
| 77 | 77 |
| 78 // These IDs are used to access singleton resource objects using | |
| 79 // PPB_Instance_API.GetSingletonResource. | |
| 80 enum SingletonResourceID { | |
|
brettw
2012/11/27 05:55:10
Can you put this in a separate header? As we conve
raymes
2012/11/27 17:48:45
Done.
| |
| 81 FLASH_SINGLETON_ID, | |
| 82 FLASH_CLIPBOARD_SINGLETON_ID, | |
| 83 GAMEPAD_SINGLETON_ID, | |
| 84 }; | |
| 85 | |
| 78 } // namespace ppapi | 86 } // namespace ppapi |
| 79 | 87 |
| 80 #endif // PPAPI_SHARED_IMPL_API_ID_H_ | 88 #endif // PPAPI_SHARED_IMPL_API_ID_H_ |
| OLD | NEW |