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 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
348 IPC_STRUCT_MEMBER(blink::WebTextDirection, anchor_dir) | 348 IPC_STRUCT_MEMBER(blink::WebTextDirection, anchor_dir) |
349 IPC_STRUCT_MEMBER(gfx::Rect, focus_rect) | 349 IPC_STRUCT_MEMBER(gfx::Rect, focus_rect) |
350 IPC_STRUCT_MEMBER(blink::WebTextDirection, focus_dir) | 350 IPC_STRUCT_MEMBER(blink::WebTextDirection, focus_dir) |
351 IPC_STRUCT_MEMBER(bool, is_anchor_first) | 351 IPC_STRUCT_MEMBER(bool, is_anchor_first) |
352 IPC_STRUCT_END() | 352 IPC_STRUCT_END() |
353 | 353 |
354 IPC_STRUCT_BEGIN(ViewHostMsg_TextInputState_Params) | 354 IPC_STRUCT_BEGIN(ViewHostMsg_TextInputState_Params) |
355 // The type of input field | 355 // The type of input field |
356 IPC_STRUCT_MEMBER(ui::TextInputType, type) | 356 IPC_STRUCT_MEMBER(ui::TextInputType, type) |
357 | 357 |
| 358 // The mode of the input field (verbatim, latin-name, etc.) |
| 359 IPC_STRUCT_MEMBER(int, mode) |
| 360 |
358 // The flags of the input field (autocorrect, autocomplete, etc.) | 361 // The flags of the input field (autocorrect, autocomplete, etc.) |
359 IPC_STRUCT_MEMBER(int, flags) | 362 IPC_STRUCT_MEMBER(int, flags) |
360 | 363 |
361 // The value of the input field | 364 // The value of the input field |
362 IPC_STRUCT_MEMBER(std::string, value) | 365 IPC_STRUCT_MEMBER(std::string, value) |
363 | 366 |
364 // The cursor position of the current selection start, or the caret position | 367 // The cursor position of the current selection start, or the caret position |
365 // if nothing is selected | 368 // if nothing is selected |
366 IPC_STRUCT_MEMBER(int, selection_start) | 369 IPC_STRUCT_MEMBER(int, selection_start) |
367 | 370 |
(...skipping 1268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1636 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 1639 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
1637 // for details. | 1640 // for details. |
1638 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 1641 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
1639 LOGFONT /* font_data */, | 1642 LOGFONT /* font_data */, |
1640 base::string16 /* characters */) | 1643 base::string16 /* characters */) |
1641 #endif | 1644 #endif |
1642 | 1645 |
1643 // Adding a new message? Stick to the sort order above: first platform | 1646 // Adding a new message? Stick to the sort order above: first platform |
1644 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1647 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1645 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1648 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |