ShadowLayerUtils.h (892B)
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/. */ 6 7 #ifndef IPC_ShadowLayerUtils_h 8 #define IPC_ShadowLayerUtils_h 9 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" 16 17 namespace IPC { 18 19 template <> 20 struct ParamTraits<mozilla::ScreenRotation> 21 : public ContiguousEnumSerializer<mozilla::ScreenRotation, 22 mozilla::ROTATION_0, 23 mozilla::ROTATION_COUNT> {}; 24 25 } // namespace IPC 26 27 #endif // IPC_ShadowLayerUtils_h