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

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

Issue 1161853007: ozone: Remove "Delegate" from window management IPCs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase again Created 5 years, 6 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
« no previous file with comments | « no previous file | ui/ozone/platform/drm/gpu/drm_gpu_platform_support.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 IPC_MESSAGE_CONTROL4(OzoneGpuMsg_CursorSet, 82 IPC_MESSAGE_CONTROL4(OzoneGpuMsg_CursorSet,
83 gfx::AcceleratedWidget, 83 gfx::AcceleratedWidget,
84 std::vector<SkBitmap>, 84 std::vector<SkBitmap>,
85 gfx::Point /* location */, 85 gfx::Point /* location */,
86 int /* frame_delay_ms */) 86 int /* frame_delay_ms */)
87 87
88 // Move the HW cursor to the specified location. 88 // Move the HW cursor to the specified location.
89 IPC_MESSAGE_CONTROL2(OzoneGpuMsg_CursorMove, 89 IPC_MESSAGE_CONTROL2(OzoneGpuMsg_CursorMove,
90 gfx::AcceleratedWidget, gfx::Point) 90 gfx::AcceleratedWidget, gfx::Point)
91 91
92 // Explicit creation of a WindowDelegate. We explicitly create the window 92 // Explicit creation of a window. We explicitly create the window such
93 // delegate such that any state change in the window is not lost while the 93 // that any state change in the window is not lost while the surface is
94 // surface is created on the GPU side. 94 // created on the GPU side.
95 IPC_MESSAGE_CONTROL1(OzoneGpuMsg_CreateWindowDelegate, 95 IPC_MESSAGE_CONTROL1(OzoneGpuMsg_CreateWindow,
96 gfx::AcceleratedWidget /* widget */) 96 gfx::AcceleratedWidget /* widget */)
97 97
98 IPC_MESSAGE_CONTROL1(OzoneGpuMsg_DestroyWindowDelegate, 98 IPC_MESSAGE_CONTROL1(OzoneGpuMsg_DestroyWindow,
99 gfx::AcceleratedWidget /* widget */) 99 gfx::AcceleratedWidget /* widget */)
100 100
101 // Updates the location and size of the widget on the screen. 101 // Updates the location and size of the widget on the screen.
102 IPC_MESSAGE_CONTROL2(OzoneGpuMsg_WindowBoundsChanged, 102 IPC_MESSAGE_CONTROL2(OzoneGpuMsg_WindowBoundsChanged,
103 gfx::AcceleratedWidget /* widget */, 103 gfx::AcceleratedWidget /* widget */,
104 gfx::Rect /* bounds */) 104 gfx::Rect /* bounds */)
105 105
106 // Trigger a display reconfiguration. OzoneHostMsg_UpdateNativeDisplays will be 106 // Trigger a display reconfiguration. OzoneHostMsg_UpdateNativeDisplays will be
107 // sent as a response. 107 // sent as a response.
108 IPC_MESSAGE_CONTROL0(OzoneGpuMsg_RefreshNativeDisplays) 108 IPC_MESSAGE_CONTROL0(OzoneGpuMsg_RefreshNativeDisplays)
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 IPC_MESSAGE_CONTROL1(OzoneHostMsg_DisplayControlTaken, bool /* success */) 171 IPC_MESSAGE_CONTROL1(OzoneHostMsg_DisplayControlTaken, bool /* success */)
172 172
173 // Response to OzoneGpuMsg_RelinquishDisplayControl. 173 // Response to OzoneGpuMsg_RelinquishDisplayControl.
174 IPC_MESSAGE_CONTROL1(OzoneHostMsg_DisplayControlRelinquished, 174 IPC_MESSAGE_CONTROL1(OzoneHostMsg_DisplayControlRelinquished,
175 bool /* success */) 175 bool /* success */)
176 176
177 // Response for OzoneGpuMsg_CheckOverlayCapabilities 177 // Response for OzoneGpuMsg_CheckOverlayCapabilities
178 IPC_MESSAGE_CONTROL2(OzoneHostMsg_OverlayCapabilitiesReceived, 178 IPC_MESSAGE_CONTROL2(OzoneHostMsg_OverlayCapabilitiesReceived,
179 gfx::AcceleratedWidget /* widget */, 179 gfx::AcceleratedWidget /* widget */,
180 bool /* result */) 180 bool /* result */)
OLDNEW
« no previous file with comments | « no previous file | ui/ozone/platform/drm/gpu/drm_gpu_platform_support.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698