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

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

Issue 2732813002: chromeos: Move files in //ash/common to //ash, part 1 (Closed)
Patch Set: rebase 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
« no previous file with comments | « ash/system/brightness/tray_brightness.cc ('k') | ash/system/brightness_control_delegate.h » ('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/brightness/tray_brightness.h" 5 #include "ash/system/brightness/tray_brightness.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "ash/common/material_design/material_design_controller.h" 9 #include "ash/common/material_design/material_design_controller.h"
10 #include "ash/common/system/tray/system_tray_delegate.h"
11 #include "ash/common/system/tray/system_tray_item.h"
12 #include "ash/common/test/ash_test.h" 10 #include "ash/common/test/ash_test.h"
13 #include "ash/common/wm/maximize_mode/maximize_mode_controller.h" 11 #include "ash/common/wm/maximize_mode/maximize_mode_controller.h"
14 #include "ash/common/wm_shell.h" 12 #include "ash/common/wm_shell.h"
13 #include "ash/system/tray/system_tray_delegate.h"
14 #include "ash/system/tray/system_tray_item.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 AshTest { 19 class TrayBrightnessTest : public AshTest {
20 public: 20 public:
21 TrayBrightnessTest() {} 21 TrayBrightnessTest() {}
22 ~TrayBrightnessTest() override {} 22 ~TrayBrightnessTest() override {}
23 23
24 protected: 24 protected:
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 std::unique_ptr<views::View> tray(CreateDetailedView()); 92 std::unique_ptr<views::View> tray(CreateDetailedView());
93 WmShell::Get()->maximize_mode_controller()->EnableMaximizeModeWindowManager( 93 WmShell::Get()->maximize_mode_controller()->EnableMaximizeModeWindowManager(
94 true); 94 true);
95 EXPECT_TRUE(tray->visible()); 95 EXPECT_TRUE(tray->visible());
96 WmShell::Get()->maximize_mode_controller()->EnableMaximizeModeWindowManager( 96 WmShell::Get()->maximize_mode_controller()->EnableMaximizeModeWindowManager(
97 false); 97 false);
98 EXPECT_TRUE(tray->visible()); 98 EXPECT_TRUE(tray->visible());
99 } 99 }
100 100
101 } // namespace ash 101 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/brightness/tray_brightness.cc ('k') | ash/system/brightness_control_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698