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 1972 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1983 // ViewMsg_EnumerateDirectoryResponse message. | 1983 // ViewMsg_EnumerateDirectoryResponse message. |
1984 IPC_MESSAGE_ROUTED2(ViewHostMsg_EnumerateDirectory, | 1984 IPC_MESSAGE_ROUTED2(ViewHostMsg_EnumerateDirectory, |
1985 int /* request_id */, | 1985 int /* request_id */, |
1986 FilePath /* file_path */) | 1986 FilePath /* file_path */) |
1987 | 1987 |
1988 // Tells the browser to move the focus to the next (previous if reverse is | 1988 // Tells the browser to move the focus to the next (previous if reverse is |
1989 // true) focusable element. | 1989 // true) focusable element. |
1990 IPC_MESSAGE_ROUTED1(ViewHostMsg_TakeFocus, | 1990 IPC_MESSAGE_ROUTED1(ViewHostMsg_TakeFocus, |
1991 bool /* reverse */) | 1991 bool /* reverse */) |
1992 | 1992 |
1993 // Required for opening a date/time dialog | |
1994 IPC_MESSAGE_ROUTED2(ViewHostMsg_OpenDateTimeDialog, | |
1995 int /* dialog type */, | |
jam
2013/01/14 21:10:55
nit: here and below, the convention is to put the
Miguel Garcia
2013/01/17 12:17:40
Done.
| |
1996 std::string /* initial value */) | |
palmer
2013/01/14 23:53:35
I'd rather send plain old data (e.g. an int of sec
Miguel Garcia
2013/01/17 12:17:40
As agreed, I'll do this in a separate patch.
On 2
| |
1997 | |
1993 // Required for updating text input state. | 1998 // Required for updating text input state. |
1994 IPC_MESSAGE_ROUTED1(ViewHostMsg_TextInputStateChanged, | 1999 IPC_MESSAGE_ROUTED1(ViewHostMsg_TextInputStateChanged, |
1995 ViewHostMsg_TextInputState_Params /* input state params */) | 2000 ViewHostMsg_TextInputState_Params /* input state params */) |
1996 | 2001 |
1997 // Message sent when the IME text composition range changes. | 2002 // Message sent when the IME text composition range changes. |
1998 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2003 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
1999 ui::Range /* composition range */, | 2004 ui::Range /* composition range */, |
2000 std::vector<gfx::Rect> /* character bounds */) | 2005 std::vector<gfx::Rect> /* character bounds */) |
2001 | 2006 |
2002 // Required for cancelling an ongoing input method composition. | 2007 // Required for cancelling an ongoing input method composition. |
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2375 int /* arb_robustness_status_code */) | 2380 int /* arb_robustness_status_code */) |
2376 | 2381 |
2377 #if defined(OS_WIN) | 2382 #if defined(OS_WIN) |
2378 // Request that the given font characters be loaded by the browser so it's | 2383 // Request that the given font characters be loaded by the browser so it's |
2379 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 2384 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
2380 // for details. | 2385 // for details. |
2381 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 2386 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
2382 LOGFONT /* font_data */, | 2387 LOGFONT /* font_data */, |
2383 string16 /* characters */) | 2388 string16 /* characters */) |
2384 #endif | 2389 #endif |
OLD | NEW |