diff options
Diffstat (limited to 'chromium/content/common/device_sensors')
5 files changed, 0 insertions, 78 deletions
diff --git a/chromium/content/common/device_sensors/OWNERS b/chromium/content/common/device_sensors/OWNERS deleted file mode 100644 index 0a33f44f91a..00000000000 --- a/chromium/content/common/device_sensors/OWNERS +++ /dev/null @@ -1 +0,0 @@ -per-file *_hardware_buffer*.h=timvolodine@chromium.org diff --git a/chromium/content/common/device_sensors/device_light_data.h b/chromium/content/common/device_sensors/device_light_data.h deleted file mode 100644 index 08140566826..00000000000 --- a/chromium/content/common/device_sensors/device_light_data.h +++ /dev/null @@ -1,23 +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. - -#ifndef CONTENT_COMMON_DEVICE_SENSORS_DEVICE_LIGHT_DATA_H_ -#define CONTENT_COMMON_DEVICE_SENSORS_DEVICE_LIGHT_DATA_H_ - -#include "content/common/content_export.h" - -namespace content { - -// This struct is intentionally POD and fixed size so that it can be stored -// in shared memory between the browser and the renderer processes. -// POD class should be a struct, should have an inline cstor that uses -// initializer lists and no dstor. -struct DeviceLightData { - DeviceLightData() : value(-1) {} - double value; -}; - -} // namespace content - -#endif // CONTENT_COMMON_DEVICE_SENSORS_DEVICE_LIGHT_DATA_H_ diff --git a/chromium/content/common/device_sensors/device_light_hardware_buffer.h b/chromium/content/common/device_sensors/device_light_hardware_buffer.h deleted file mode 100644 index 1664af0cdb5..00000000000 --- a/chromium/content/common/device_sensors/device_light_hardware_buffer.h +++ /dev/null @@ -1,18 +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. - -#ifndef CONTENT_COMMON_DEVICE_SENSORS_DEVICE_LIGHT_HARDWARE_BUFFER_H_ -#define CONTENT_COMMON_DEVICE_SENSORS_DEVICE_LIGHT_HARDWARE_BUFFER_H_ - -#include "content/common/device_sensors/device_light_data.h" -#include "device/base/synchronization/shared_memory_seqlock_buffer.h" - -namespace content { - -typedef device::SharedMemorySeqLockBuffer<DeviceLightData> - DeviceLightHardwareBuffer; - -} // namespace content - -#endif // CONTENT_COMMON_DEVICE_SENSORS_DEVICE_LIGHT_HARDWARE_BUFFER_H_ diff --git a/chromium/content/common/device_sensors/device_motion_hardware_buffer.h b/chromium/content/common/device_sensors/device_motion_hardware_buffer.h deleted file mode 100644 index ea49290ba86..00000000000 --- a/chromium/content/common/device_sensors/device_motion_hardware_buffer.h +++ /dev/null @@ -1,18 +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. - -#ifndef CONTENT_COMMON_DEVICE_SENSORS_DEVICE_MOTION_HARDWARE_BUFFER_H_ -#define CONTENT_COMMON_DEVICE_SENSORS_DEVICE_MOTION_HARDWARE_BUFFER_H_ - -#include "device/base/synchronization/shared_memory_seqlock_buffer.h" -#include "third_party/WebKit/public/platform/modules/device_orientation/WebDeviceMotionData.h" - -namespace content { - -typedef device::SharedMemorySeqLockBuffer<blink::WebDeviceMotionData> - DeviceMotionHardwareBuffer; - -} // namespace content - -#endif // CONTENT_COMMON_DEVICE_SENSORS_DEVICE_MOTION_HARDWARE_BUFFER_H_ diff --git a/chromium/content/common/device_sensors/device_orientation_hardware_buffer.h b/chromium/content/common/device_sensors/device_orientation_hardware_buffer.h deleted file mode 100644 index 66c6fdc4411..00000000000 --- a/chromium/content/common/device_sensors/device_orientation_hardware_buffer.h +++ /dev/null @@ -1,18 +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. - -#ifndef CONTENT_COMMON_DEVICE_SENSORS_DEVICE_ORIENTATION_HARDWARE_BUFFER_H_ -#define CONTENT_COMMON_DEVICE_SENSORS_DEVICE_ORIENTATION_HARDWARE_BUFFER_H_ - -#include "device/base/synchronization/shared_memory_seqlock_buffer.h" -#include "third_party/WebKit/public/platform/modules/device_orientation/WebDeviceOrientationData.h" - -namespace content { - -typedef device::SharedMemorySeqLockBuffer<blink::WebDeviceOrientationData> - DeviceOrientationHardwareBuffer; - -} // namespace content - -#endif // CONTENT_COMMON_DEVICE_SENSORS_DEVICE_ORIENTATION_HARDWARE_BUFFER_H_ |