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