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 1449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1460 GURL /* URL of requestor */, | 1460 GURL /* URL of requestor */, |
1461 std::string /* signed public key and challenge */) | 1461 std::string /* signed public key and challenge */) |
1462 | 1462 |
1463 // Message sent from the renderer to the browser to request that the browser | 1463 // Message sent from the renderer to the browser to request that the browser |
1464 // cache |data| associated with |url|. | 1464 // cache |data| associated with |url|. |
1465 IPC_MESSAGE_CONTROL3(ViewHostMsg_DidGenerateCacheableMetadata, | 1465 IPC_MESSAGE_CONTROL3(ViewHostMsg_DidGenerateCacheableMetadata, |
1466 GURL /* url */, | 1466 GURL /* url */, |
1467 double /* expected_response_time */, | 1467 double /* expected_response_time */, |
1468 std::vector<char> /* data */) | 1468 std::vector<char> /* data */) |
1469 | 1469 |
1470 // Message sent from the renderer to the browser to request that the browser | |
1471 // cache |data| associated with |url| and |expected_response_time|. | |
1472 IPC_MESSAGE_CONTROL3( | |
1473 ViewHostMsg_DidGenerateCacheableMetadataOriginalResponseTime, | |
1474 GURL /* url */, | |
1475 int64 /* expected_response_time */, | |
davidben
2015/02/18 18:50:45
base::Time? We don't seem to have issues putting a
| |
1476 std::vector<char> /* data */) | |
1477 | |
1470 // Register a new handler for URL requests with the given scheme. | 1478 // Register a new handler for URL requests with the given scheme. |
1471 IPC_MESSAGE_ROUTED4(ViewHostMsg_RegisterProtocolHandler, | 1479 IPC_MESSAGE_ROUTED4(ViewHostMsg_RegisterProtocolHandler, |
1472 std::string /* scheme */, | 1480 std::string /* scheme */, |
1473 GURL /* url */, | 1481 GURL /* url */, |
1474 base::string16 /* title */, | 1482 base::string16 /* title */, |
1475 bool /* user_gesture */) | 1483 bool /* user_gesture */) |
1476 | 1484 |
1477 // Unregister the registered handler for URL requests with the given scheme. | 1485 // Unregister the registered handler for URL requests with the given scheme. |
1478 IPC_MESSAGE_ROUTED3(ViewHostMsg_UnregisterProtocolHandler, | 1486 IPC_MESSAGE_ROUTED3(ViewHostMsg_UnregisterProtocolHandler, |
1479 std::string /* scheme */, | 1487 std::string /* scheme */, |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1643 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 1651 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
1644 // for details. | 1652 // for details. |
1645 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 1653 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
1646 LOGFONT /* font_data */, | 1654 LOGFONT /* font_data */, |
1647 base::string16 /* characters */) | 1655 base::string16 /* characters */) |
1648 #endif | 1656 #endif |
1649 | 1657 |
1650 // Adding a new message? Stick to the sort order above: first platform | 1658 // Adding a new message? Stick to the sort order above: first platform |
1651 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1659 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1652 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1660 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |