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

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

Issue 2430593002: mash: Use ash shell window container ids instead of ash::mojom::Container (Closed)
Patch Set: rebase Created 4 years, 2 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "ui/wm/core/accelerator_filter.h" 5 #include "ui/wm/core/accelerator_filter.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "ash/accelerators/accelerator_delegate.h" 9 #include "ash/accelerators/accelerator_delegate.h"
10 #include "ash/common/accelerators/accelerator_controller.h" 10 #include "ash/common/accelerators/accelerator_controller.h"
11 #include "ash/common/shell_window_ids.h"
12 #include "ash/common/test/test_session_state_delegate.h" 11 #include "ash/common/test/test_session_state_delegate.h"
13 #include "ash/common/wm/window_state.h" 12 #include "ash/common/wm/window_state.h"
14 #include "ash/common/wm_shell.h" 13 #include "ash/common/wm_shell.h"
14 #include "ash/public/cpp/shell_window_ids.h"
15 #include "ash/shell.h" 15 #include "ash/shell.h"
16 #include "ash/test/ash_test_base.h" 16 #include "ash/test/ash_test_base.h"
17 #include "ash/test/ash_test_helper.h" 17 #include "ash/test/ash_test_helper.h"
18 #include "ash/test/test_screenshot_delegate.h" 18 #include "ash/test/test_screenshot_delegate.h"
19 #include "ash/wm/window_state_aura.h" 19 #include "ash/wm/window_state_aura.h"
20 #include "ash/wm/window_util.h" 20 #include "ash/wm/window_util.h"
21 #include "testing/gtest/include/gtest/gtest.h" 21 #include "testing/gtest/include/gtest/gtest.h"
22 #include "ui/aura/client/aura_constants.h" 22 #include "ui/aura/client/aura_constants.h"
23 #include "ui/aura/test/aura_test_base.h" 23 #include "ui/aura/test/aura_test_base.h"
24 #include "ui/aura/test/test_windows.h" 24 #include "ui/aura/test/test_windows.h"
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 generator.PressKey(ui::VKEY_L, ui::EF_COMMAND_DOWN); 168 generator.PressKey(ui::VKEY_L, ui::EF_COMMAND_DOWN);
169 generator.ReleaseKey(ui::VKEY_L, ui::EF_COMMAND_DOWN); 169 generator.ReleaseKey(ui::VKEY_L, ui::EF_COMMAND_DOWN);
170 EXPECT_TRUE(session_state_delegate->IsScreenLocked()); 170 EXPECT_TRUE(session_state_delegate->IsScreenLocked());
171 UnblockUserSession(); 171 UnblockUserSession();
172 EXPECT_FALSE(session_state_delegate->IsScreenLocked()); 172 EXPECT_FALSE(session_state_delegate->IsScreenLocked());
173 } 173 }
174 #endif // defined(OS_CHROMEOS) 174 #endif // defined(OS_CHROMEOS)
175 175
176 } // namespace test 176 } // namespace test
177 } // namespace ash 177 } // namespace ash
OLDNEW
« no previous file with comments | « ash/accelerators/accelerator_controller_unittest.cc ('k') | ash/app_list/app_list_presenter_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698