// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "pdf/page_orientation.h" #include <type_traits> namespace chrome_pdf { namespace { // Adds two PageOrientation values together. This works because the underlying // integer values have been chosen to allow modular arithmetic. PageOrientation AddOrientations(PageOrientation first, PageOrientation second) { … } } // namespace PageOrientation RotateClockwise(PageOrientation orientation) { … } PageOrientation RotateCounterclockwise(PageOrientation orientation) { … } } // namespace chrome_pdf