OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 // This header is meant to be included in multiple passes, hence no traditional | 5 // This header is meant to be included in multiple passes, hence no traditional |
6 // header guard. | 6 // header guard. |
7 // See ipc_message_macros.h for explanation of the macros and passes. | 7 // See ipc_message_macros.h for explanation of the macros and passes. |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 23 matching lines...) Expand all Loading... |
34 #endif | 34 #endif |
35 | 35 |
36 // TODO(mpcomplete): rename ViewMsg and ViewHostMsg to something that makes | 36 // TODO(mpcomplete): rename ViewMsg and ViewHostMsg to something that makes |
37 // more sense with our current design. | 37 // more sense with our current design. |
38 | 38 |
39 // IPC_MESSAGE macros choke on extra , in the std::map, when expanding. We need | 39 // IPC_MESSAGE macros choke on extra , in the std::map, when expanding. We need |
40 // to typedef it to avoid that. | 40 // to typedef it to avoid that. |
41 // Substitution map for l10n messages. | 41 // Substitution map for l10n messages. |
42 typedef std::map<std::string, std::string> SubstitutionMap; | 42 typedef std::map<std::string, std::string> SubstitutionMap; |
43 | 43 |
| 44 class SerializedScriptValue; |
44 class SkBitmap; | 45 class SkBitmap; |
45 struct ThumbnailScore; | 46 struct ThumbnailScore; |
46 class WebCursor; | 47 class WebCursor; |
47 | 48 |
48 namespace IPC { | 49 namespace IPC { |
49 struct ChannelHandle; | 50 struct ChannelHandle; |
50 class Message; | 51 class Message; |
51 } | 52 } |
52 | 53 |
53 //----------------------------------------------------------------------------- | 54 //----------------------------------------------------------------------------- |
(...skipping 2567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2621 | 2622 |
2622 // A RenderView requests to start receiving device orientation updates. | 2623 // A RenderView requests to start receiving device orientation updates. |
2623 IPC_MESSAGE_CONTROL1(ViewHostMsg_DeviceOrientation_StartUpdating, | 2624 IPC_MESSAGE_CONTROL1(ViewHostMsg_DeviceOrientation_StartUpdating, |
2624 int /* render_view_id */) | 2625 int /* render_view_id */) |
2625 | 2626 |
2626 // A RenderView requests to stop receiving device orientation updates. | 2627 // A RenderView requests to stop receiving device orientation updates. |
2627 IPC_MESSAGE_CONTROL1(ViewHostMsg_DeviceOrientation_StopUpdating, | 2628 IPC_MESSAGE_CONTROL1(ViewHostMsg_DeviceOrientation_StopUpdating, |
2628 int /* render_view_id */) | 2629 int /* render_view_id */) |
2629 | 2630 |
2630 IPC_END_MESSAGES(ViewHost) | 2631 IPC_END_MESSAGES(ViewHost) |
OLD | NEW |