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 #include <map> | 5 #include <map> |
6 #include <set> | 6 #include <set> |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 // Sends System Colors corresponding to a set of CSS color keywords | 86 // Sends System Colors corresponding to a set of CSS color keywords |
87 // down the pipe. | 87 // down the pipe. |
88 // This message must be sent to the renderer immediately on launch | 88 // This message must be sent to the renderer immediately on launch |
89 // before creating any new views. | 89 // before creating any new views. |
90 // The message can also be sent during a renderer's lifetime if system colors | 90 // The message can also be sent during a renderer's lifetime if system colors |
91 // are updated. | 91 // are updated. |
92 // TODO(jeremy): Possibly change IPC format once we have this all hooked up. | 92 // TODO(jeremy): Possibly change IPC format once we have this all hooked up. |
93 IPC_MESSAGE_ROUTED1(ViewMsg_SetCSSColors, | 93 IPC_MESSAGE_ROUTED1(ViewMsg_SetCSSColors, |
94 std::vector<CSSColors::CSSColorMapping>) | 94 std::vector<CSSColors::CSSColorMapping>) |
95 | 95 |
| 96 // Asks the browser for a unique routing ID. |
| 97 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GenerateRoutingID, |
| 98 int /* routing_id */) |
| 99 |
96 // Tells the renderer to create a new view. | 100 // Tells the renderer to create a new view. |
97 // This message is slightly different, the view it takes (via | 101 // This message is slightly different, the view it takes (via |
98 // ViewMsg_New_Params) is the view to create, the message itself is sent as a | 102 // ViewMsg_New_Params) is the view to create, the message itself is sent as a |
99 // non-view control message. | 103 // non-view control message. |
100 IPC_MESSAGE_CONTROL1(ViewMsg_New, | 104 IPC_MESSAGE_CONTROL1(ViewMsg_New, |
101 ViewMsg_New_Params) | 105 ViewMsg_New_Params) |
102 | 106 |
103 // Tells the renderer to set its maximum cache size to the supplied value. | 107 // Tells the renderer to set its maximum cache size to the supplied value. |
104 IPC_MESSAGE_CONTROL3(ViewMsg_SetCacheCapacities, | 108 IPC_MESSAGE_CONTROL3(ViewMsg_SetCacheCapacities, |
105 size_t /* min_dead_capacity */, | 109 size_t /* min_dead_capacity */, |
(...skipping 2517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2623 // to ViewMsg_ScriptEvalRequest. The result has the value returned by the | 2627 // to ViewMsg_ScriptEvalRequest. The result has the value returned by the |
2624 // script as it's only element, one of Null, Boolean, Integer, Real, Date, or | 2628 // script as it's only element, one of Null, Boolean, Integer, Real, Date, or |
2625 // String. | 2629 // String. |
2626 IPC_MESSAGE_ROUTED2(ViewHostMsg_ScriptEvalResponse, | 2630 IPC_MESSAGE_ROUTED2(ViewHostMsg_ScriptEvalResponse, |
2627 int /* id */, | 2631 int /* id */, |
2628 ListValue /* result */) | 2632 ListValue /* result */) |
2629 | 2633 |
2630 // Updates the content restrictions, i.e. to disable print/copy. | 2634 // Updates the content restrictions, i.e. to disable print/copy. |
2631 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateContentRestrictions, | 2635 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateContentRestrictions, |
2632 int /* restrictions */) | 2636 int /* restrictions */) |
OLD | NEW |