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 1476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1487 double /* expected_response_time */, | 1487 double /* expected_response_time */, |
1488 std::vector<char> /* data */) | 1488 std::vector<char> /* data */) |
1489 | 1489 |
1490 // Register a new handler for URL requests with the given scheme. | 1490 // Register a new handler for URL requests with the given scheme. |
1491 IPC_MESSAGE_ROUTED4(ViewHostMsg_RegisterProtocolHandler, | 1491 IPC_MESSAGE_ROUTED4(ViewHostMsg_RegisterProtocolHandler, |
1492 std::string /* scheme */, | 1492 std::string /* scheme */, |
1493 GURL /* url */, | 1493 GURL /* url */, |
1494 base::string16 /* title */, | 1494 base::string16 /* title */, |
1495 bool /* user_gesture */) | 1495 bool /* user_gesture */) |
1496 | 1496 |
1497 // Unregister the registered handler for URL requests with the given scheme. | |
1498 IPC_MESSAGE_ROUTED3(ViewHostMsg_UnregisterProtocolHandler, | |
jochen (gone - plz use gerrit)
2014/07/10 11:30:07
you'll need an security review for this
| |
1499 std::string /* scheme */, | |
1500 GURL /* url */, | |
1501 bool /* user_gesture */) | |
1502 | |
1497 // Stores new inspector setting in the profile. | 1503 // Stores new inspector setting in the profile. |
1498 // TODO(jam): this should be in the chrome module | 1504 // TODO(jam): this should be in the chrome module |
1499 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateInspectorSetting, | 1505 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateInspectorSetting, |
1500 std::string, /* key */ | 1506 std::string, /* key */ |
1501 std::string /* value */) | 1507 std::string /* value */) |
1502 | 1508 |
1503 // Puts the browser into "tab fullscreen" mode for the sending renderer. | 1509 // Puts the browser into "tab fullscreen" mode for the sending renderer. |
1504 // See the comment in chrome/browser/ui/browser.h for more details. | 1510 // See the comment in chrome/browser/ui/browser.h for more details. |
1505 IPC_MESSAGE_ROUTED1(ViewHostMsg_ToggleFullscreen, | 1511 IPC_MESSAGE_ROUTED1(ViewHostMsg_ToggleFullscreen, |
1506 bool /* enter_fullscreen */) | 1512 bool /* enter_fullscreen */) |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1698 // Since the browser keeps handles to the allocated transport DIBs, this | 1704 // Since the browser keeps handles to the allocated transport DIBs, this |
1699 // message is sent to tell the browser that it may release them when the | 1705 // message is sent to tell the browser that it may release them when the |
1700 // renderer is finished with them. | 1706 // renderer is finished with them. |
1701 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, | 1707 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, |
1702 TransportDIB::Id /* DIB id */) | 1708 TransportDIB::Id /* DIB id */) |
1703 #endif | 1709 #endif |
1704 | 1710 |
1705 // Adding a new message? Stick to the sort order above: first platform | 1711 // Adding a new message? Stick to the sort order above: first platform |
1706 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1712 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1707 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1713 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |