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

Unified Diff: ui/ozone/common/gpu/ozone_gpu_messages.h

Issue 348603004: ozone: Add GPU message for cursor updates (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: split update into set & move Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/ozone/common/gpu/ozone_gpu_message_generator.cc ('k') | ui/ozone/ozone.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/common/gpu/ozone_gpu_messages.h
diff --git a/ui/ozone/common/gpu/ozone_gpu_messages.h b/ui/ozone/common/gpu/ozone_gpu_messages.h
new file mode 100644
index 0000000000000000000000000000000000000000..e3ca8b3db3482929ca564718479255738a6ea007
--- /dev/null
+++ b/ui/ozone/common/gpu/ozone_gpu_messages.h
@@ -0,0 +1,31 @@
+// Copyright (c) 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Multiply-included message file, hence no include guard here, but see below
+// for a much smaller-than-usual include guard section.
+
+#include "ipc/ipc_message_macros.h"
+#include "third_party/skia/include/core/SkBitmap.h"
+#include "ui/gfx/geometry/point.h"
+#include "ui/gfx/ipc/gfx_param_traits.h"
+#include "ui/gfx/native_widget_types.h"
+#include "ui/ozone/ozone_export.h"
+
+#undef IPC_MESSAGE_EXPORT
+#define IPC_MESSAGE_EXPORT OZONE_EXPORT
+
+#define IPC_MESSAGE_START OzoneGpuMsgStart
+
+//------------------------------------------------------------------------------
+// GPU Messages
+// These are messages from the browser to the GPU process.
+
+// Update the HW cursor bitmap & move to specified location.
+IPC_MESSAGE_CONTROL3(OzoneGpuMsg_CursorSet,
+ gfx::AcceleratedWidget, SkBitmap, gfx::Point)
+
+// Move the HW cursor to the specified location.
+IPC_MESSAGE_CONTROL2(OzoneGpuMsg_CursorMove,
+ gfx::AcceleratedWidget, gfx::Point)
+
« no previous file with comments | « ui/ozone/common/gpu/ozone_gpu_message_generator.cc ('k') | ui/ozone/ozone.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698