| 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 1418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1429 // Sent when the renderer changes the zoom level for a particular url, so the | 1429 // Sent when the renderer changes the zoom level for a particular url, so the |
| 1430 // browser can update its records. If the view is a plugin doc, then url is | 1430 // browser can update its records. If the view is a plugin doc, then url is |
| 1431 // used to update the zoom level for all pages in that site. Otherwise, the | 1431 // used to update the zoom level for all pages in that site. Otherwise, the |
| 1432 // render view's id is used so that only the menu is updated. | 1432 // render view's id is used so that only the menu is updated. |
| 1433 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidZoomURL, | 1433 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidZoomURL, |
| 1434 double /* zoom_level */, | 1434 double /* zoom_level */, |
| 1435 GURL /* url */) | 1435 GURL /* url */) |
| 1436 | 1436 |
| 1437 // Sent when the renderer changes its page scale factor and whether or not the | 1437 // Sent when the renderer changes its page scale factor and whether or not the |
| 1438 // page scale factor is one changes. | 1438 // page scale factor is one changes. |
| 1439 IPC_MESSAGE_ROUTED1(ViewHostMsg_PageScaleFactorIsOneChanged, bool /* is_one */); | 1439 IPC_MESSAGE_ROUTED1(ViewHostMsg_PageScaleFactorIsOneChanged, bool /* is_one */) |
| 1440 | 1440 |
| 1441 // Updates the minimum/maximum allowed zoom percent for this tab from the | 1441 // Updates the minimum/maximum allowed zoom percent for this tab from the |
| 1442 // default values. If |remember| is true, then the zoom setting is applied to | 1442 // default values. If |remember| is true, then the zoom setting is applied to |
| 1443 // other pages in the site and is saved, otherwise it only applies to this | 1443 // other pages in the site and is saved, otherwise it only applies to this |
| 1444 // tab. | 1444 // tab. |
| 1445 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateZoomLimits, | 1445 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateZoomLimits, |
| 1446 int /* minimum_percent */, | 1446 int /* minimum_percent */, |
| 1447 int /* maximum_percent */) | 1447 int /* maximum_percent */) |
| 1448 | 1448 |
| 1449 // Notify the browser that this render process can or can't be suddenly | 1449 // Notify the browser that this render process can or can't be suddenly |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1657 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 1657 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
| 1658 // for details. | 1658 // for details. |
| 1659 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 1659 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
| 1660 LOGFONT /* font_data */, | 1660 LOGFONT /* font_data */, |
| 1661 base::string16 /* characters */) | 1661 base::string16 /* characters */) |
| 1662 #endif | 1662 #endif |
| 1663 | 1663 |
| 1664 // Adding a new message? Stick to the sort order above: first platform | 1664 // Adding a new message? Stick to the sort order above: first platform |
| 1665 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1665 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1666 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1666 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |