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

Unified Diff: ui/display/test/display_matchers.h

Issue 2395873002: Add more options to --screen-config flag. (Closed)
Patch Set: Fix windows compile 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/display/fake_display_snapshot_unittests.cc ('k') | ui/display/test/display_matchers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « ui/display/fake_display_snapshot_unittests.cc ('k') | ui/display/test/display_matchers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698