Chromium Code Reviews| 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 1944 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1955 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged, | 1955 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged, |
| 1956 string16 /* text covers the selection range */, | 1956 string16 /* text covers the selection range */, |
| 1957 size_t /* the offset of the text in the document */, | 1957 size_t /* the offset of the text in the document */, |
| 1958 ui::Range /* selection range in the document */) | 1958 ui::Range /* selection range in the document */) |
| 1959 | 1959 |
| 1960 // Notification that the selection bounds have changed. | 1960 // Notification that the selection bounds have changed. |
| 1961 IPC_MESSAGE_ROUTED1(ViewHostMsg_SelectionBoundsChanged, | 1961 IPC_MESSAGE_ROUTED1(ViewHostMsg_SelectionBoundsChanged, |
| 1962 ViewHostMsg_SelectionBounds_Params) | 1962 ViewHostMsg_SelectionBounds_Params) |
| 1963 | 1963 |
| 1964 // Asks the browser to open the color chooser. | 1964 // Asks the browser to open the color chooser. |
| 1965 IPC_MESSAGE_ROUTED2(ViewHostMsg_OpenColorChooser, | 1965 IPC_MESSAGE_ROUTED4(ViewHostMsg_OpenColorChooser, |
| 1966 int /* id */, | 1966 int /* id */, |
| 1967 SkColor /* color */) | 1967 SkColor /* color */, |
| 1968 std::vector<SkColor> /* suggestions */, | |
| 1969 std::vector<string16> /* suggestion_labels */) | |
|
Miguel Garcia
2013/08/19 14:43:27
there might have some security issues with sending
keishi
2013/08/26 05:28:54
Done.
| |
| 1968 | 1970 |
| 1969 // Asks the browser to end the color chooser. | 1971 // Asks the browser to end the color chooser. |
| 1970 IPC_MESSAGE_ROUTED1(ViewHostMsg_EndColorChooser, int /* id */) | 1972 IPC_MESSAGE_ROUTED1(ViewHostMsg_EndColorChooser, int /* id */) |
| 1971 | 1973 |
| 1972 // Change the selected color in the color chooser. | 1974 // Change the selected color in the color chooser. |
| 1973 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetSelectedColorInColorChooser, | 1975 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetSelectedColorInColorChooser, |
| 1974 int /* id */, | 1976 int /* id */, |
| 1975 SkColor /* color */) | 1977 SkColor /* color */) |
| 1976 | 1978 |
| 1977 // Asks the browser to display the file chooser. The result is returned in a | 1979 // Asks the browser to display the file chooser. The result is returned in a |
| (...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2368 // synchronously (see crbug.com/120597). This IPC message sends the character | 2370 // synchronously (see crbug.com/120597). This IPC message sends the character |
| 2369 // bounds after every composition change to always have correct bound info. | 2371 // bounds after every composition change to always have correct bound info. |
| 2370 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2372 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
| 2371 ui::Range /* composition range */, | 2373 ui::Range /* composition range */, |
| 2372 std::vector<gfx::Rect> /* character bounds */) | 2374 std::vector<gfx::Rect> /* character bounds */) |
| 2373 #endif | 2375 #endif |
| 2374 | 2376 |
| 2375 // Adding a new message? Stick to the sort order above: first platform | 2377 // Adding a new message? Stick to the sort order above: first platform |
| 2376 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2378 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 2377 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2379 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |