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 #include <assert.h> | 5 #include <assert.h> |
| 6 #include <stddef.h> |
| 7 #include <stdint.h> |
6 #include <string.h> | 8 #include <string.h> |
7 | 9 |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
10 #include "ppapi/c/dev/ppb_video_capture_dev.h" | 12 #include "ppapi/c/dev/ppb_video_capture_dev.h" |
11 #include "ppapi/c/pp_errors.h" | 13 #include "ppapi/c/pp_errors.h" |
| 14 #include "ppapi/cpp/completion_callback.h" |
12 #include "ppapi/cpp/dev/device_ref_dev.h" | 15 #include "ppapi/cpp/dev/device_ref_dev.h" |
| 16 #include "ppapi/cpp/dev/video_capture_client_dev.h" |
13 #include "ppapi/cpp/dev/video_capture_dev.h" | 17 #include "ppapi/cpp/dev/video_capture_dev.h" |
14 #include "ppapi/cpp/dev/video_capture_client_dev.h" | |
15 #include "ppapi/cpp/completion_callback.h" | |
16 #include "ppapi/cpp/instance.h" | 18 #include "ppapi/cpp/instance.h" |
17 #include "ppapi/cpp/module.h" | 19 #include "ppapi/cpp/module.h" |
18 #include "ppapi/cpp/private/flash.h" | 20 #include "ppapi/cpp/private/flash.h" |
19 #include "ppapi/cpp/var.h" | 21 #include "ppapi/cpp/var.h" |
20 #include "ppapi/utility/completion_callback_factory.h" | 22 #include "ppapi/utility/completion_callback_factory.h" |
21 | 23 |
22 // When compiling natively on Windows, PostMessage can be #define-d to | 24 // When compiling natively on Windows, PostMessage can be #define-d to |
23 // something else. | 25 // something else. |
24 #ifdef PostMessage | 26 #ifdef PostMessage |
25 #undef PostMessage | 27 #undef PostMessage |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 } | 120 } |
119 | 121 |
120 } // anonymous namespace | 122 } // anonymous namespace |
121 | 123 |
122 namespace pp { | 124 namespace pp { |
123 // Factory function for your specialization of the Module object. | 125 // Factory function for your specialization of the Module object. |
124 Module* CreateModule() { | 126 Module* CreateModule() { |
125 return new EnumerateDevicesDemoModule(); | 127 return new EnumerateDevicesDemoModule(); |
126 } | 128 } |
127 } // namespace pp | 129 } // namespace pp |
OLD | NEW |