| 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 "base/memory/shared_memory.h" | 8 #include "base/memory/shared_memory.h" |
| 9 #include "base/process/process.h" | 9 #include "base/process/process.h" |
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| (...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 594 IPC_MESSAGE_ROUTED0(ViewMsg_CreatingNew_ACK) | 594 IPC_MESSAGE_ROUTED0(ViewMsg_CreatingNew_ACK) |
| 595 | 595 |
| 596 // Sends updated preferences to the renderer. | 596 // Sends updated preferences to the renderer. |
| 597 IPC_MESSAGE_ROUTED1(ViewMsg_SetRendererPrefs, | 597 IPC_MESSAGE_ROUTED1(ViewMsg_SetRendererPrefs, |
| 598 content::RendererPreferences) | 598 content::RendererPreferences) |
| 599 | 599 |
| 600 // This passes a set of webkit preferences down to the renderer. | 600 // This passes a set of webkit preferences down to the renderer. |
| 601 IPC_MESSAGE_ROUTED1(ViewMsg_UpdateWebPreferences, | 601 IPC_MESSAGE_ROUTED1(ViewMsg_UpdateWebPreferences, |
| 602 content::WebPreferences) | 602 content::WebPreferences) |
| 603 | 603 |
| 604 // Informs the renderer that the timezone has changed. | 604 // Informs the renderer that the timezone has changed along with a new |
| 605 IPC_MESSAGE_CONTROL0(ViewMsg_TimezoneChange) | 605 // timezone ID. |
| 606 IPC_MESSAGE_CONTROL1(ViewMsg_TimezoneChange, std::string) |
| 606 | 607 |
| 607 // Tells the render view to close. | 608 // Tells the render view to close. |
| 608 // Expects a Close_ACK message when finished. | 609 // Expects a Close_ACK message when finished. |
| 609 IPC_MESSAGE_ROUTED0(ViewMsg_Close) | 610 IPC_MESSAGE_ROUTED0(ViewMsg_Close) |
| 610 | 611 |
| 611 // Tells the render view to change its size. A ViewHostMsg_UpdateRect message | 612 // Tells the render view to change its size. A ViewHostMsg_UpdateRect message |
| 612 // is generated in response provided new_size is not empty and not equal to | 613 // is generated in response provided new_size is not empty and not equal to |
| 613 // the view's current size. The generated ViewHostMsg_UpdateRect message will | 614 // the view's current size. The generated ViewHostMsg_UpdateRect message will |
| 614 // have the IS_RESIZE_ACK flag set. It also receives the resizer rect so that | 615 // have the IS_RESIZE_ACK flag set. It also receives the resizer rect so that |
| 615 // we don't have to fetch it every time WebKit asks for it. | 616 // we don't have to fetch it every time WebKit asks for it. |
| (...skipping 1014 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1630 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 1631 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
| 1631 // for details. | 1632 // for details. |
| 1632 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 1633 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
| 1633 LOGFONT /* font_data */, | 1634 LOGFONT /* font_data */, |
| 1634 base::string16 /* characters */) | 1635 base::string16 /* characters */) |
| 1635 #endif | 1636 #endif |
| 1636 | 1637 |
| 1637 // Adding a new message? Stick to the sort order above: first platform | 1638 // Adding a new message? Stick to the sort order above: first platform |
| 1638 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1639 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1639 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1640 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |