no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE
[gecko.git] / gfx / layers / ipc / ShadowLayerUtils.h
blobde07854b04b0b4d84af2b037ebe427dd5d7f2e79
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef IPC_ShadowLayerUtils_h
8 #define IPC_ShadowLayerUtils_h
10 #include "ipc/EnumSerializer.h"
11 #include "ipc/IPCMessageUtils.h"
12 #include "GLContextTypes.h"
13 #include "SurfaceDescriptor.h"
14 #include "SurfaceTypes.h"
15 #include "mozilla/WidgetUtils.h"
17 namespace IPC {
19 template <>
20 struct ParamTraits<mozilla::ScreenRotation>
21 : public ContiguousEnumSerializer<mozilla::ScreenRotation,
22 mozilla::ROTATION_0,
23 mozilla::ROTATION_COUNT> {};
25 } // namespace IPC
27 #endif // IPC_ShadowLayerUtils_h