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

Side by Side Diff: ash/wm/window_state_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/wm/window_state_aura.cc ('k') | ash/wm/window_util.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/wm/window_state.h" 5 #include "ash/wm/window_state.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "ash/test/ash_test_base.h" 9 #include "ash/test/ash_test_base.h"
10 #include "ash/wm/window_state.h" 10 #include "ash/wm/window_state.h"
11 #include "ash/wm/window_state_aura.h"
12 #include "ash/wm/window_state_util.h" 11 #include "ash/wm/window_state_util.h"
13 #include "ash/wm/window_util.h" 12 #include "ash/wm/window_util.h"
14 #include "ash/wm/wm_event.h" 13 #include "ash/wm/wm_event.h"
15 #include "services/ui/public/interfaces/window_manager_constants.mojom.h" 14 #include "services/ui/public/interfaces/window_manager_constants.mojom.h"
16 #include "ui/aura/client/aura_constants.h" 15 #include "ui/aura/client/aura_constants.h"
17 #include "ui/aura/test/test_window_delegate.h" 16 #include "ui/aura/test/test_window_delegate.h"
18 #include "ui/aura/window.h" 17 #include "ui/aura/window.h"
19 #include "ui/display/screen.h" 18 #include "ui/display/screen.h"
20 19
21 namespace ash { 20 namespace ash {
(...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 // return to the state before minimizing and fullscreen. 454 // return to the state before minimizing and fullscreen.
456 ash::wm::ToggleFullScreen(window_state, nullptr); 455 ash::wm::ToggleFullScreen(window_state, nullptr);
457 ASSERT_TRUE(window_state->IsMaximized()); 456 ASSERT_TRUE(window_state->IsMaximized());
458 } 457 }
459 458
460 // TODO(skuhne): Add more unit test to verify the correctness for the restore 459 // TODO(skuhne): Add more unit test to verify the correctness for the restore
461 // operation. 460 // operation.
462 461
463 } // namespace wm 462 } // namespace wm
464 } // namespace ash 463 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/window_state_aura.cc ('k') | ash/wm/window_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698