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 1570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1581 gfx::RectF /* active_rect */) | 1581 gfx::RectF /* active_rect */) |
1582 | 1582 |
1583 // Start an android intent with the given URI. | 1583 // Start an android intent with the given URI. |
1584 IPC_MESSAGE_ROUTED1(ViewHostMsg_StartContentIntent, | 1584 IPC_MESSAGE_ROUTED1(ViewHostMsg_StartContentIntent, |
1585 GURL /* content_url */) | 1585 GURL /* content_url */) |
1586 | 1586 |
1587 // Message sent when the renderer changed the background color for the view. | 1587 // Message sent when the renderer changed the background color for the view. |
1588 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidChangeBodyBackgroundColor, | 1588 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidChangeBodyBackgroundColor, |
1589 uint32 /* bg_color */) | 1589 uint32 /* bg_color */) |
1590 | 1590 |
| 1591 // Message sent when the overscrolled on main thread. |
| 1592 IPC_MESSAGE_ROUTED4(ViewHostMsg_DidOverScrollOnMainThread, |
| 1593 gfx::Vector2dF, |
| 1594 gfx::Vector2dF, |
| 1595 gfx::Vector2dF, |
| 1596 gfx::PointF) |
| 1597 |
1591 // This message runs the MediaCodec for decoding audio for webaudio. | 1598 // This message runs the MediaCodec for decoding audio for webaudio. |
1592 IPC_MESSAGE_CONTROL3(ViewHostMsg_RunWebAudioMediaCodec, | 1599 IPC_MESSAGE_CONTROL3(ViewHostMsg_RunWebAudioMediaCodec, |
1593 base::SharedMemoryHandle /* encoded_data_handle */, | 1600 base::SharedMemoryHandle /* encoded_data_handle */, |
1594 base::FileDescriptor /* pcm_output */, | 1601 base::FileDescriptor /* pcm_output */, |
1595 uint32_t /* data_size*/) | 1602 uint32_t /* data_size*/) |
1596 | 1603 |
1597 // Reply to the ViewMsg_ExtractSmartClipData message. | 1604 // Reply to the ViewMsg_ExtractSmartClipData message. |
1598 IPC_MESSAGE_ROUTED3(ViewHostMsg_SmartClipDataExtracted, | 1605 IPC_MESSAGE_ROUTED3(ViewHostMsg_SmartClipDataExtracted, |
1599 base::string16 /* text */, | 1606 base::string16 /* text */, |
1600 base::string16 /* html */, | 1607 base::string16 /* html */, |
(...skipping 29 matching lines...) Expand all Loading... |
1630 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 1637 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
1631 // for details. | 1638 // for details. |
1632 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 1639 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
1633 LOGFONT /* font_data */, | 1640 LOGFONT /* font_data */, |
1634 base::string16 /* characters */) | 1641 base::string16 /* characters */) |
1635 #endif | 1642 #endif |
1636 | 1643 |
1637 // Adding a new message? Stick to the sort order above: first platform | 1644 // Adding a new message? Stick to the sort order above: first platform |
1638 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1645 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1639 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1646 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |