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 "base/string16.h" | 10 #include "base/string16.h" |
(...skipping 1960 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1971 // text in the document. | 1971 // text in the document. |
1972 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged, | 1972 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged, |
1973 string16 /* text covers the selection range */, | 1973 string16 /* text covers the selection range */, |
1974 size_t /* the offset of the text in the document */, | 1974 size_t /* the offset of the text in the document */, |
1975 ui::Range /* selection range in the document */) | 1975 ui::Range /* selection range in the document */) |
1976 | 1976 |
1977 // Notification that the selection bounds have changed. | 1977 // Notification that the selection bounds have changed. |
1978 IPC_MESSAGE_ROUTED1(ViewHostMsg_SelectionBoundsChanged, | 1978 IPC_MESSAGE_ROUTED1(ViewHostMsg_SelectionBoundsChanged, |
1979 ViewHostMsg_SelectionBounds_Params) | 1979 ViewHostMsg_SelectionBounds_Params) |
1980 | 1980 |
| 1981 // Notification that visibility of touch editing handles has changed. |
| 1982 IPC_MESSAGE_ROUTED1(ViewHostMsg_TouchEditingHandlesVisibilityChanged, |
| 1983 bool /* visible */) |
| 1984 |
1981 // Asks the browser to open the color chooser. | 1985 // Asks the browser to open the color chooser. |
1982 IPC_MESSAGE_ROUTED2(ViewHostMsg_OpenColorChooser, | 1986 IPC_MESSAGE_ROUTED2(ViewHostMsg_OpenColorChooser, |
1983 int /* id */, | 1987 int /* id */, |
1984 SkColor /* color */) | 1988 SkColor /* color */) |
1985 | 1989 |
1986 // Asks the browser to end the color chooser. | 1990 // Asks the browser to end the color chooser. |
1987 IPC_MESSAGE_ROUTED1(ViewHostMsg_EndColorChooser, int /* id */) | 1991 IPC_MESSAGE_ROUTED1(ViewHostMsg_EndColorChooser, int /* id */) |
1988 | 1992 |
1989 // Change the selected color in the color chooser. | 1993 // Change the selected color in the color chooser. |
1990 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetSelectedColorInColorChooser, | 1994 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetSelectedColorInColorChooser, |
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2414 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 2418 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
2415 // for details. | 2419 // for details. |
2416 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 2420 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
2417 LOGFONT /* font_data */, | 2421 LOGFONT /* font_data */, |
2418 string16 /* characters */) | 2422 string16 /* characters */) |
2419 #endif | 2423 #endif |
2420 | 2424 |
2421 // Adding a new message? Stick to the sort order above: first platform | 2425 // Adding a new message? Stick to the sort order above: first platform |
2422 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2426 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
2423 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2427 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |