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 1560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1571 IPC_MESSAGE_CONTROL1(ViewHostMsg_CancelCreateDedicatedWorker, | 1571 IPC_MESSAGE_CONTROL1(ViewHostMsg_CancelCreateDedicatedWorker, |
1572 int /* route_id */) | 1572 int /* route_id */) |
1573 | 1573 |
1574 // Tells the browser that a specific Appcache manifest in the current page | 1574 // Tells the browser that a specific Appcache manifest in the current page |
1575 // was accessed. | 1575 // was accessed. |
1576 IPC_MESSAGE_ROUTED2(ViewHostMsg_AppCacheAccessed, | 1576 IPC_MESSAGE_ROUTED2(ViewHostMsg_AppCacheAccessed, |
1577 GURL /* manifest url */, | 1577 GURL /* manifest url */, |
1578 bool /* blocked by policy */) | 1578 bool /* blocked by policy */) |
1579 | 1579 |
1580 // Initiates a download based on user actions like 'ALT+click'. | 1580 // Initiates a download based on user actions like 'ALT+click'. |
1581 IPC_MESSAGE_ROUTED2(ViewHostMsg_DownloadUrl, | 1581 IPC_MESSAGE_ROUTED3(ViewHostMsg_DownloadUrl, |
1582 GURL /* url */, | 1582 GURL /* url */, |
1583 GURL /* referrer */) | 1583 GURL /* referrer */, |
| 1584 string16 /* suggested_name */) |
1584 | 1585 |
1585 // Used to go to the session history entry at the given offset (ie, -1 will | 1586 // Used to go to the session history entry at the given offset (ie, -1 will |
1586 // return the "back" item). | 1587 // return the "back" item). |
1587 IPC_MESSAGE_ROUTED1(ViewHostMsg_GoToEntryAtOffset, | 1588 IPC_MESSAGE_ROUTED1(ViewHostMsg_GoToEntryAtOffset, |
1588 int /* offset (from current) of history item to get */) | 1589 int /* offset (from current) of history item to get */) |
1589 | 1590 |
1590 IPC_SYNC_MESSAGE_ROUTED4_2(ViewHostMsg_RunJavaScriptMessage, | 1591 IPC_SYNC_MESSAGE_ROUTED4_2(ViewHostMsg_RunJavaScriptMessage, |
1591 string16 /* in - alert message */, | 1592 string16 /* in - alert message */, |
1592 string16 /* in - default prompt */, | 1593 string16 /* in - default prompt */, |
1593 GURL /* in - originating page URL */, | 1594 GURL /* in - originating page URL */, |
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1970 | 1971 |
1971 // Provide the browser process with current renderer framerate. | 1972 // Provide the browser process with current renderer framerate. |
1972 IPC_MESSAGE_CONTROL2(ViewHostMsg_FPS, | 1973 IPC_MESSAGE_CONTROL2(ViewHostMsg_FPS, |
1973 int /* routing id */, | 1974 int /* routing id */, |
1974 float /* frames per second */) | 1975 float /* frames per second */) |
1975 | 1976 |
1976 // Notifies the browser that the page was or was not saved as MHTML. | 1977 // Notifies the browser that the page was or was not saved as MHTML. |
1977 IPC_MESSAGE_CONTROL2(ViewHostMsg_SavedPageAsMHTML, | 1978 IPC_MESSAGE_CONTROL2(ViewHostMsg_SavedPageAsMHTML, |
1978 int /* job_id */, | 1979 int /* job_id */, |
1979 bool /* success */) | 1980 bool /* success */) |
OLD | NEW |