| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_PROXY_PLUGIN_DISPATCHER_H_ | 5 #ifndef PPAPI_PROXY_PLUGIN_DISPATCHER_H_ |
| 6 #define PPAPI_PROXY_PLUGIN_DISPATCHER_H_ | 6 #define PPAPI_PROXY_PLUGIN_DISPATCHER_H_ |
| 7 | 7 |
| 8 #include <set> |
| 8 #include <string> | 9 #include <string> |
| 9 | 10 |
| 10 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 11 #include "base/hash_tables.h" | 12 #include "base/hash_tables.h" |
| 12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/process.h" | 14 #include "base/process.h" |
| 14 #include "build/build_config.h" | 15 #include "build/build_config.h" |
| 15 #include "ppapi/c/pp_rect.h" | 16 #include "ppapi/c/pp_rect.h" |
| 16 #include "ppapi/c/pp_instance.h" | 17 #include "ppapi/c/pp_instance.h" |
| 17 #include "ppapi/proxy/dispatcher.h" | 18 #include "ppapi/proxy/dispatcher.h" |
| 18 #include "ppapi/shared_impl/function_group_base.h" | 19 #include "ppapi/shared_impl/function_group_base.h" |
| 19 #include "ppapi/shared_impl/ppapi_preferences.h" | 20 #include "ppapi/shared_impl/ppapi_preferences.h" |
| 20 | 21 |
| 21 class MessageLoop; | |
| 22 | |
| 23 namespace base { | |
| 24 class WaitableEvent; | |
| 25 } | |
| 26 | |
| 27 namespace ppapi { | 22 namespace ppapi { |
| 28 | 23 |
| 29 struct Preferences; | 24 struct Preferences; |
| 30 class Resource; | 25 class Resource; |
| 26 class WebKitForwarding; |
| 31 | 27 |
| 32 namespace proxy { | 28 namespace proxy { |
| 33 | 29 |
| 34 // Used to keep track of per-instance data. | 30 // Used to keep track of per-instance data. |
| 35 struct InstanceData { | 31 struct InstanceData { |
| 36 InstanceData(); | 32 InstanceData(); |
| 37 ~InstanceData(); | 33 ~InstanceData(); |
| 38 | 34 |
| 39 PP_Rect position; | 35 PP_Rect position; |
| 40 PP_Bool fullscreen; // Used for PPB_Fullscreen. | 36 PP_Bool fullscreen; // Used for PPB_Fullscreen. |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 | 171 |
| 176 uint32 plugin_dispatcher_id_; | 172 uint32 plugin_dispatcher_id_; |
| 177 | 173 |
| 178 DISALLOW_COPY_AND_ASSIGN(PluginDispatcher); | 174 DISALLOW_COPY_AND_ASSIGN(PluginDispatcher); |
| 179 }; | 175 }; |
| 180 | 176 |
| 181 } // namespace proxy | 177 } // namespace proxy |
| 182 } // namespace ppapi | 178 } // namespace ppapi |
| 183 | 179 |
| 184 #endif // PPAPI_PROXY_PLUGIN_DISPATCHER_H_ | 180 #endif // PPAPI_PROXY_PLUGIN_DISPATCHER_H_ |
| OLD | NEW |