OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // IPC messages for page rendering. | 5 // IPC messages for page rendering. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
542 ViewMsg_New_Params) | 542 ViewMsg_New_Params) |
543 | 543 |
544 // Sends updated preferences to the renderer. | 544 // Sends updated preferences to the renderer. |
545 IPC_MESSAGE_ROUTED1(ViewMsg_SetRendererPrefs, | 545 IPC_MESSAGE_ROUTED1(ViewMsg_SetRendererPrefs, |
546 content::RendererPreferences) | 546 content::RendererPreferences) |
547 | 547 |
548 // This passes a set of webkit preferences down to the renderer. | 548 // This passes a set of webkit preferences down to the renderer. |
549 IPC_MESSAGE_ROUTED1(ViewMsg_UpdateWebPreferences, | 549 IPC_MESSAGE_ROUTED1(ViewMsg_UpdateWebPreferences, |
550 content::WebPreferences) | 550 content::WebPreferences) |
551 | 551 |
552 // Informs the renderer that the timezone has changed along with a new | |
553 // timezone ID. | |
554 IPC_MESSAGE_CONTROL1(ViewMsg_TimezoneChange, std::string) | |
555 | |
556 // Tells the render view to close. | 552 // Tells the render view to close. |
557 // Expects a Close_ACK message when finished. | 553 // Expects a Close_ACK message when finished. |
558 IPC_MESSAGE_ROUTED0(ViewMsg_Close) | 554 IPC_MESSAGE_ROUTED0(ViewMsg_Close) |
559 | 555 |
560 // Tells the render view to change its size. A ViewHostMsg_UpdateRect message | 556 // Tells the render view to change its size. A ViewHostMsg_UpdateRect message |
561 // is generated in response provided new_size is not empty and not equal to | 557 // is generated in response provided new_size is not empty and not equal to |
562 // the view's current size. The generated ViewHostMsg_UpdateRect message will | 558 // the view's current size. The generated ViewHostMsg_UpdateRect message will |
563 // have the IS_RESIZE_ACK flag set. It also receives the resizer rect so that | 559 // have the IS_RESIZE_ACK flag set. It also receives the resizer rect so that |
564 // we don't have to fetch it every time WebKit asks for it. | 560 // we don't have to fetch it every time WebKit asks for it. |
565 IPC_MESSAGE_ROUTED1(ViewMsg_Resize, content::ResizeParams /* params */) | 561 IPC_MESSAGE_ROUTED1(ViewMsg_Resize, content::ResizeParams /* params */) |
(...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1166 int /* y */) | 1162 int /* y */) |
1167 | 1163 |
1168 #elif defined(OS_MACOSX) | 1164 #elif defined(OS_MACOSX) |
1169 // Receives content of a web page as plain text. | 1165 // Receives content of a web page as plain text. |
1170 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 1166 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
1171 #endif | 1167 #endif |
1172 | 1168 |
1173 // Adding a new message? Stick to the sort order above: first platform | 1169 // Adding a new message? Stick to the sort order above: first platform |
1174 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1170 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1175 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1171 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |