OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 | 12 |
13 #include <string> | 13 #include <string> |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 #include "base/gfx/native_widget_types.h" | 16 #include "base/gfx/native_widget_types.h" |
17 #include "base/gfx/rect.h" | 17 #include "base/gfx/rect.h" |
18 #include "base/basictypes.h" | 18 #include "base/basictypes.h" |
19 #include "chrome/common/ipc_message_utils.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 "googleurl/src/gurl.h" | 21 #include "googleurl/src/gurl.h" |
| 22 #include "ipc/ipc_message_utils.h" |
22 #include "third_party/npapi/bindings/npapi.h" | 23 #include "third_party/npapi/bindings/npapi.h" |
23 #include "webkit/api/public/WebInputEvent.h" | 24 #include "webkit/api/public/WebInputEvent.h" |
24 #include "webkit/glue/npruntime_util.h" | 25 #include "webkit/glue/npruntime_util.h" |
25 | 26 |
26 // Name prefix of the event handle when a message box is displayed. | 27 // Name prefix of the event handle when a message box is displayed. |
27 #define kMessageBoxEventPrefix L"message_box_active" | 28 #define kMessageBoxEventPrefix L"message_box_active" |
28 | 29 |
29 // Structures for messages that have too many parameters to be put in a | 30 // Structures for messages that have too many parameters to be put in a |
30 // predefined IPC message. | 31 // predefined IPC message. |
31 | 32 |
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 } else if (p.type == NPVARIANT_PARAM_OBJECT_POINTER) { | 402 } else if (p.type == NPVARIANT_PARAM_OBJECT_POINTER) { |
402 LogParam(p.npobject_pointer, l); | 403 LogParam(p.npobject_pointer, l); |
403 } | 404 } |
404 } | 405 } |
405 }; | 406 }; |
406 | 407 |
407 } // namespace IPC | 408 } // namespace IPC |
408 | 409 |
409 | 410 |
410 #define MESSAGES_INTERNAL_FILE "chrome/common/plugin_messages_internal.h" | 411 #define MESSAGES_INTERNAL_FILE "chrome/common/plugin_messages_internal.h" |
411 #include "chrome/common/ipc_message_macros.h" | 412 #include "ipc/ipc_message_macros.h" |
412 | 413 |
413 #endif // CHROME_COMMON_PLUGIN_MESSAGES_H__ | 414 #endif // CHROME_COMMON_PLUGIN_MESSAGES_H__ |
OLD | NEW |