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

Side by Side Diff: ash/display/resolution_notification_controller_unittest.cc

Issue 2725903003: chromeos: Move //ash/common/strings to //ash/strings (Closed)
Patch Set: rebase Created 3 years, 9 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 | « ash/display/resolution_notification_controller.cc ('k') | ash/mus/BUILD.gn » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "ash/display/resolution_notification_controller.h" 5 #include "ash/display/resolution_notification_controller.h"
6 6
7 #include "ash/common/strings/grit/ash_strings.h"
8 #include "ash/screen_util.h" 7 #include "ash/screen_util.h"
9 #include "ash/shell.h" 8 #include "ash/shell.h"
9 #include "ash/strings/grit/ash_strings.h"
10 #include "ash/test/ash_test_base.h" 10 #include "ash/test/ash_test_base.h"
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/strings/utf_string_conversions.h" 12 #include "base/strings/utf_string_conversions.h"
13 #include "ui/base/l10n/l10n_util.h" 13 #include "ui/base/l10n/l10n_util.h"
14 #include "ui/display/manager/display_manager.h" 14 #include "ui/display/manager/display_manager.h"
15 #include "ui/gfx/geometry/size.h" 15 #include "ui/gfx/geometry/size.h"
16 #include "ui/message_center/message_center.h" 16 #include "ui/message_center/message_center.h"
17 #include "ui/message_center/notification.h" 17 #include "ui/message_center/notification.h"
18 #include "ui/message_center/notification_list.h" 18 #include "ui/message_center/notification_list.h"
19 19
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 EXPECT_FALSE(IsNotificationVisible()); 379 EXPECT_FALSE(IsNotificationVisible());
380 EXPECT_EQ(0, accept_count()); 380 EXPECT_EQ(0, accept_count());
381 381
382 mode = display_manager()->GetSelectedModeForDisplayId(id2); 382 mode = display_manager()->GetSelectedModeForDisplayId(id2);
383 EXPECT_TRUE(!!mode); 383 EXPECT_TRUE(!!mode);
384 EXPECT_EQ("250x250", mode->size().ToString()); 384 EXPECT_EQ("250x250", mode->size().ToString());
385 EXPECT_EQ(58.0f, mode->refresh_rate()); 385 EXPECT_EQ(58.0f, mode->refresh_rate());
386 } 386 }
387 387
388 } // namespace ash 388 } // namespace ash
OLDNEW
« no previous file with comments | « ash/display/resolution_notification_controller.cc ('k') | ash/mus/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698