Chromium Code Reviews| 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/system/chromeos/screen_layout_observer.h" | 5 #include "ash/system/chromeos/screen_layout_observer.h" |
| 6 | 6 |
| 7 #include "ash/common/system/chromeos/devicetype_utils.h" | 7 #include "ash/common/system/chromeos/devicetype_utils.h" |
| 8 #include "ash/common/system/tray/system_tray.h" | 8 #include "ash/common/system/tray/system_tray.h" |
| 9 #include "ash/common/test/test_system_tray_delegate.h" | 9 #include "ash/common/test/test_system_tray_delegate.h" |
| 10 #include "ash/display/display_manager.h" | |
| 11 #include "ash/shell.h" | 10 #include "ash/shell.h" |
| 12 #include "ash/test/ash_test_base.h" | 11 #include "ash/test/ash_test_base.h" |
| 13 #include "ash/test/display_manager_test_api.h" | |
| 14 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
| 15 #include "base/strings/string_util.h" | 13 #include "base/strings/string_util.h" |
| 16 #include "base/strings/utf_string_conversions.h" | 14 #include "base/strings/utf_string_conversions.h" |
| 17 #include "grit/ash_strings.h" | 15 #include "grit/ash_strings.h" |
| 18 #include "ui/accessibility/ax_view_state.h" | 16 #include "ui/accessibility/ax_view_state.h" |
| 19 #include "ui/base/l10n/l10n_util.h" | 17 #include "ui/base/l10n/l10n_util.h" |
| 20 #include "ui/display/display.h" | 18 #include "ui/display/display.h" |
| 19 #include "ui/display/manager/display_manager.h" | |
| 20 #include "ui/display/test/display_manager_test_api.h" | |
|
oshima
2016/10/24 19:29:16
ditto
rjkroege
2016/10/25 23:30:26
Done.
| |
| 21 #include "ui/message_center/message_center.h" | 21 #include "ui/message_center/message_center.h" |
| 22 #include "ui/message_center/notification.h" | 22 #include "ui/message_center/notification.h" |
| 23 #include "ui/message_center/notification_list.h" | 23 #include "ui/message_center/notification_list.h" |
| 24 #include "ui/views/controls/label.h" | 24 #include "ui/views/controls/label.h" |
| 25 | 25 |
| 26 namespace ash { | 26 namespace ash { |
| 27 | 27 |
| 28 class ScreenLayoutObserverTest : public test::AshTestBase { | 28 class ScreenLayoutObserverTest : public test::AshTestBase { |
| 29 public: | 29 public: |
| 30 ScreenLayoutObserverTest(); | 30 ScreenLayoutObserverTest(); |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 267 EXPECT_TRUE(GetDisplayNotificationAdditionalText().empty()); | 267 EXPECT_TRUE(GetDisplayNotificationAdditionalText().empty()); |
| 268 | 268 |
| 269 // Reset the overscan. | 269 // Reset the overscan. |
| 270 Shell::GetInstance()->display_manager()->SetOverscanInsets( | 270 Shell::GetInstance()->display_manager()->SetOverscanInsets( |
| 271 display_manager()->GetSecondaryDisplay().id(), gfx::Insets()); | 271 display_manager()->GetSecondaryDisplay().id(), gfx::Insets()); |
| 272 EXPECT_TRUE(GetDisplayNotificationText().empty()); | 272 EXPECT_TRUE(GetDisplayNotificationText().empty()); |
| 273 EXPECT_TRUE(GetDisplayNotificationAdditionalText().empty()); | 273 EXPECT_TRUE(GetDisplayNotificationAdditionalText().empty()); |
| 274 } | 274 } |
| 275 | 275 |
| 276 } // namespace ash | 276 } // namespace ash |
| OLD | NEW |