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

Side by Side Diff: ash/system/chromeos/media_security/multi_profile_media_tray_item_unittest.cc

Issue 2148593004: mash: Move StatusTray and StatusAreaWidget to //ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@traydisplay
Patch Set: rebase Created 4 years, 5 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/shell/window_type_launcher.cc ('k') | ash/system/chromeos/rotation/tray_rotation_lock.cc » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/common/system/chromeos/media_security/multi_profile_media_tray_ite m.h" 5 #include "ash/common/system/chromeos/media_security/multi_profile_media_tray_ite m.h"
6 6
7 #include "ash/common/ash_view_ids.h" 7 #include "ash/common/ash_view_ids.h"
8 #include "ash/common/system/status_area_widget.h"
9 #include "ash/common/system/tray/system_tray.h"
8 #include "ash/common/system/tray/system_tray_bubble.h" 10 #include "ash/common/system/tray/system_tray_bubble.h"
9 #include "ash/common/system/tray/tray_item_view.h" 11 #include "ash/common/system/tray/tray_item_view.h"
10 #include "ash/system/status_area_widget.h"
11 #include "ash/system/tray/system_tray.h"
12 #include "ash/test/ash_test_base.h" 12 #include "ash/test/ash_test_base.h"
13 #include "ash/test/ash_test_helper.h" 13 #include "ash/test/ash_test_helper.h"
14 #include "ash/test/status_area_widget_test_helper.h" 14 #include "ash/test/status_area_widget_test_helper.h"
15 #include "ash/test/test_session_state_delegate.h" 15 #include "ash/test/test_session_state_delegate.h"
16 #include "ash/test/test_shell_delegate.h" 16 #include "ash/test/test_shell_delegate.h"
17 #include "ui/views/bubble/tray_bubble_view.h" 17 #include "ui/views/bubble/tray_bubble_view.h"
18 18
19 namespace ash { 19 namespace ash {
20 20
21 using MultiProfileMediaTrayItemTest = test::AshTestBase; 21 using MultiProfileMediaTrayItemTest = test::AshTestBase;
(...skipping 27 matching lines...) Expand all
49 shell_delegate->SetMediaCaptureState(MEDIA_CAPTURE_AUDIO_VIDEO); 49 shell_delegate->SetMediaCaptureState(MEDIA_CAPTURE_AUDIO_VIDEO);
50 EXPECT_TRUE(tray_view->visible()); 50 EXPECT_TRUE(tray_view->visible());
51 EXPECT_TRUE(in_user_view->visible()); 51 EXPECT_TRUE(in_user_view->visible());
52 52
53 shell_delegate->SetMediaCaptureState(MEDIA_CAPTURE_NONE); 53 shell_delegate->SetMediaCaptureState(MEDIA_CAPTURE_NONE);
54 EXPECT_FALSE(tray_view->visible()); 54 EXPECT_FALSE(tray_view->visible());
55 EXPECT_FALSE(in_user_view->visible()); 55 EXPECT_FALSE(in_user_view->visible());
56 } 56 }
57 57
58 } // namespace ash 58 } // namespace ash
OLDNEW
« no previous file with comments | « ash/shell/window_type_launcher.cc ('k') | ash/system/chromeos/rotation/tray_rotation_lock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698