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 1451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1462 // Asks the browser process to generate a keypair for grabbing a client | 1462 // Asks the browser process to generate a keypair for grabbing a client |
1463 // certificate from a CA (<keygen> tag), and returns the signed public | 1463 // certificate from a CA (<keygen> tag), and returns the signed public |
1464 // key and challenge string. | 1464 // key and challenge string. |
1465 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_Keygen, | 1465 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_Keygen, |
1466 uint32 /* key size index */, | 1466 uint32 /* key size index */, |
1467 std::string /* challenge string */, | 1467 std::string /* challenge string */, |
1468 GURL /* URL of requestor */, | 1468 GURL /* URL of requestor */, |
1469 std::string /* signed public key and challenge */) | 1469 std::string /* signed public key and challenge */) |
1470 | 1470 |
1471 // Message sent from the renderer to the browser to request that the browser | 1471 // Message sent from the renderer to the browser to request that the browser |
1472 // cache |data| associated with |url|. | 1472 // cache |data| associated with |url| and |expected_response_time|. |
1473 IPC_MESSAGE_CONTROL3(ViewHostMsg_DidGenerateCacheableMetadata, | 1473 IPC_MESSAGE_CONTROL3(ViewHostMsg_DidGenerateCacheableMetadata, |
1474 GURL /* url */, | 1474 GURL /* url */, |
1475 double /* expected_response_time */, | 1475 base::Time /* expected_response_time */, |
1476 std::vector<char> /* data */) | 1476 std::vector<char> /* data */) |
1477 | 1477 |
1478 // Register a new handler for URL requests with the given scheme. | 1478 // Register a new handler for URL requests with the given scheme. |
1479 IPC_MESSAGE_ROUTED4(ViewHostMsg_RegisterProtocolHandler, | 1479 IPC_MESSAGE_ROUTED4(ViewHostMsg_RegisterProtocolHandler, |
1480 std::string /* scheme */, | 1480 std::string /* scheme */, |
1481 GURL /* url */, | 1481 GURL /* url */, |
1482 base::string16 /* title */, | 1482 base::string16 /* title */, |
1483 bool /* user_gesture */) | 1483 bool /* user_gesture */) |
1484 | 1484 |
1485 // Unregister the registered handler for URL requests with the given scheme. | 1485 // Unregister the registered handler for URL requests with the given scheme. |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1651 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 1651 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
1652 // for details. | 1652 // for details. |
1653 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 1653 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
1654 LOGFONT /* font_data */, | 1654 LOGFONT /* font_data */, |
1655 base::string16 /* characters */) | 1655 base::string16 /* characters */) |
1656 #endif | 1656 #endif |
1657 | 1657 |
1658 // 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 |
1659 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1659 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1660 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1660 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |