OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef UI_DISPLAY_TEST_DISPLAY_MATCHERS_H_ |
| 6 #define UI_DISPLAY_TEST_DISPLAY_MATCHERS_H_ |
| 7 |
| 8 #include "testing/gmock/include/gmock/gmock.h" |
| 9 #include "ui/display/types/display_mode.h" |
| 10 |
| 11 namespace display { |
| 12 |
| 13 // Matcher for DisplayMode size and refresh rate. |
| 14 testing::Matcher<const ui::DisplayMode&> |
| 15 IsDisplayMode(int width, int height, float refresh_rate = 60.0f); |
| 16 |
| 17 } // namespace display |
| 18 |
| 19 #endif // UI_DISPLAY_TEST_DISPLAY_MATCHERS_H_ |
OLD | NEW |