| Index: ui/display/test/display_matchers.h
|
| diff --git a/ui/display/test/display_matchers.h b/ui/display/test/display_matchers.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..42aefa16281eb47779625759f5e5a98406ab5b29
|
| --- /dev/null
|
| +++ b/ui/display/test/display_matchers.h
|
| @@ -0,0 +1,19 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef UI_DISPLAY_TEST_DISPLAY_MATCHERS_H_
|
| +#define UI_DISPLAY_TEST_DISPLAY_MATCHERS_H_
|
| +
|
| +#include "testing/gmock/include/gmock/gmock.h"
|
| +#include "ui/display/types/display_mode.h"
|
| +
|
| +namespace display {
|
| +
|
| +// Matcher for DisplayMode size and refresh rate.
|
| +testing::Matcher<const ui::DisplayMode&>
|
| +IsDisplayMode(int width, int height, float refresh_rate = 60.0f);
|
| +
|
| +} // namespace display
|
| +
|
| +#endif // UI_DISPLAY_TEST_DISPLAY_MATCHERS_H_
|
|
|