OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 // Multiply-included message file, hence no include guard here, but see below | 5 // Multiply-included message file, hence no include guard here, but see below |
6 // for a much smaller-than-usual include guard section. | 6 // for a much smaller-than-usual include guard section. |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "ipc/ipc_message_macros.h" | 10 #include "ipc/ipc_message_macros.h" |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
92 | 92 |
93 IPC_MESSAGE_CONTROL1(OzoneGpuMsg_DisableNativeDisplay, | 93 IPC_MESSAGE_CONTROL1(OzoneGpuMsg_DisableNativeDisplay, |
94 int64_t) // display ID | 94 int64_t) // display ID |
95 | 95 |
96 // Take control of the display | 96 // Take control of the display |
97 IPC_MESSAGE_CONTROL0(OzoneGpuMsg_TakeDisplayControl) | 97 IPC_MESSAGE_CONTROL0(OzoneGpuMsg_TakeDisplayControl) |
98 | 98 |
99 // Let other entity control the display | 99 // Let other entity control the display |
100 IPC_MESSAGE_CONTROL0(OzoneGpuMsg_RelinquishDisplayControl) | 100 IPC_MESSAGE_CONTROL0(OzoneGpuMsg_RelinquishDisplayControl) |
101 | 101 |
102 // Tells the GPU process to relinquish the display to an external process. | |
103 // Creating a new surface will automatically re-acquire the display. | |
104 IPC_MESSAGE_CONTROL0(OzoneGpuMsg_RelinquishDisplay) | |
piman
2014/11/18 20:55:34
Where is the code that uses this new message?
GusFernandez
2014/11/19 18:50:13
This and OzoneHostMsg_ResourcesRelinquished below
piman
2014/11/19 20:33:52
I'm not a big fan of adding messages that have no
| |
105 | |
102 //------------------------------------------------------------------------------ | 106 //------------------------------------------------------------------------------ |
103 // Browser Messages | 107 // Browser Messages |
104 // These messages are from the GPU to the browser process. | 108 // These messages are from the GPU to the browser process. |
105 | 109 |
106 // Updates the list of active displays. | 110 // Updates the list of active displays. |
107 IPC_MESSAGE_CONTROL1(OzoneHostMsg_UpdateNativeDisplays, | 111 IPC_MESSAGE_CONTROL1(OzoneHostMsg_UpdateNativeDisplays, |
108 std::vector<ui::DisplaySnapshot_Params>) | 112 std::vector<ui::DisplaySnapshot_Params>) |
113 | |
114 // Response to OzoneGpuMsg_RelinquishDisplay | |
115 IPC_MESSAGE_CONTROL0(OzoneHostMsg_ResourcesRelinquished) | |
OLD | NEW |