OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/process.h" | 8 #include "base/process.h" |
9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
10 #include "content/common/common_param_traits.h" | 10 #include "content/common/common_param_traits.h" |
(...skipping 1755 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1766 | 1766 |
1767 // Updates the minimum/maximum allowed zoom percent for this tab from the | 1767 // Updates the minimum/maximum allowed zoom percent for this tab from the |
1768 // default values. If |remember| is true, then the zoom setting is applied to | 1768 // default values. If |remember| is true, then the zoom setting is applied to |
1769 // other pages in the site and is saved, otherwise it only applies to this | 1769 // other pages in the site and is saved, otherwise it only applies to this |
1770 // tab. | 1770 // tab. |
1771 IPC_MESSAGE_ROUTED3(ViewHostMsg_UpdateZoomLimits, | 1771 IPC_MESSAGE_ROUTED3(ViewHostMsg_UpdateZoomLimits, |
1772 int /* minimum_percent */, | 1772 int /* minimum_percent */, |
1773 int /* maximum_percent */, | 1773 int /* maximum_percent */, |
1774 bool /* remember */) | 1774 bool /* remember */) |
1775 | 1775 |
| 1776 // Sent by the renderer to check if a URL has permission to trigger a clipboard |
| 1777 // read/write operation from the DOM. |
| 1778 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_CanTriggerClipboardRead, |
| 1779 GURL /* url */, |
| 1780 bool /* allowed */) |
| 1781 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_CanTriggerClipboardWrite, |
| 1782 GURL /* url */, |
| 1783 bool /* allowed */) |
| 1784 |
| 1785 |
1776 // Asks the browser to create a block of shared memory for the renderer to | 1786 // Asks the browser to create a block of shared memory for the renderer to |
1777 // fill in and pass back to the browser. | 1787 // fill in and pass back to the browser. |
1778 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_AllocateSharedMemoryBuffer, | 1788 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_AllocateSharedMemoryBuffer, |
1779 uint32 /* buffer size */, | 1789 uint32 /* buffer size */, |
1780 base::SharedMemoryHandle /* browser handle */) | 1790 base::SharedMemoryHandle /* browser handle */) |
1781 | 1791 |
1782 // Notify the browser that this render process can or can't be suddenly | 1792 // Notify the browser that this render process can or can't be suddenly |
1783 // terminated. | 1793 // terminated. |
1784 IPC_MESSAGE_CONTROL1(ViewHostMsg_SuddenTerminationChanged, | 1794 IPC_MESSAGE_CONTROL1(ViewHostMsg_SuddenTerminationChanged, |
1785 bool /* enabled */) | 1795 bool /* enabled */) |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1962 // Stores new inspector setting in the profile. | 1972 // Stores new inspector setting in the profile. |
1963 // TODO(jam): this should be in the chrome module | 1973 // TODO(jam): this should be in the chrome module |
1964 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateInspectorSetting, | 1974 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateInspectorSetting, |
1965 std::string, /* key */ | 1975 std::string, /* key */ |
1966 std::string /* value */) | 1976 std::string /* value */) |
1967 | 1977 |
1968 // Message sent from the renderer to the browser to notify it of events which | 1978 // Message sent from the renderer to the browser to notify it of events which |
1969 // may lead to the cancellation of a prerender. The message is sent only when | 1979 // may lead to the cancellation of a prerender. The message is sent only when |
1970 // the renderer is in prerender mode. | 1980 // the renderer is in prerender mode. |
1971 IPC_MESSAGE_ROUTED0(ViewHostMsg_MaybeCancelPrerenderForHTML5Media) | 1981 IPC_MESSAGE_ROUTED0(ViewHostMsg_MaybeCancelPrerenderForHTML5Media) |
OLD | NEW |