Index: content/common/device_orientation_hardware_buffer.h |
diff --git a/content/common/device_orientation_hardware_buffer.h b/content/common/device_orientation_hardware_buffer.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1d0880da63185537004457311d51520c20cf3488 |
--- /dev/null |
+++ b/content/common/device_orientation_hardware_buffer.h |
@@ -0,0 +1,18 @@ |
+// Copyright 2013 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_ORIENTATION_HARDWARE_BUFFER_H_ |
+#define CONTENT_COMMON_DEVICE_ORIENTATION_HARDWARE_BUFFER_H_ |
darin (slow to review)
2013/07/31 19:27:28
nit: should we have a content/common/device_orient
timvolodine
2013/08/01 15:31:36
yes, think this is a good idea, added content/comm
|
+ |
+#include "content/common/shared_memory_seqlock_buffer.h" |
+#include "third_party/WebKit/public/platform/WebDeviceOrientationData.h" |
+ |
+namespace content { |
+ |
+typedef SharedMemorySeqLockBuffer<WebKit::WebDeviceOrientationData> |
+ DeviceOrientationHardwareBuffer; |
+ |
+} // namespace content |
+ |
+#endif // CONTENT_COMMON_DEVICE_ORIENTATION_HARDWARE_BUFFER_H_ |