| 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 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 358 IPC_STRUCT_MEMBER(blink::WebTextDirection, anchor_dir) | 358 IPC_STRUCT_MEMBER(blink::WebTextDirection, anchor_dir) |
| 359 IPC_STRUCT_MEMBER(gfx::Rect, focus_rect) | 359 IPC_STRUCT_MEMBER(gfx::Rect, focus_rect) |
| 360 IPC_STRUCT_MEMBER(blink::WebTextDirection, focus_dir) | 360 IPC_STRUCT_MEMBER(blink::WebTextDirection, focus_dir) |
| 361 IPC_STRUCT_MEMBER(bool, is_anchor_first) | 361 IPC_STRUCT_MEMBER(bool, is_anchor_first) |
| 362 IPC_STRUCT_END() | 362 IPC_STRUCT_END() |
| 363 | 363 |
| 364 IPC_STRUCT_BEGIN(ViewHostMsg_TextInputState_Params) | 364 IPC_STRUCT_BEGIN(ViewHostMsg_TextInputState_Params) |
| 365 // The type of input field | 365 // The type of input field |
| 366 IPC_STRUCT_MEMBER(ui::TextInputType, type) | 366 IPC_STRUCT_MEMBER(ui::TextInputType, type) |
| 367 | 367 |
| 368 // The mode of the input field (verbatim, latin-name, etc.) |
| 369 IPC_STRUCT_MEMBER(int, mode) |
| 370 |
| 368 // The flags of the input field (autocorrect, autocomplete, etc.) | 371 // The flags of the input field (autocorrect, autocomplete, etc.) |
| 369 IPC_STRUCT_MEMBER(int, flags) | 372 IPC_STRUCT_MEMBER(int, flags) |
| 370 | 373 |
| 371 // The value of the input field | 374 // The value of the input field |
| 372 IPC_STRUCT_MEMBER(std::string, value) | 375 IPC_STRUCT_MEMBER(std::string, value) |
| 373 | 376 |
| 374 // The cursor position of the current selection start, or the caret position | 377 // The cursor position of the current selection start, or the caret position |
| 375 // if nothing is selected | 378 // if nothing is selected |
| 376 IPC_STRUCT_MEMBER(int, selection_start) | 379 IPC_STRUCT_MEMBER(int, selection_start) |
| 377 | 380 |
| (...skipping 1270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1648 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 1651 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
| 1649 // for details. | 1652 // for details. |
| 1650 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 1653 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
| 1651 LOGFONT /* font_data */, | 1654 LOGFONT /* font_data */, |
| 1652 base::string16 /* characters */) | 1655 base::string16 /* characters */) |
| 1653 #endif | 1656 #endif |
| 1654 | 1657 |
| 1655 // Adding a new message? Stick to the sort order above: first platform | 1658 // Adding a new message? Stick to the sort order above: first platform |
| 1656 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1659 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1657 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1660 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |