Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(436)

Side by Side Diff: ui/ozone/common/gpu/ozone_gpu_messages.h

Issue 1128113011: ozone: Introduce ClientPixmap and ClientPixmapFactory for non-GPU processes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed nits Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "base/file_descriptor_posix.h" 10 #include "base/file_descriptor_posix.h"
(...skipping 13 matching lines...) Expand all
24 24
25 #define IPC_MESSAGE_START OzoneGpuMsgStart 25 #define IPC_MESSAGE_START OzoneGpuMsgStart
26 26
27 IPC_ENUM_TRAITS_MAX_VALUE(ui::DisplayConnectionType, 27 IPC_ENUM_TRAITS_MAX_VALUE(ui::DisplayConnectionType,
28 ui::DISPLAY_CONNECTION_TYPE_LAST) 28 ui::DISPLAY_CONNECTION_TYPE_LAST)
29 29
30 IPC_ENUM_TRAITS_MAX_VALUE(ui::HDCPState, ui::HDCP_STATE_LAST) 30 IPC_ENUM_TRAITS_MAX_VALUE(ui::HDCPState, ui::HDCP_STATE_LAST)
31 31
32 IPC_ENUM_TRAITS_MAX_VALUE(gfx::OverlayTransform, gfx::OVERLAY_TRANSFORM_LAST) 32 IPC_ENUM_TRAITS_MAX_VALUE(gfx::OverlayTransform, gfx::OVERLAY_TRANSFORM_LAST)
33 33
34 IPC_ENUM_TRAITS_MAX_VALUE(ui::SurfaceFactoryOzone::BufferFormat, 34 IPC_ENUM_TRAITS_MAX_VALUE(ui::NativePixmapFormat, ui::NATIVE_PIXMAP_FORMAT_LAST)
35 ui::SurfaceFactoryOzone::BUFFER_FORMAT_LAST)
36 35
37 // clang-format off 36 // clang-format off
38 IPC_STRUCT_TRAITS_BEGIN(ui::DisplayMode_Params) 37 IPC_STRUCT_TRAITS_BEGIN(ui::DisplayMode_Params)
39 IPC_STRUCT_TRAITS_MEMBER(size) 38 IPC_STRUCT_TRAITS_MEMBER(size)
40 IPC_STRUCT_TRAITS_MEMBER(is_interlaced) 39 IPC_STRUCT_TRAITS_MEMBER(is_interlaced)
41 IPC_STRUCT_TRAITS_MEMBER(refresh_rate) 40 IPC_STRUCT_TRAITS_MEMBER(refresh_rate)
42 IPC_STRUCT_TRAITS_END() 41 IPC_STRUCT_TRAITS_END()
43 42
44 IPC_STRUCT_TRAITS_BEGIN(ui::DisplaySnapshot_Params) 43 IPC_STRUCT_TRAITS_BEGIN(ui::DisplaySnapshot_Params)
45 IPC_STRUCT_TRAITS_MEMBER(display_id) 44 IPC_STRUCT_TRAITS_MEMBER(display_id)
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 IPC_MESSAGE_CONTROL1(OzoneHostMsg_DisplayControlTaken, bool /* success */) 170 IPC_MESSAGE_CONTROL1(OzoneHostMsg_DisplayControlTaken, bool /* success */)
172 171
173 // Response to OzoneGpuMsg_RelinquishDisplayControl. 172 // Response to OzoneGpuMsg_RelinquishDisplayControl.
174 IPC_MESSAGE_CONTROL1(OzoneHostMsg_DisplayControlRelinquished, 173 IPC_MESSAGE_CONTROL1(OzoneHostMsg_DisplayControlRelinquished,
175 bool /* success */) 174 bool /* success */)
176 175
177 // Response for OzoneGpuMsg_CheckOverlayCapabilities 176 // Response for OzoneGpuMsg_CheckOverlayCapabilities
178 IPC_MESSAGE_CONTROL2(OzoneHostMsg_OverlayCapabilitiesReceived, 177 IPC_MESSAGE_CONTROL2(OzoneHostMsg_OverlayCapabilitiesReceived,
179 gfx::AcceleratedWidget /* widget */, 178 gfx::AcceleratedWidget /* widget */,
180 bool /* result */) 179 bool /* result */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698