| 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 1496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1507 // Unregister the registered handler for URL requests with the given scheme. | 1507 // Unregister the registered handler for URL requests with the given scheme. |
| 1508 IPC_MESSAGE_ROUTED3(ViewHostMsg_UnregisterProtocolHandler, | 1508 IPC_MESSAGE_ROUTED3(ViewHostMsg_UnregisterProtocolHandler, |
| 1509 std::string /* scheme */, | 1509 std::string /* scheme */, |
| 1510 GURL /* url */, | 1510 GURL /* url */, |
| 1511 bool /* user_gesture */) | 1511 bool /* user_gesture */) |
| 1512 | 1512 |
| 1513 // Send back a string to be recorded by UserMetrics. | 1513 // Send back a string to be recorded by UserMetrics. |
| 1514 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, | 1514 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, |
| 1515 std::string /* action */) | 1515 std::string /* action */) |
| 1516 | 1516 |
| 1517 // Send back a string to be recorded by UserMetrics. |
| 1518 IPC_MESSAGE_CONTROL2(ViewHostMsg_UserMetricsRecordRappor, |
| 1519 std::string /* metric */, |
| 1520 std::string /* sample */) |
| 1521 |
| 1517 // Notifies the browser that the page was or was not saved as MHTML. | 1522 // Notifies the browser that the page was or was not saved as MHTML. |
| 1518 IPC_MESSAGE_CONTROL2(ViewHostMsg_SavedPageAsMHTML, | 1523 IPC_MESSAGE_CONTROL2(ViewHostMsg_SavedPageAsMHTML, |
| 1519 int /* job_id */, | 1524 int /* job_id */, |
| 1520 int64 /* size of the MHTML file, -1 if error */) | 1525 int64 /* size of the MHTML file, -1 if error */) |
| 1521 | 1526 |
| 1522 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendCurrentPageAllSavableResourceLinks, | 1527 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendCurrentPageAllSavableResourceLinks, |
| 1523 std::vector<GURL> /* all savable resource links */, | 1528 std::vector<GURL> /* all savable resource links */, |
| 1524 std::vector<content::Referrer> /* all referrers */, | 1529 std::vector<content::Referrer> /* all referrers */, |
| 1525 std::vector<GURL> /* all frame links */) | 1530 std::vector<GURL> /* all frame links */) |
| 1526 | 1531 |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1673 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 1678 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
| 1674 // for details. | 1679 // for details. |
| 1675 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 1680 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
| 1676 LOGFONT /* font_data */, | 1681 LOGFONT /* font_data */, |
| 1677 base::string16 /* characters */) | 1682 base::string16 /* characters */) |
| 1678 #endif | 1683 #endif |
| 1679 | 1684 |
| 1680 // Adding a new message? Stick to the sort order above: first platform | 1685 // Adding a new message? Stick to the sort order above: first platform |
| 1681 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1686 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1682 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1687 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |