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 1586 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1597 // text in the document. | 1597 // text in the document. |
1598 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged, | 1598 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged, |
1599 base::string16 /* text covers the selection range */, | 1599 base::string16 /* text covers the selection range */, |
1600 size_t /* the offset of the text in the document */, | 1600 size_t /* the offset of the text in the document */, |
1601 gfx::Range /* selection range in the document */) | 1601 gfx::Range /* selection range in the document */) |
1602 | 1602 |
1603 // Notification that the selection bounds have changed. | 1603 // Notification that the selection bounds have changed. |
1604 IPC_MESSAGE_ROUTED1(ViewHostMsg_SelectionBoundsChanged, | 1604 IPC_MESSAGE_ROUTED1(ViewHostMsg_SelectionBoundsChanged, |
1605 ViewHostMsg_SelectionBounds_Params) | 1605 ViewHostMsg_SelectionBounds_Params) |
1606 | 1606 |
| 1607 #if defined(OS_ANDROID) |
| 1608 // Notification that the selection root bounds have changed. |
| 1609 IPC_MESSAGE_ROUTED1(ViewHostMsg_SelectionRootBoundsChanged, |
| 1610 gfx::Rect /* bounds of the selection root */) |
| 1611 #endif |
| 1612 |
1607 // Asks the browser to open the color chooser. | 1613 // Asks the browser to open the color chooser. |
1608 IPC_MESSAGE_ROUTED3(ViewHostMsg_OpenColorChooser, | 1614 IPC_MESSAGE_ROUTED3(ViewHostMsg_OpenColorChooser, |
1609 int /* id */, | 1615 int /* id */, |
1610 SkColor /* color */, | 1616 SkColor /* color */, |
1611 std::vector<content::ColorSuggestion> /* suggestions */) | 1617 std::vector<content::ColorSuggestion> /* suggestions */) |
1612 | 1618 |
1613 // Asks the browser to end the color chooser. | 1619 // Asks the browser to end the color chooser. |
1614 IPC_MESSAGE_ROUTED1(ViewHostMsg_EndColorChooser, int /* id */) | 1620 IPC_MESSAGE_ROUTED1(ViewHostMsg_EndColorChooser, int /* id */) |
1615 | 1621 |
1616 // Change the selected color in the color chooser. | 1622 // Change the selected color in the color chooser. |
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1989 // synchronously (see crbug.com/120597). This IPC message sends the character | 1995 // synchronously (see crbug.com/120597). This IPC message sends the character |
1990 // bounds after every composition change to always have correct bound info. | 1996 // bounds after every composition change to always have correct bound info. |
1991 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1997 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
1992 gfx::Range /* composition range */, | 1998 gfx::Range /* composition range */, |
1993 std::vector<gfx::Rect> /* character bounds */) | 1999 std::vector<gfx::Rect> /* character bounds */) |
1994 #endif | 2000 #endif |
1995 | 2001 |
1996 // Adding a new message? Stick to the sort order above: first platform | 2002 // Adding a new message? Stick to the sort order above: first platform |
1997 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2003 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1998 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2004 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |