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 CONTENT_RENDERER_PEPPER_PPB_FLASH_MESSAGE_LOOP_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PPB_FLASH_MESSAGE_LOOP_IMPL_H_ |
6 #define CONTENT_RENDERER_PEPPER_PPB_FLASH_MESSAGE_LOOP_IMPL_H_ | 6 #define CONTENT_RENDERER_PEPPER_PPB_FLASH_MESSAGE_LOOP_IMPL_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include <stdint.h> |
| 9 |
9 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" |
10 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
11 #include "ppapi/shared_impl/resource.h" | 13 #include "ppapi/shared_impl/resource.h" |
12 #include "ppapi/thunk/ppb_flash_message_loop_api.h" | 14 #include "ppapi/thunk/ppb_flash_message_loop_api.h" |
13 | 15 |
14 namespace content { | 16 namespace content { |
15 | 17 |
16 class PPB_Flash_MessageLoop_Impl | 18 class PPB_Flash_MessageLoop_Impl |
17 : public ppapi::Resource, | 19 : public ppapi::Resource, |
18 public ppapi::thunk::PPB_Flash_MessageLoop_API { | 20 public ppapi::thunk::PPB_Flash_MessageLoop_API { |
19 public: | 21 public: |
(...skipping 22 matching lines...) Expand all Loading... |
42 void InternalQuit(int32_t result); | 44 void InternalQuit(int32_t result); |
43 | 45 |
44 scoped_refptr<State> state_; | 46 scoped_refptr<State> state_; |
45 | 47 |
46 DISALLOW_COPY_AND_ASSIGN(PPB_Flash_MessageLoop_Impl); | 48 DISALLOW_COPY_AND_ASSIGN(PPB_Flash_MessageLoop_Impl); |
47 }; | 49 }; |
48 | 50 |
49 } // namespace content | 51 } // namespace content |
50 | 52 |
51 #endif // CONTENT_RENDERER_PEPPER_PPB_FLASH_MESSAGE_LOOP_IMPL_H_ | 53 #endif // CONTENT_RENDERER_PEPPER_PPB_FLASH_MESSAGE_LOOP_IMPL_H_ |
OLD | NEW |