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/process.h" | 8 #include "base/process.h" |
9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 1596 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1607 bool /* out - success */, | 1607 bool /* out - success */, |
1608 string16 /* out - user_input field */) | 1608 string16 /* out - user_input field */) |
1609 | 1609 |
1610 // Requests that the given URL be opened in the specified manner. | 1610 // Requests that the given URL be opened in the specified manner. |
1611 IPC_MESSAGE_ROUTED4(ViewHostMsg_OpenURL, | 1611 IPC_MESSAGE_ROUTED4(ViewHostMsg_OpenURL, |
1612 GURL /* url */, | 1612 GURL /* url */, |
1613 content::Referrer /* referrer */, | 1613 content::Referrer /* referrer */, |
1614 WindowOpenDisposition /* disposition */, | 1614 WindowOpenDisposition /* disposition */, |
1615 int64 /* frame id */) | 1615 int64 /* frame id */) |
1616 | 1616 |
| 1617 // Lets the browser instruct the renderer to ignore a specific navigation |
| 1618 // request. |
| 1619 IPC_SYNC_MESSAGE_ROUTED5_1(ViewHostMsg_ShouldIgnoreNavigation, |
| 1620 GURL /* in - url */, |
| 1621 content::Referrer /* in - referrer */, |
| 1622 WindowOpenDisposition /* in - disposition */, |
| 1623 int64 /* in - frame id */, |
| 1624 bool /* in - is_content_initiated */, |
| 1625 bool /* out - result */) |
| 1626 |
1617 // Notifies that the preferred size of the content changed. | 1627 // Notifies that the preferred size of the content changed. |
1618 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidContentsPreferredSizeChange, | 1628 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidContentsPreferredSizeChange, |
1619 gfx::Size /* pref_size */) | 1629 gfx::Size /* pref_size */) |
1620 | 1630 |
1621 // Notifies that the scrollbars-visible state of the content changed. | 1631 // Notifies that the scrollbars-visible state of the content changed. |
1622 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidChangeScrollOffsetPinningForMainFrame, | 1632 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidChangeScrollOffsetPinningForMainFrame, |
1623 bool /* has_horizontal_scrollbar */, | 1633 bool /* has_horizontal_scrollbar */, |
1624 bool /* has_vertical_scrollbar */) | 1634 bool /* has_vertical_scrollbar */) |
1625 | 1635 |
1626 // Notifies that the pinned-to-side state of the content changed. | 1636 // Notifies that the pinned-to-side state of the content changed. |
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1990 // have a javascript send a native value (string, number, boolean) to the | 2000 // have a javascript send a native value (string, number, boolean) to the |
1991 // listener in Cpp. (DomAutomationController) | 2001 // listener in Cpp. (DomAutomationController) |
1992 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse, | 2002 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse, |
1993 std::string /* json_string */, | 2003 std::string /* json_string */, |
1994 int /* automation_id */) | 2004 int /* automation_id */) |
1995 | 2005 |
1996 // Enable or disable inverting of web content pixels, for users who prefer | 2006 // Enable or disable inverting of web content pixels, for users who prefer |
1997 // white-on-black. | 2007 // white-on-black. |
1998 IPC_MESSAGE_ROUTED1(ViewMsg_InvertWebContent, | 2008 IPC_MESSAGE_ROUTED1(ViewMsg_InvertWebContent, |
1999 bool /* invert */) | 2009 bool /* invert */) |
OLD | NEW |