// Copyright 2011 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/zoom/page_zoom.h" #include <algorithm> #include "testing/gtest/include/gtest/gtest.h" #include "third_party/blink/public/common/page/page_zoom.h" namespace { bool ZoomValueExists(const std::vector<double>& zoom_values, double expected_zoom_value) { … } } // namespace TEST(PageTestZoom, PresetZoomFactors) { … } TEST(PageTestZoom, PresetZoomLevels) { … } TEST(PageTestZoom, InvalidCustomFactor) { … } TEST(PageTestZoom, InvalidCustomLevel) { … }