| 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 1443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1454 // Asks the browser process to generate a keypair for grabbing a client | 1454 // Asks the browser process to generate a keypair for grabbing a client |
| 1455 // certificate from a CA (<keygen> tag), and returns the signed public | 1455 // certificate from a CA (<keygen> tag), and returns the signed public |
| 1456 // key and challenge string. | 1456 // key and challenge string. |
| 1457 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_Keygen, | 1457 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_Keygen, |
| 1458 uint32 /* key size index */, | 1458 uint32 /* key size index */, |
| 1459 std::string /* challenge string */, | 1459 std::string /* challenge string */, |
| 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| and |expected_response_time|. |
| 1465 IPC_MESSAGE_CONTROL3(ViewHostMsg_DidGenerateCacheableMetadata, | 1465 IPC_MESSAGE_CONTROL3(ViewHostMsg_DidGenerateCacheableMetadata, |
| 1466 GURL /* url */, | 1466 GURL /* url */, |
| 1467 double /* expected_response_time */, | 1467 base::Time /* expected_response_time */, |
| 1468 std::vector<char> /* data */) | 1468 std::vector<char> /* data */) |
| 1469 | 1469 |
| 1470 // Register a new handler for URL requests with the given scheme. | 1470 // Register a new handler for URL requests with the given scheme. |
| 1471 IPC_MESSAGE_ROUTED4(ViewHostMsg_RegisterProtocolHandler, | 1471 IPC_MESSAGE_ROUTED4(ViewHostMsg_RegisterProtocolHandler, |
| 1472 std::string /* scheme */, | 1472 std::string /* scheme */, |
| 1473 GURL /* url */, | 1473 GURL /* url */, |
| 1474 base::string16 /* title */, | 1474 base::string16 /* title */, |
| 1475 bool /* user_gesture */) | 1475 bool /* user_gesture */) |
| 1476 | 1476 |
| 1477 // Unregister the registered handler for URL requests with the given scheme. | 1477 // Unregister the registered handler for URL requests with the given scheme. |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1643 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 1643 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
| 1644 // for details. | 1644 // for details. |
| 1645 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 1645 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
| 1646 LOGFONT /* font_data */, | 1646 LOGFONT /* font_data */, |
| 1647 base::string16 /* characters */) | 1647 base::string16 /* characters */) |
| 1648 #endif | 1648 #endif |
| 1649 | 1649 |
| 1650 // Adding a new message? Stick to the sort order above: first platform | 1650 // Adding a new message? Stick to the sort order above: first platform |
| 1651 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1651 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1652 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1652 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |