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

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

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/display/test/display_matchers.h ('k') | ui/display/test/test_screen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/test/display_matchers.cc
diff --git a/ui/display/test/display_matchers.cc b/ui/display/test/display_matchers.cc
index 9668986491481050a49f0c22567f2095840998c1..1092292a00c1119b1ada90358d587e98dfa37519 100644
--- a/ui/display/test/display_matchers.cc
+++ b/ui/display/test/display_matchers.cc
@@ -12,12 +12,12 @@ const float kEpsilon = 0.0001f;
// Matcher to check DisplayMode size and refresh rate.
class DisplayModeMatcher
- : public testing::MatcherInterface<const ui::DisplayMode&> {
+ : public testing::MatcherInterface<const DisplayMode&> {
public:
DisplayModeMatcher(int width, int height, float refresh_rate)
: size_(width, height), refresh_rate_(refresh_rate) {}
- bool MatchAndExplain(const ui::DisplayMode& mode,
+ bool MatchAndExplain(const DisplayMode& mode,
testing::MatchResultListener* listener) const override {
return mode.size() == size_ &&
std::fabs(mode.refresh_rate() - refresh_rate_) < kEpsilon;
@@ -38,9 +38,9 @@ class DisplayModeMatcher
} // namespace
-testing::Matcher<const ui::DisplayMode&> IsDisplayMode(int width,
- int height,
- float refresh_rate) {
+testing::Matcher<const DisplayMode&> IsDisplayMode(int width,
+ int height,
+ float refresh_rate) {
return testing::MakeMatcher(
new DisplayModeMatcher(width, height, refresh_rate));
}
« no previous file with comments | « ui/display/test/display_matchers.h ('k') | ui/display/test/test_screen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698