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 1466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1477 GURL /* url */, | 1477 GURL /* url */, |
1478 base::string16 /* title */, | 1478 base::string16 /* title */, |
1479 bool /* user_gesture */) | 1479 bool /* user_gesture */) |
1480 | 1480 |
1481 // Unregister the registered handler for URL requests with the given scheme. | 1481 // Unregister the registered handler for URL requests with the given scheme. |
1482 IPC_MESSAGE_ROUTED3(ViewHostMsg_UnregisterProtocolHandler, | 1482 IPC_MESSAGE_ROUTED3(ViewHostMsg_UnregisterProtocolHandler, |
1483 std::string /* scheme */, | 1483 std::string /* scheme */, |
1484 GURL /* url */, | 1484 GURL /* url */, |
1485 bool /* user_gesture */) | 1485 bool /* user_gesture */) |
1486 | 1486 |
1487 // Stores new inspector setting in the profile. | |
1488 // TODO(jam): this should be in the chrome module | |
1489 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateInspectorSetting, | |
1490 std::string, /* key */ | |
1491 std::string /* value */) | |
1492 | |
1493 // Puts the browser into "tab fullscreen" mode for the sending renderer. | 1487 // Puts the browser into "tab fullscreen" mode for the sending renderer. |
1494 // See the comment in chrome/browser/ui/browser.h for more details. | 1488 // See the comment in chrome/browser/ui/browser.h for more details. |
1495 IPC_MESSAGE_ROUTED1(ViewHostMsg_ToggleFullscreen, | 1489 IPC_MESSAGE_ROUTED1(ViewHostMsg_ToggleFullscreen, |
1496 bool /* enter_fullscreen */) | 1490 bool /* enter_fullscreen */) |
1497 | 1491 |
1498 // Send back a string to be recorded by UserMetrics. | 1492 // Send back a string to be recorded by UserMetrics. |
1499 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, | 1493 IPC_MESSAGE_CONTROL1(ViewHostMsg_UserMetricsRecordAction, |
1500 std::string /* action */) | 1494 std::string /* action */) |
1501 | 1495 |
1502 // Notifies the browser that the page was or was not saved as MHTML. | 1496 // Notifies the browser that the page was or was not saved as MHTML. |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1688 // Since the browser keeps handles to the allocated transport DIBs, this | 1682 // Since the browser keeps handles to the allocated transport DIBs, this |
1689 // message is sent to tell the browser that it may release them when the | 1683 // message is sent to tell the browser that it may release them when the |
1690 // renderer is finished with them. | 1684 // renderer is finished with them. |
1691 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, | 1685 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, |
1692 TransportDIB::Id /* DIB id */) | 1686 TransportDIB::Id /* DIB id */) |
1693 #endif | 1687 #endif |
1694 | 1688 |
1695 // Adding a new message? Stick to the sort order above: first platform | 1689 // Adding a new message? Stick to the sort order above: first platform |
1696 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1690 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1697 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1691 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |