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

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

Issue 2613493002: Fix namespace for src/ui/display/. (Closed)
Patch Set: Rebase. Created 3 years, 11 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
« no previous file with comments | « ui/display/test/display_manager_test_api.cc ('k') | ui/display/test/display_matchers.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_DISPLAY_TEST_DISPLAY_MATCHERS_H_ 5 #ifndef UI_DISPLAY_TEST_DISPLAY_MATCHERS_H_
6 #define UI_DISPLAY_TEST_DISPLAY_MATCHERS_H_ 6 #define UI_DISPLAY_TEST_DISPLAY_MATCHERS_H_
7 7
8 #include "testing/gmock/include/gmock/gmock.h" 8 #include "testing/gmock/include/gmock/gmock.h"
9 #include "ui/display/types/display_mode.h" 9 #include "ui/display/types/display_mode.h"
10 10
11 namespace display { 11 namespace display {
12 12
13 // Matcher for DisplayMode size and refresh rate. 13 // Matcher for DisplayMode size and refresh rate.
14 testing::Matcher<const ui::DisplayMode&> 14 testing::Matcher<const DisplayMode&> IsDisplayMode(int width,
15 IsDisplayMode(int width, int height, float refresh_rate = 60.0f); 15 int height,
16 float refresh_rate = 60.0f);
16 17
17 } // namespace display 18 } // namespace display
18 19
19 #endif // UI_DISPLAY_TEST_DISPLAY_MATCHERS_H_ 20 #endif // UI_DISPLAY_TEST_DISPLAY_MATCHERS_H_
OLDNEW
« no previous file with comments | « ui/display/test/display_manager_test_api.cc ('k') | ui/display/test/display_matchers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698