// Copyright 2016 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "cc/base/spiral_iterator.h" #include "base/check_op.h" #include <algorithm> namespace cc { SpiralIterator::SpiralIterator() : … { … } SpiralIterator::SpiralIterator(const IndexRect& around_index_rect, const IndexRect& consider_index_rect, const IndexRect& ignore_index_rect) : … { … } operator bool() SpiralIterator& SpiralIterator::operator++() { … } bool SpiralIterator::needs_direction_switch() const { … } void SpiralIterator::switch_direction() { … } } // namespace cc