OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef PPAPI_CPP_PRIVATE_FLASH_MESSAGE_LOOP_H_ |
| 6 #define PPAPI_CPP_PRIVATE_FLASH_MESSAGE_LOOP_H_ |
| 7 |
| 8 #include "ppapi/c/pp_stdint.h" |
| 9 #include "ppapi/cpp/resource.h" |
| 10 |
| 11 namespace pp { |
| 12 |
| 13 class Instance; |
| 14 |
| 15 namespace flash { |
| 16 |
| 17 class MessageLoop : public Resource { |
| 18 public: |
| 19 explicit MessageLoop(Instance* instance); |
| 20 virtual ~MessageLoop(); |
| 21 |
| 22 int32_t Run(); |
| 23 void Quit(); |
| 24 }; |
| 25 |
| 26 } // namespace flash |
| 27 } // namespace pp |
| 28 |
| 29 #endif // PPAPI_CPP_PRIVATE_FLASH_MESSAGE_LOOP_H_ |
OLD | NEW |