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

Unified Diff: content/common/device_sensors/device_orientation_messages.h

Issue 2037513002: Convert device_sensors to use mojo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@conversion--mime-registry
Patch Set: rebase Created 4 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
Index: content/common/device_sensors/device_orientation_messages.h
diff --git a/content/common/device_sensors/device_orientation_messages.h b/content/common/device_sensors/device_orientation_messages.h
deleted file mode 100644
index 7c7b475bdfb709b650860dc05ec0d33562f9bcc0..0000000000000000000000000000000000000000
--- a/content/common/device_sensors/device_orientation_messages.h
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright 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.
-
-// IPC messages for device orientation.
-// Multiply-included message file, hence no include guard.
-
-#include "base/memory/shared_memory.h"
-#include "ipc/ipc_message_macros.h"
-
-#define IPC_MESSAGE_START DeviceOrientationMsgStart
-
-// Asks the browser process to activate Device Orientation sensors if necessary.
-IPC_MESSAGE_CONTROL0(DeviceOrientationHostMsg_StartPolling)
-
-// The browser process asynchronously returns the shared memory handle that will
-// hold the data from the hardware sensors.
-// See device_orientation_hardware_buffer.h for a description of how
-// synchronization is handled.
-IPC_MESSAGE_CONTROL1(DeviceOrientationMsg_DidStartPolling,
- base::SharedMemoryHandle /* handle */)
-
-// Notifies the browser process that the renderer process is not using the
-// Device Orientation data anymore. The number of Starts should match the
-// number of Stops.
-IPC_MESSAGE_CONTROL0(DeviceOrientationHostMsg_StopPolling)
-
-// Same as above except the messages relate to Absolute Device Orientation,
-// where orientation is provided w.r.t. a predefined coordinate frame.
-IPC_MESSAGE_CONTROL0(DeviceOrientationAbsoluteHostMsg_StartPolling)
-IPC_MESSAGE_CONTROL1(DeviceOrientationAbsoluteMsg_DidStartPolling,
- base::SharedMemoryHandle /* handle */)
-IPC_MESSAGE_CONTROL0(DeviceOrientationAbsoluteHostMsg_StopPolling)

Powered by Google App Engine
This is Rietveld 408576698