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

Side by Side Diff: ash/system/screen_layout_observer_unittest.cc

Issue 2736573002: chromeos: Move files in //ash/common to //ash, part 2 (Closed)
Patch Set: 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
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/system/screen_layout_observer.h" 5 #include "ash/system/screen_layout_observer.h"
6 6
7 #include "ash/common/test/test_system_tray_delegate.h"
8 #include "ash/shell.h" 7 #include "ash/shell.h"
9 #include "ash/strings/grit/ash_strings.h" 8 #include "ash/strings/grit/ash_strings.h"
10 #include "ash/system/devicetype_utils.h" 9 #include "ash/system/devicetype_utils.h"
11 #include "ash/system/tray/system_tray.h" 10 #include "ash/system/tray/system_tray.h"
12 #include "ash/test/ash_test_base.h" 11 #include "ash/test/ash_test_base.h"
12 #include "ash/test/test_system_tray_delegate.h"
13 #include "base/strings/string16.h" 13 #include "base/strings/string16.h"
14 #include "base/strings/string_util.h" 14 #include "base/strings/string_util.h"
15 #include "base/strings/utf_string_conversions.h" 15 #include "base/strings/utf_string_conversions.h"
16 #include "ui/accessibility/ax_node_data.h" 16 #include "ui/accessibility/ax_node_data.h"
17 #include "ui/base/l10n/l10n_util.h" 17 #include "ui/base/l10n/l10n_util.h"
18 #include "ui/display/display.h" 18 #include "ui/display/display.h"
19 #include "ui/display/display_layout_builder.h" 19 #include "ui/display/display_layout_builder.h"
20 #include "ui/display/manager/display_manager.h" 20 #include "ui/display/manager/display_manager.h"
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"
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 display_manager()->SetLayoutForCurrentDisplays(builder.Build()); 434 display_manager()->SetLayoutForCurrentDisplays(builder.Build());
435 EXPECT_TRUE(GetDisplayNotificationText().empty()); 435 EXPECT_TRUE(GetDisplayNotificationText().empty());
436 436
437 // Close the lid. We go to docked mode, but we show no notifications. 437 // Close the lid. We go to docked mode, but we show no notifications.
438 UpdateDisplay("400x400"); 438 UpdateDisplay("400x400");
439 EXPECT_TRUE(GetDisplayNotificationText().empty()); 439 EXPECT_TRUE(GetDisplayNotificationText().empty());
440 EXPECT_TRUE(GetDisplayNotificationAdditionalText().empty()); 440 EXPECT_TRUE(GetDisplayNotificationAdditionalText().empty());
441 } 441 }
442 442
443 } // namespace ash 443 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/screen_layout_observer.cc ('k') | ash/system/screen_security/screen_capture_tray_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698