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 1480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1491 // Unregister the registered handler for URL requests with the given scheme. | 1491 // Unregister the registered handler for URL requests with the given scheme. |
1492 IPC_MESSAGE_ROUTED3(ViewHostMsg_UnregisterProtocolHandler, | 1492 IPC_MESSAGE_ROUTED3(ViewHostMsg_UnregisterProtocolHandler, |
1493 std::string /* scheme */, | 1493 std::string /* scheme */, |
1494 GURL /* url */, | 1494 GURL /* url */, |
1495 bool /* user_gesture */) | 1495 bool /* user_gesture */) |
1496 | 1496 |
1497 // Send back a string to be recorded by UserMetrics. | 1497 // Send back a string to be recorded by UserMetrics. |
1498 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, | 1498 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, |
1499 std::string /* action */) | 1499 std::string /* action */) |
1500 | 1500 |
| 1501 // Send back a string to be recorded by UserMetrics. |
| 1502 IPC_MESSAGE_CONTROL2(ViewHostMsg_UserMetricsRecordRappor, |
| 1503 std::string /* metric */, |
| 1504 std::string /* sample */) |
| 1505 |
1501 // Notifies the browser that the page was or was not saved as MHTML. | 1506 // Notifies the browser that the page was or was not saved as MHTML. |
1502 IPC_MESSAGE_CONTROL2(ViewHostMsg_SavedPageAsMHTML, | 1507 IPC_MESSAGE_CONTROL2(ViewHostMsg_SavedPageAsMHTML, |
1503 int /* job_id */, | 1508 int /* job_id */, |
1504 int64 /* size of the MHTML file, -1 if error */) | 1509 int64 /* size of the MHTML file, -1 if error */) |
1505 | 1510 |
1506 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendCurrentPageAllSavableResourceLinks, | 1511 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendCurrentPageAllSavableResourceLinks, |
1507 std::vector<GURL> /* all savable resource links */, | 1512 std::vector<GURL> /* all savable resource links */, |
1508 std::vector<content::Referrer> /* all referrers */, | 1513 std::vector<content::Referrer> /* all referrers */, |
1509 std::vector<GURL> /* all frame links */) | 1514 std::vector<GURL> /* all frame links */) |
1510 | 1515 |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1657 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 1662 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
1658 // for details. | 1663 // for details. |
1659 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 1664 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
1660 LOGFONT /* font_data */, | 1665 LOGFONT /* font_data */, |
1661 base::string16 /* characters */) | 1666 base::string16 /* characters */) |
1662 #endif | 1667 #endif |
1663 | 1668 |
1664 // Adding a new message? Stick to the sort order above: first platform | 1669 // Adding a new message? Stick to the sort order above: first platform |
1665 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1670 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1666 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1671 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |