Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: ui/display/test/display_matchers.h

Issue 2395873002: Add more options to --screen-config flag. (Closed)
Patch Set: Move matcher + add epsilon. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698