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

Side by Side Diff: ui/ozone/platform/dri/gpu/gpu_messages.h

Issue 479713002: [Ozone-GBM] Adding NativeWindowDelegate to IPC window changes to the GPU (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 // Multiply-included message file, hence no include guard here, but see below
6 // for a much smaller-than-usual include guard section.
7
8 #include "ipc/ipc_message_macros.h"
9 #include "ui/gfx/geometry/rect.h"
10 #include "ui/gfx/ipc/gfx_param_traits.h"
11 #include "ui/gfx/native_widget_types.h"
12 #include "ui/ozone/ozone_export.h"
13
14 #undef IPC_MESSAGE_EXPORT
15 #define IPC_MESSAGE_EXPORT OZONE_EXPORT
16
17 #define IPC_MESSAGE_START OzoneGpuMsgStart
dnicoara 2014/08/16 00:34:00 spang@ pointed out that I can't do this in here si
18
19 //------------------------------------------------------------------------------
20 // GPU Messages
21 // These are messages from the browser to the GPU process.
22
23 // Explicit creation of a NativeWindowDelegate. We explicitly create the window
24 // delegate such that any state change in the window is not lost while the
25 // surface is created on the GPU side.
26 IPC_MESSAGE_CONTROL1(DriGpuMsg_CreateNativeWindowDelegate,
27 gfx::AcceleratedWidget /* widget */)
28
29 IPC_MESSAGE_CONTROL1(DriGpuMsg_DestoryNativeWindowDelegate,
30 gfx::AcceleratedWidget /* widget */)
31
32 // Updates the location and size of the widget on the screen.
33 IPC_MESSAGE_CONTROL2(DriGpuMsg_NativeWindowBoundsChanged,
34 gfx::AcceleratedWidget /* widget */,
35 gfx::Rect /* bounds */)
OLDNEW
« no previous file with comments | « ui/ozone/platform/dri/gpu/gpu_message_generator.cc ('k') | ui/ozone/platform/dri/gpu_platform_support_gbm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698