| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |