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

Side by Side Diff: ash/accelerators/accelerator_commands_unittest.cc

Issue 2889413002: chromeos: nukes window_state_aura (Closed)
Patch Set: merge, remove include from windows and shuffle functions for declaration Created 3 years, 7 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/BUILD.gn ('k') | ash/accelerators/accelerator_controller_delegate_aura.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 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/accelerators/accelerator_commands.h" 5 #include "ash/accelerators/accelerator_commands.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "ash/accelerators/accelerator_commands_aura.h" 9 #include "ash/accelerators/accelerator_commands_aura.h"
10 #include "ash/test/ash_test_base.h" 10 #include "ash/test/ash_test_base.h"
11 #include "ash/wm/window_state.h" 11 #include "ash/wm/window_state.h"
12 #include "ash/wm/window_state_aura.h"
13 #include "ash/wm/window_util.h" 12 #include "ash/wm/window_util.h"
14 #include "ui/aura/window.h" 13 #include "ui/aura/window.h"
15 14
16 // Note: The unit tests for |ToggleMaximized()| and 15 // Note: The unit tests for |ToggleMaximized()| and
17 // |ToggleFullscreen()| are in 16 // |ToggleFullscreen()| are in
18 // chrome/browser/ui/ash/accelerator_commands_browsertests.cc. 17 // chrome/browser/ui/ash/accelerator_commands_browsertests.cc.
19 // because they depends on chrome implementation of 18 // because they depends on chrome implementation of
20 // |ash::wm::WindowStateDelegate|. 19 // |ash::wm::WindowStateDelegate|.
21 20
22 namespace ash { 21 namespace ash {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 59
61 wm::PinWindow(window1.get(), /* trusted */ false); 60 wm::PinWindow(window1.get(), /* trusted */ false);
62 EXPECT_TRUE(window_state1->IsPinned()); 61 EXPECT_TRUE(window_state1->IsPinned());
63 62
64 Unpin(); 63 Unpin();
65 EXPECT_FALSE(window_state1->IsPinned()); 64 EXPECT_FALSE(window_state1->IsPinned());
66 } 65 }
67 66
68 } // namespace accelerators 67 } // namespace accelerators
69 } // namespace ash 68 } // namespace ash
OLDNEW
« no previous file with comments | « ash/BUILD.gn ('k') | ash/accelerators/accelerator_controller_delegate_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698