| 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 1611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1622 // text in the document. | 1622 // text in the document. |
| 1623 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged, | 1623 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged, |
| 1624 base::string16 /* text covers the selection range */, | 1624 base::string16 /* text covers the selection range */, |
| 1625 size_t /* the offset of the text in the document */, | 1625 size_t /* the offset of the text in the document */, |
| 1626 gfx::Range /* selection range in the document */) | 1626 gfx::Range /* selection range in the document */) |
| 1627 | 1627 |
| 1628 // Notification that the selection bounds have changed. | 1628 // Notification that the selection bounds have changed. |
| 1629 IPC_MESSAGE_ROUTED1(ViewHostMsg_SelectionBoundsChanged, | 1629 IPC_MESSAGE_ROUTED1(ViewHostMsg_SelectionBoundsChanged, |
| 1630 ViewHostMsg_SelectionBounds_Params) | 1630 ViewHostMsg_SelectionBounds_Params) |
| 1631 | 1631 |
| 1632 // Notification that the selection root bounds have changed. |
| 1633 IPC_MESSAGE_ROUTED1(ViewHostMsg_SelectionRootBoundsChanged, |
| 1634 gfx::Rect /* bounds of the selection root */) |
| 1635 |
| 1632 // Asks the browser to open the color chooser. | 1636 // Asks the browser to open the color chooser. |
| 1633 IPC_MESSAGE_ROUTED3(ViewHostMsg_OpenColorChooser, | 1637 IPC_MESSAGE_ROUTED3(ViewHostMsg_OpenColorChooser, |
| 1634 int /* id */, | 1638 int /* id */, |
| 1635 SkColor /* color */, | 1639 SkColor /* color */, |
| 1636 std::vector<content::ColorSuggestion> /* suggestions */) | 1640 std::vector<content::ColorSuggestion> /* suggestions */) |
| 1637 | 1641 |
| 1638 // Asks the browser to end the color chooser. | 1642 // Asks the browser to end the color chooser. |
| 1639 IPC_MESSAGE_ROUTED1(ViewHostMsg_EndColorChooser, int /* id */) | 1643 IPC_MESSAGE_ROUTED1(ViewHostMsg_EndColorChooser, int /* id */) |
| 1640 | 1644 |
| 1641 // Change the selected color in the color chooser. | 1645 // Change the selected color in the color chooser. |
| (...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2014 // synchronously (see crbug.com/120597). This IPC message sends the character | 2018 // synchronously (see crbug.com/120597). This IPC message sends the character |
| 2015 // bounds after every composition change to always have correct bound info. | 2019 // bounds after every composition change to always have correct bound info. |
| 2016 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2020 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
| 2017 gfx::Range /* composition range */, | 2021 gfx::Range /* composition range */, |
| 2018 std::vector<gfx::Rect> /* character bounds */) | 2022 std::vector<gfx::Rect> /* character bounds */) |
| 2019 #endif | 2023 #endif |
| 2020 | 2024 |
| 2021 // Adding a new message? Stick to the sort order above: first platform | 2025 // Adding a new message? Stick to the sort order above: first platform |
| 2022 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2026 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 2023 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2027 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |