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 1617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1628 GURL /* top_origin_url */, | 1628 GURL /* top_origin_url */, |
1629 content::ThreeDAPIType /* context_type */, | 1629 content::ThreeDAPIType /* context_type */, |
1630 int /* arb_robustness_status_code */) | 1630 int /* arb_robustness_status_code */) |
1631 | 1631 |
1632 // Notifies the browser that document has parsed the body. This is used by the | 1632 // Notifies the browser that document has parsed the body. This is used by the |
1633 // ResourceScheduler as an indication that bandwidth contention won't block | 1633 // ResourceScheduler as an indication that bandwidth contention won't block |
1634 // first paint. | 1634 // first paint. |
1635 IPC_MESSAGE_ROUTED0(ViewHostMsg_WillInsertBody) | 1635 IPC_MESSAGE_ROUTED0(ViewHostMsg_WillInsertBody) |
1636 | 1636 |
1637 // Notification that the urls for the favicon of a site has been determined. | 1637 // Notification that the urls for the favicon of a site has been determined. |
1638 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateFaviconURL, | 1638 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateFaviconURL, |
1639 int32 /* page_id */, | |
1640 std::vector<content::FaviconURL> /* candidates */) | 1639 std::vector<content::FaviconURL> /* candidates */) |
1641 | 1640 |
1642 // Sent once a paint happens after the first non empty layout. In other words | 1641 // Sent once a paint happens after the first non empty layout. In other words |
1643 // after the page has painted something. | 1642 // after the page has painted something. |
1644 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidFirstVisuallyNonEmptyPaint, | 1643 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidFirstVisuallyNonEmptyPaint) |
1645 int /* page_id */) | |
1646 | 1644 |
1647 // Sent by the renderer to the browser to start a vibration with the given | 1645 // Sent by the renderer to the browser to start a vibration with the given |
1648 // duration. | 1646 // duration. |
1649 IPC_MESSAGE_CONTROL1(ViewHostMsg_Vibrate, | 1647 IPC_MESSAGE_CONTROL1(ViewHostMsg_Vibrate, |
1650 int64 /* milliseconds */) | 1648 int64 /* milliseconds */) |
1651 | 1649 |
1652 // Sent by the renderer to the browser to cancel the currently running | 1650 // Sent by the renderer to the browser to cancel the currently running |
1653 // vibration, if there is one. | 1651 // vibration, if there is one. |
1654 IPC_MESSAGE_CONTROL0(ViewHostMsg_CancelVibration) | 1652 IPC_MESSAGE_CONTROL0(ViewHostMsg_CancelVibration) |
1655 | 1653 |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1779 // synchronously (see crbug.com/120597). This IPC message sends the character | 1777 // synchronously (see crbug.com/120597). This IPC message sends the character |
1780 // bounds after every composition change to always have correct bound info. | 1778 // bounds after every composition change to always have correct bound info. |
1781 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1779 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
1782 gfx::Range /* composition range */, | 1780 gfx::Range /* composition range */, |
1783 std::vector<gfx::Rect> /* character bounds */) | 1781 std::vector<gfx::Rect> /* character bounds */) |
1784 #endif | 1782 #endif |
1785 | 1783 |
1786 // Adding a new message? Stick to the sort order above: first platform | 1784 // Adding a new message? Stick to the sort order above: first platform |
1787 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1785 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1788 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1786 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |