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 | 12 |
13 #include <string> | 13 #include <string> |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 #include "app/gfx/native_widget_types.h" | 16 #include "app/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/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 "googleurl/src/gurl.h" | 21 #include "googleurl/src/gurl.h" |
22 #include "ipc/ipc_message_utils.h" | 22 #include "ipc/ipc_message_utils.h" |
23 #include "third_party/npapi/bindings/npapi.h" | 23 #include "third_party/npapi/bindings/npapi.h" |
24 #include "webkit/api/public/WebBindings.h" | 24 #include "third_party/WebKit/WebKit/chromium/public/WebBindings.h" |
25 #include "webkit/api/public/WebInputEvent.h" | 25 #include "third_party/WebKit/WebKit/chromium/public/WebInputEvent.h" |
26 #include "webkit/glue/npruntime_util.h" | 26 #include "webkit/glue/npruntime_util.h" |
27 | 27 |
28 // Name prefix of the event handle when a message box is displayed. | 28 // Name prefix of the event handle when a message box is displayed. |
29 #define kMessageBoxEventPrefix L"message_box_active" | 29 #define kMessageBoxEventPrefix L"message_box_active" |
30 | 30 |
31 // Structures for messages that have too many parameters to be put in a | 31 // Structures for messages that have too many parameters to be put in a |
32 // predefined IPC message. | 32 // predefined IPC message. |
33 | 33 |
34 struct PluginMsg_Init_Params { | 34 struct PluginMsg_Init_Params { |
35 gfx::NativeViewId containing_window; | 35 gfx::NativeViewId containing_window; |
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
439 } | 439 } |
440 }; | 440 }; |
441 | 441 |
442 } // namespace IPC | 442 } // namespace IPC |
443 | 443 |
444 | 444 |
445 #define MESSAGES_INTERNAL_FILE "chrome/common/plugin_messages_internal.h" | 445 #define MESSAGES_INTERNAL_FILE "chrome/common/plugin_messages_internal.h" |
446 #include "ipc/ipc_message_macros.h" | 446 #include "ipc/ipc_message_macros.h" |
447 | 447 |
448 #endif // CHROME_COMMON_PLUGIN_MESSAGES_H_ | 448 #endif // CHROME_COMMON_PLUGIN_MESSAGES_H_ |
OLD | NEW |