OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 // Defines messages between the browser and plugin process, as well as between | 5 // Defines messages between the browser and plugin process, as well as between |
6 // the renderer and plugin process. | 6 // the renderer and plugin process. |
7 // | 7 // |
8 // See render_message* for information about the multi-pass include of headers. | 8 // See render_message* for information about the multi-pass include of headers. |
9 | 9 |
10 #ifndef CHROME_COMMON_PLUGIN_MESSAGES_H_ | 10 #ifndef CHROME_COMMON_PLUGIN_MESSAGES_H_ |
11 #define CHROME_COMMON_PLUGIN_MESSAGES_H_ | 11 #define CHROME_COMMON_PLUGIN_MESSAGES_H_ |
12 #pragma once | 12 #pragma once |
13 | 13 |
14 #include <string> | 14 #include <string> |
15 #include <vector> | 15 #include <vector> |
16 | 16 |
17 #include "base/basictypes.h" | 17 #include "base/basictypes.h" |
18 #include "base/string_number_conversions.h" | 18 #include "base/string_number_conversions.h" |
19 #include "chrome/common/common_param_traits.h" | 19 #include "chrome/common/common_param_traits.h" |
20 #include "chrome/common/webkit_param_traits.h" | 20 #include "chrome/common/webkit_param_traits.h" |
21 #include "gfx/native_widget_types.h" | |
22 #include "gfx/rect.h" | |
23 #include "googleurl/src/gurl.h" | 21 #include "googleurl/src/gurl.h" |
24 #include "ipc/ipc_message_utils.h" | 22 #include "ipc/ipc_message_utils.h" |
25 #include "third_party/npapi/bindings/npapi.h" | 23 #include "third_party/npapi/bindings/npapi.h" |
26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBindings.h" | 24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBindings.h" |
27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" | 25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
| 26 #include "ui/gfx/native_widget_types.h" |
| 27 #include "ui/gfx/rect.h" |
28 #include "webkit/glue/npruntime_util.h" | 28 #include "webkit/glue/npruntime_util.h" |
29 | 29 |
30 // Name prefix of the event handle when a message box is displayed. | 30 // Name prefix of the event handle when a message box is displayed. |
31 #define kMessageBoxEventPrefix L"message_box_active" | 31 #define kMessageBoxEventPrefix L"message_box_active" |
32 | 32 |
33 // Structures for messages that have too many parameters to be put in a | 33 // Structures for messages that have too many parameters to be put in a |
34 // predefined IPC message. | 34 // predefined IPC message. |
35 | 35 |
36 struct PluginMsg_Init_Params { | 36 struct PluginMsg_Init_Params { |
37 PluginMsg_Init_Params(); | 37 PluginMsg_Init_Params(); |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 static void Write(Message* m, const param_type& p); | 232 static void Write(Message* m, const param_type& p); |
233 static bool Read(const Message* m, void** iter, param_type* r); | 233 static bool Read(const Message* m, void** iter, param_type* r); |
234 static void Log(const param_type& p, std::string* l); | 234 static void Log(const param_type& p, std::string* l); |
235 }; | 235 }; |
236 | 236 |
237 } // namespace IPC | 237 } // namespace IPC |
238 | 238 |
239 #include "chrome/common/plugin_messages_internal.h" | 239 #include "chrome/common/plugin_messages_internal.h" |
240 | 240 |
241 #endif // CHROME_COMMON_PLUGIN_MESSAGES_H_ | 241 #endif // CHROME_COMMON_PLUGIN_MESSAGES_H_ |
OLD | NEW |