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 WEBKIT_PLUGINS_PPAPI_MESSAGE_CHANNEL_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_MESSAGE_CHANNEL_H_ |
6 #define WEBKIT_PLUGINS_PPAPI_MESSAGE_CHANNEL_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_MESSAGE_CHANNEL_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 | 9 |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
11 #include "ppapi/shared_impl/resource.h" | 11 #include "ppapi/shared_impl/resource.h" |
12 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebSerialize
dScriptValue.h" | 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSerializedScriptVa
lue.h" |
13 #include "third_party/npapi/bindings/npruntime.h" | 13 #include "third_party/npapi/bindings/npruntime.h" |
14 | 14 |
15 struct PP_Var; | 15 struct PP_Var; |
16 | 16 |
17 namespace webkit { | 17 namespace webkit { |
18 namespace ppapi { | 18 namespace ppapi { |
19 | 19 |
20 class PluginInstance; | 20 class PluginInstance; |
21 | 21 |
22 // MessageChannel implements bidirectional postMessage functionality, allowing | 22 // MessageChannel implements bidirectional postMessage functionality, allowing |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 }; | 114 }; |
115 EarlyMessageQueueState early_message_queue_state_; | 115 EarlyMessageQueueState early_message_queue_state_; |
116 | 116 |
117 DISALLOW_COPY_AND_ASSIGN(MessageChannel); | 117 DISALLOW_COPY_AND_ASSIGN(MessageChannel); |
118 }; | 118 }; |
119 | 119 |
120 } // namespace ppapi | 120 } // namespace ppapi |
121 } // namespace webkit | 121 } // namespace webkit |
122 | 122 |
123 #endif // WEBKIT_PLUGINS_PPAPI_MESSAGE_CHANNEL_H_ | 123 #endif // WEBKIT_PLUGINS_PPAPI_MESSAGE_CHANNEL_H_ |
OLD | NEW |