OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2008 The Native Client Authors. All rights reserved. | 2 * Copyright 2008 The Native Client Authors. All rights reserved. |
3 * Use of this source code is governed by a BSD-style license that can | 3 * Use of this source code is governed by a BSD-style license that can |
4 * be found in the LICENSE file. | 4 * be found in the LICENSE file. |
5 */ | 5 */ |
6 | 6 |
7 // The representation of 2D graphics used by the av interface. | 7 // The representation of 2D graphics used by the av interface. |
8 | 8 |
9 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_NPAPI_VIDEO_H_ | 9 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_NPAPI_VIDEO_H_ |
10 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_NPAPI_VIDEO_H_ | 10 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_NPAPI_VIDEO_H_ |
(...skipping 15 matching lines...) Expand all Loading... |
26 #else // NACL_STANDALONE | 26 #else // NACL_STANDALONE |
27 // Don't include video support in Chrome build | 27 // Don't include video support in Chrome build |
28 | 28 |
29 #endif // NACL_STANDALONE | 29 #endif // NACL_STANDALONE |
30 | 30 |
31 #include "native_client/src/include/nacl_macros.h" | 31 #include "native_client/src/include/nacl_macros.h" |
32 #include "native_client/src/include/nacl_platform.h" | 32 #include "native_client/src/include/nacl_platform.h" |
33 #include "native_client/src/include/portability.h" | 33 #include "native_client/src/include/portability.h" |
34 | 34 |
35 #include "native_client/src/shared/npruntime/nacl_npapi.h" | 35 #include "native_client/src/shared/npruntime/nacl_npapi.h" |
36 #include "native_client/src/trusted/plugin/srpc/utility.h" | 36 #include "native_client/src/trusted/plugin/utility.h" |
37 #include "native_client/src/trusted/service_runtime/include/sys/audio_video.h" | 37 #include "native_client/src/trusted/service_runtime/include/sys/audio_video.h" |
38 #include "native_client/src/trusted/service_runtime/nacl_config.h" | 38 #include "native_client/src/trusted/service_runtime/nacl_config.h" |
39 #include "native_client/src/trusted/service_runtime/sel_util.h" | 39 #include "native_client/src/trusted/service_runtime/sel_util.h" |
40 #include "native_client/src/untrusted/av/nacl_av_priv.h" | 40 #include "native_client/src/untrusted/av/nacl_av_priv.h" |
41 | 41 |
42 typedef NPWindow PluginWindow; | 42 typedef NPWindow PluginWindow; |
43 | 43 |
44 namespace nacl { | 44 namespace nacl { |
45 | 45 |
46 class DescWrapper; | 46 class DescWrapper; |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 bool video_enabled_; | 152 bool video_enabled_; |
153 VideoCallbackData* video_callback_data_; | 153 VideoCallbackData* video_callback_data_; |
154 ScriptableHandle* video_shared_memory_; | 154 ScriptableHandle* video_shared_memory_; |
155 int video_update_mode_; | 155 int video_update_mode_; |
156 PluginWindow* window_; | 156 PluginWindow* window_; |
157 }; | 157 }; |
158 | 158 |
159 } // namespace plugin | 159 } // namespace plugin |
160 | 160 |
161 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_NPAPI_VIDEO_H_ | 161 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_NPAPI_VIDEO_H_ |
OLD | NEW |