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