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

Unified Diff: ash/accelerators/accelerator_controller_unittest.cc

Issue 11421006: Desktop aura: Break aura::Window::SetParent in two. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix ash_unittests Created 8 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ash/accelerators/accelerator_filter_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/accelerators/accelerator_controller_unittest.cc
diff --git a/ash/accelerators/accelerator_controller_unittest.cc b/ash/accelerators/accelerator_controller_unittest.cc
index b6f925427237e4f1aaadff15e24931454721fa6f..78a2db10a81d7aef7c636ff3a9e8a490bcc9862a 100644
--- a/ash/accelerators/accelerator_controller_unittest.cc
+++ b/ash/accelerators/accelerator_controller_unittest.cc
@@ -427,7 +427,7 @@ TEST_F(AcceleratorControllerTest, IsRegistered) {
TEST_F(AcceleratorControllerTest, WindowSnap) {
scoped_ptr<aura::Window> window(
- aura::test::CreateTestWindowWithBounds(gfx::Rect(5, 5, 20, 20), NULL));
+ CreateTestWindowInShellWithBounds(gfx::Rect(5, 5, 20, 20)));
const ui::Accelerator dummy;
wm::ActivateWindow(window.get());
@@ -521,7 +521,7 @@ TEST_F(AcceleratorControllerTest, ControllerContext) {
TEST_F(AcceleratorControllerTest, SuppressToggleMaximized) {
scoped_ptr<aura::Window> window(
- aura::test::CreateTestWindowWithBounds(gfx::Rect(5, 5, 20, 20), NULL));
+ CreateTestWindowInShellWithBounds(gfx::Rect(5, 5, 20, 20)));
wm::ActivateWindow(window.get());
const ui::Accelerator accelerator(ui::VKEY_A, ui::EF_NONE);
const ui::Accelerator empty_accelerator;
@@ -1206,7 +1206,7 @@ TEST_F(AcceleratorControllerTest, DisallowedAtModalWindow) {
<< " not found in kAcceleratorData. action: " << *it;
}
scoped_ptr<aura::Window> window(
- aura::test::CreateTestWindowWithBounds(gfx::Rect(5, 5, 20, 20), NULL));
+ CreateTestWindowInShellWithBounds(gfx::Rect(5, 5, 20, 20)));
const ui::Accelerator dummy;
wm::ActivateWindow(window.get());
Shell::GetInstance()->SimulateModalWindowOpenForTesting(true);
« no previous file with comments | « no previous file | ash/accelerators/accelerator_filter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698