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 "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
433 IPC_STRUCT_MEMBER(int, selection_end) | 433 IPC_STRUCT_MEMBER(int, selection_end) |
434 | 434 |
435 // The start position of the current composition, or -1 if there is none | 435 // The start position of the current composition, or -1 if there is none |
436 IPC_STRUCT_MEMBER(int, composition_start) | 436 IPC_STRUCT_MEMBER(int, composition_start) |
437 | 437 |
438 // The end position of the current composition, or -1 if there is none | 438 // The end position of the current composition, or -1 if there is none |
439 IPC_STRUCT_MEMBER(int, composition_end) | 439 IPC_STRUCT_MEMBER(int, composition_end) |
440 | 440 |
441 // Whether or not inline composition can be performed for the current input. | 441 // Whether or not inline composition can be performed for the current input. |
442 IPC_STRUCT_MEMBER(bool, can_compose_inline) | 442 IPC_STRUCT_MEMBER(bool, can_compose_inline) |
| 443 |
| 444 // Whether or not the IME should be shown as a result of this update. Even if |
| 445 // true, the IME will only be shown if the type is appropriate (e.g. not |
| 446 // TEXT_INPUT_TYPE_NONE). |
| 447 IPC_STRUCT_MEMBER(bool, show_ime_if_needed) |
443 IPC_STRUCT_END() | 448 IPC_STRUCT_END() |
444 | 449 |
445 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWorker_Params) | 450 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWorker_Params) |
446 // URL for the worker script. | 451 // URL for the worker script. |
447 IPC_STRUCT_MEMBER(GURL, url) | 452 IPC_STRUCT_MEMBER(GURL, url) |
448 | 453 |
449 // Name for a SharedWorker, otherwise empty string. | 454 // Name for a SharedWorker, otherwise empty string. |
450 IPC_STRUCT_MEMBER(string16, name) | 455 IPC_STRUCT_MEMBER(string16, name) |
451 | 456 |
452 // The ID of the parent document (unique within parent renderer). | 457 // The ID of the parent document (unique within parent renderer). |
(...skipping 1912 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2365 // custom normalized fractions of the document size. The rects will be sorted by | 2370 // custom normalized fractions of the document size. The rects will be sorted by |
2366 // frame traversal order starting in the main frame, then by dom order. | 2371 // frame traversal order starting in the main frame, then by dom order. |
2367 // | 2372 // |
2368 // |active_rect| will contain the bounding box of the active find-in-page match | 2373 // |active_rect| will contain the bounding box of the active find-in-page match |
2369 // marker, in similarly normalized coords (or an empty rect if there isn't one). | 2374 // marker, in similarly normalized coords (or an empty rect if there isn't one). |
2370 IPC_MESSAGE_ROUTED3(ViewHostMsg_FindMatchRects_Reply, | 2375 IPC_MESSAGE_ROUTED3(ViewHostMsg_FindMatchRects_Reply, |
2371 int /* version */, | 2376 int /* version */, |
2372 std::vector<gfx::RectF> /* rects */, | 2377 std::vector<gfx::RectF> /* rects */, |
2373 gfx::RectF /* active_rect */) | 2378 gfx::RectF /* active_rect */) |
2374 #endif | 2379 #endif |
OLD | NEW |