| 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 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 IPC_STRUCT_BEGIN(ViewHostMsg_DateTimeDialogValue_Params) | 319 IPC_STRUCT_BEGIN(ViewHostMsg_DateTimeDialogValue_Params) |
| 320 IPC_STRUCT_MEMBER(ui::TextInputType, dialog_type) | 320 IPC_STRUCT_MEMBER(ui::TextInputType, dialog_type) |
| 321 IPC_STRUCT_MEMBER(double, dialog_value) | 321 IPC_STRUCT_MEMBER(double, dialog_value) |
| 322 IPC_STRUCT_MEMBER(double, minimum) | 322 IPC_STRUCT_MEMBER(double, minimum) |
| 323 IPC_STRUCT_MEMBER(double, maximum) | 323 IPC_STRUCT_MEMBER(double, maximum) |
| 324 IPC_STRUCT_MEMBER(double, step) | 324 IPC_STRUCT_MEMBER(double, step) |
| 325 IPC_STRUCT_MEMBER(std::vector<content::DateTimeSuggestion>, suggestions) | 325 IPC_STRUCT_MEMBER(std::vector<content::DateTimeSuggestion>, suggestions) |
| 326 IPC_STRUCT_END() | 326 IPC_STRUCT_END() |
| 327 | 327 |
| 328 IPC_STRUCT_BEGIN(ViewHostMsg_SelectionBounds_Params) | 328 IPC_STRUCT_BEGIN(ViewHostMsg_SelectionBounds_Params) |
| 329 IPC_STRUCT_MEMBER(gfx::Rect, anchor_rect) | 329 IPC_STRUCT_MEMBER(gfx::RectF, anchor_rect) |
| 330 IPC_STRUCT_MEMBER(blink::WebTextDirection, anchor_dir) | 330 IPC_STRUCT_MEMBER(blink::WebTextDirection, anchor_dir) |
| 331 IPC_STRUCT_MEMBER(gfx::Rect, focus_rect) | 331 IPC_STRUCT_MEMBER(gfx::RectF, focus_rect) |
| 332 IPC_STRUCT_MEMBER(blink::WebTextDirection, focus_dir) | 332 IPC_STRUCT_MEMBER(blink::WebTextDirection, focus_dir) |
| 333 IPC_STRUCT_MEMBER(bool, is_anchor_first) | 333 IPC_STRUCT_MEMBER(bool, is_anchor_first) |
| 334 IPC_STRUCT_MEMBER(bool, is_anchor_visible) |
| 335 IPC_STRUCT_MEMBER(bool, is_focus_visible) |
| 334 IPC_STRUCT_END() | 336 IPC_STRUCT_END() |
| 335 | 337 |
| 336 // This message is used for supporting popup menus on Mac OS X using native | 338 // This message is used for supporting popup menus on Mac OS X using native |
| 337 // Cocoa controls. The renderer sends us this message which we use to populate | 339 // Cocoa controls. The renderer sends us this message which we use to populate |
| 338 // the popup menu. | 340 // the popup menu. |
| 339 IPC_STRUCT_BEGIN(ViewHostMsg_ShowPopup_Params) | 341 IPC_STRUCT_BEGIN(ViewHostMsg_ShowPopup_Params) |
| 340 // Position on the screen. | 342 // Position on the screen. |
| 341 IPC_STRUCT_MEMBER(gfx::Rect, bounds) | 343 IPC_STRUCT_MEMBER(gfx::Rect, bounds) |
| 342 | 344 |
| 343 // The height of each item in the menu. | 345 // The height of each item in the menu. |
| (...skipping 1379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1723 // synchronously (see crbug.com/120597). This IPC message sends the character | 1725 // synchronously (see crbug.com/120597). This IPC message sends the character |
| 1724 // bounds after every composition change to always have correct bound info. | 1726 // bounds after every composition change to always have correct bound info. |
| 1725 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1727 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
| 1726 gfx::Range /* composition range */, | 1728 gfx::Range /* composition range */, |
| 1727 std::vector<gfx::Rect> /* character bounds */) | 1729 std::vector<gfx::Rect> /* character bounds */) |
| 1728 #endif | 1730 #endif |
| 1729 | 1731 |
| 1730 // Adding a new message? Stick to the sort order above: first platform | 1732 // Adding a new message? Stick to the sort order above: first platform |
| 1731 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1733 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1732 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1734 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |