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_CPP_MESSAGE_LOOP_H_ | 5 #ifndef PPAPI_CPP_MESSAGE_LOOP_H_ |
6 #define PPAPI_CPP_MESSAGE_LOOP_H_ | 6 #define PPAPI_CPP_MESSAGE_LOOP_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "ppapi/cpp/resource.h" | 10 #include "ppapi/cpp/resource.h" |
9 | 11 |
10 /// @file | 12 /// @file |
11 /// This file defines the PPB_MessageLoop API. | 13 /// This file defines the PPB_MessageLoop API. |
12 | 14 |
13 namespace pp { | 15 namespace pp { |
14 | 16 |
15 class CompletionCallback; | 17 class CompletionCallback; |
16 class InstanceHandle; | 18 class InstanceHandle; |
17 | 19 |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 /// - PP_ERROR_BADRESOURCE: The message loop was invalid. | 261 /// - PP_ERROR_BADRESOURCE: The message loop was invalid. |
260 /// - PP_ERROR_WRONG_THREAD: You are attempting to quit the main thread. | 262 /// - PP_ERROR_WRONG_THREAD: You are attempting to quit the main thread. |
261 /// The main thread's message loop is managed by the system and can't be | 263 /// The main thread's message loop is managed by the system and can't be |
262 /// quit. | 264 /// quit. |
263 int32_t PostQuit(bool should_destroy); | 265 int32_t PostQuit(bool should_destroy); |
264 }; | 266 }; |
265 | 267 |
266 } // namespace pp | 268 } // namespace pp |
267 | 269 |
268 #endif // PPAPI_CPP_MESSAGE_LOOP_H_ | 270 #endif // PPAPI_CPP_MESSAGE_LOOP_H_ |
OLD | NEW |