| 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 1024 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1035 // this immediately after a ViewHostMsg_Find_Reply message arrives with | 1035 // this immediately after a ViewHostMsg_Find_Reply message arrives with |
| 1036 // final_update set to true). | 1036 // final_update set to true). |
| 1037 IPC_MESSAGE_ROUTED1(ViewMsg_FindMatchRects, | 1037 IPC_MESSAGE_ROUTED1(ViewMsg_FindMatchRects, |
| 1038 int /* current_version */) | 1038 int /* current_version */) |
| 1039 | 1039 |
| 1040 // External popup menus. | 1040 // External popup menus. |
| 1041 IPC_MESSAGE_ROUTED2(ViewMsg_SelectPopupMenuItems, | 1041 IPC_MESSAGE_ROUTED2(ViewMsg_SelectPopupMenuItems, |
| 1042 bool /* user canceled the popup */, | 1042 bool /* user canceled the popup */, |
| 1043 std::vector<int> /* selected indices */) | 1043 std::vector<int> /* selected indices */) |
| 1044 | 1044 |
| 1045 // Tells the renderer to try to revert to the zoom level we were at before | |
| 1046 // ViewMsg_ScrollFocusedEditableNodeIntoView was called. | |
| 1047 IPC_MESSAGE_ROUTED0(ViewMsg_UndoScrollFocusedEditableNodeIntoView) | |
| 1048 | |
| 1049 // Notifies the renderer whether hiding/showing the top controls is enabled | 1045 // Notifies the renderer whether hiding/showing the top controls is enabled |
| 1050 // and whether or not to animate to the proper state. | 1046 // and whether or not to animate to the proper state. |
| 1051 IPC_MESSAGE_ROUTED3(ViewMsg_UpdateTopControlsState, | 1047 IPC_MESSAGE_ROUTED3(ViewMsg_UpdateTopControlsState, |
| 1052 bool /* enable_hiding */, | 1048 bool /* enable_hiding */, |
| 1053 bool /* enable_showing */, | 1049 bool /* enable_showing */, |
| 1054 bool /* animate */) | 1050 bool /* animate */) |
| 1055 | 1051 |
| 1056 IPC_MESSAGE_ROUTED0(ViewMsg_ShowImeIfNeeded) | 1052 IPC_MESSAGE_ROUTED0(ViewMsg_ShowImeIfNeeded) |
| 1057 | 1053 |
| 1058 // Sent by the browser when the renderer should generate a new frame. | 1054 // Sent by the browser when the renderer should generate a new frame. |
| (...skipping 916 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1975 // synchronously (see crbug.com/120597). This IPC message sends the character | 1971 // synchronously (see crbug.com/120597). This IPC message sends the character |
| 1976 // bounds after every composition change to always have correct bound info. | 1972 // bounds after every composition change to always have correct bound info. |
| 1977 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 1973 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
| 1978 gfx::Range /* composition range */, | 1974 gfx::Range /* composition range */, |
| 1979 std::vector<gfx::Rect> /* character bounds */) | 1975 std::vector<gfx::Rect> /* character bounds */) |
| 1980 #endif | 1976 #endif |
| 1981 | 1977 |
| 1982 // Adding a new message? Stick to the sort order above: first platform | 1978 // Adding a new message? Stick to the sort order above: first platform |
| 1983 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1979 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 1984 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1980 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |