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

Side by Side Diff: ash/system/chromeos/brightness/tray_brightness_unittest.cc

Issue 2056823002: mash: Move SystemTrayDelegate and dependencies to //ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 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/system/chromeos/brightness/tray_brightness.h" 5 #include "ash/system/chromeos/brightness/tray_brightness.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "ash/common/system/tray/system_tray_delegate.h"
9 #include "ash/shell.h" 10 #include "ash/shell.h"
10 #include "ash/system/tray/system_tray_delegate.h"
11 #include "ash/system/tray/system_tray_item.h" 11 #include "ash/system/tray/system_tray_item.h"
12 #include "ash/test/ash_test_base.h" 12 #include "ash/test/ash_test_base.h"
13 #include "ash/test/status_area_widget_test_helper.h" 13 #include "ash/test/status_area_widget_test_helper.h"
14 #include "ash/wm/maximize_mode/maximize_mode_controller.h" 14 #include "ash/wm/maximize_mode/maximize_mode_controller.h"
15 #include "ui/views/view.h" 15 #include "ui/views/view.h"
16 16
17 namespace ash { 17 namespace ash {
18 18
19 class TrayBrightnessTest : public test::AshTestBase { 19 class TrayBrightnessTest : public test::AshTestBase {
20 public: 20 public:
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 Shell::GetInstance()->maximize_mode_controller()-> 94 Shell::GetInstance()->maximize_mode_controller()->
95 EnableMaximizeModeWindowManager(true); 95 EnableMaximizeModeWindowManager(true);
96 EXPECT_TRUE(tray->visible()); 96 EXPECT_TRUE(tray->visible());
97 Shell::GetInstance()->maximize_mode_controller()-> 97 Shell::GetInstance()->maximize_mode_controller()->
98 EnableMaximizeModeWindowManager(false); 98 EnableMaximizeModeWindowManager(false);
99 EXPECT_TRUE(tray->visible()); 99 EXPECT_TRUE(tray->visible());
100 } 100 }
101 101
102 } // namespace ash 102 } // namespace ash
103 103
OLDNEW
« no previous file with comments | « ash/system/chromeos/brightness/tray_brightness.cc ('k') | ash/system/chromeos/enterprise/tray_enterprise.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698