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 <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 17 matching lines...) Expand all Loading... |
28 | 28 |
29 struct Preferences; | 29 struct Preferences; |
30 class Resource; | 30 class Resource; |
31 | 31 |
32 namespace proxy { | 32 namespace proxy { |
33 | 33 |
34 // Used to keep track of per-instance data. | 34 // Used to keep track of per-instance data. |
35 struct InstanceData { | 35 struct InstanceData { |
36 InstanceData(); | 36 InstanceData(); |
37 PP_Rect position; | 37 PP_Rect position; |
38 PP_Bool fullscreen; // Used for PPB_Fullscreen_Dev. | 38 PP_Bool fullscreen; // Used for PPB_Fullscreen. |
39 PP_Bool flash_fullscreen; // Used for PPB_FlashFullscreen. | 39 PP_Bool flash_fullscreen; // Used for PPB_FlashFullscreen. |
40 }; | 40 }; |
41 | 41 |
42 class PPAPI_PROXY_EXPORT PluginDispatcher : public Dispatcher { | 42 class PPAPI_PROXY_EXPORT PluginDispatcher : public Dispatcher { |
43 public: | 43 public: |
44 class PPAPI_PROXY_EXPORT PluginDelegate : public ProxyChannel::Delegate { | 44 class PPAPI_PROXY_EXPORT PluginDelegate : public ProxyChannel::Delegate { |
45 public: | 45 public: |
46 // Returns the set used for globally uniquifying PP_Instances. This same | 46 // Returns the set used for globally uniquifying PP_Instances. This same |
47 // set must be returned for all channels. | 47 // set must be returned for all channels. |
48 // | 48 // |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 | 170 |
171 uint32 plugin_dispatcher_id_; | 171 uint32 plugin_dispatcher_id_; |
172 | 172 |
173 DISALLOW_COPY_AND_ASSIGN(PluginDispatcher); | 173 DISALLOW_COPY_AND_ASSIGN(PluginDispatcher); |
174 }; | 174 }; |
175 | 175 |
176 } // namespace proxy | 176 } // namespace proxy |
177 } // namespace ppapi | 177 } // namespace ppapi |
178 | 178 |
179 #endif // PPAPI_PROXY_PLUGIN_DISPATCHER_H_ | 179 #endif // PPAPI_PROXY_PLUGIN_DISPATCHER_H_ |
OLD | NEW |