| 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 605 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 616 IPC_MESSAGE_ROUTED0(ViewMsg_CreatingNew_ACK) | 616 IPC_MESSAGE_ROUTED0(ViewMsg_CreatingNew_ACK) |
| 617 | 617 |
| 618 // Sends updated preferences to the renderer. | 618 // Sends updated preferences to the renderer. |
| 619 IPC_MESSAGE_ROUTED1(ViewMsg_SetRendererPrefs, | 619 IPC_MESSAGE_ROUTED1(ViewMsg_SetRendererPrefs, |
| 620 content::RendererPreferences) | 620 content::RendererPreferences) |
| 621 | 621 |
| 622 // This passes a set of webkit preferences down to the renderer. | 622 // This passes a set of webkit preferences down to the renderer. |
| 623 IPC_MESSAGE_ROUTED1(ViewMsg_UpdateWebPreferences, | 623 IPC_MESSAGE_ROUTED1(ViewMsg_UpdateWebPreferences, |
| 624 content::WebPreferences) | 624 content::WebPreferences) |
| 625 | 625 |
| 626 // Informs the renderer that the timezone has changed. | 626 // Informs the renderer that the timezone has changed along with a new |
| 627 IPC_MESSAGE_CONTROL0(ViewMsg_TimezoneChange) | 627 // timezone ID. |
| 628 IPC_MESSAGE_CONTROL1(ViewMsg_TimezoneChange, std::string) |
| 628 | 629 |
| 629 // Tells the render view to close. | 630 // Tells the render view to close. |
| 630 // Expects a Close_ACK message when finished. | 631 // Expects a Close_ACK message when finished. |
| 631 IPC_MESSAGE_ROUTED0(ViewMsg_Close) | 632 IPC_MESSAGE_ROUTED0(ViewMsg_Close) |
| 632 | 633 |
| 633 // Tells the render view to change its size. A ViewHostMsg_UpdateRect message | 634 // Tells the render view to change its size. A ViewHostMsg_UpdateRect message |
| 634 // is generated in response provided new_size is not empty and not equal to | 635 // is generated in response provided new_size is not empty and not equal to |
| 635 // the view's current size. The generated ViewHostMsg_UpdateRect message will | 636 // the view's current size. The generated ViewHostMsg_UpdateRect message will |
| 636 // have the IS_RESIZE_ACK flag set. It also receives the resizer rect so that | 637 // have the IS_RESIZE_ACK flag set. It also receives the resizer rect so that |
| 637 // we don't have to fetch it every time WebKit asks for it. | 638 // we don't have to fetch it every time WebKit asks for it. |
| (...skipping 1036 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1674 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 1675 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
| 1675 // for details. | 1676 // for details. |
| 1676 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 1677 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
| 1677 LOGFONT /* font_data */, | 1678 LOGFONT /* font_data */, |
| 1678 base::string16 /* characters */) | 1679 base::string16 /* characters */) |
| 1679 #endif | 1680 #endif |
| 1680 | 1681 |
| 1681 // Adding a new message? Stick to the sort order above: first platform | 1682 // Adding a new message? Stick to the sort order above: first platform |
| 1682 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1683 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1683 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1684 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |