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

Side by Side Diff: ui/aura_shell/shell_accelerator_controller_unittest.cc

Issue 8816008: Remove aura::RootWindow instance from LayerAnimator::observers_ when the window is deleted (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review fix Created 9 years 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 | Annotate | Revision Log
« no previous file with comments | « ui/aura/root_window.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/aura_shell/shell.h" 5 #include "ui/aura_shell/shell.h"
6 #include "ui/aura_shell/shell_accelerator_controller.h" 6 #include "ui/aura_shell/shell_accelerator_controller.h"
7 #include "ui/aura_shell/test/aura_shell_test_base.h" 7 #include "ui/aura_shell/test/aura_shell_test_base.h"
8 8
9 namespace aura_shell { 9 namespace aura_shell {
10 namespace test { 10 namespace test {
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 // ui::Accelerator(ui::VKEY_TAB, true, false, true))); 147 // ui::Accelerator(ui::VKEY_TAB, true, false, true)));
148 // CycleForwrard 148 // CycleForwrard
149 // EXPECT_TRUE(GetController()->Process( 149 // EXPECT_TRUE(GetController()->Process(
150 // ui::Accelerator(ui::VKEY_TAB, false, false, true))); 150 // ui::Accelerator(ui::VKEY_TAB, false, false, true)));
151 // TakeScreenshot 151 // TakeScreenshot
152 // EXPECT_TRUE(GetController()->Process( 152 // EXPECT_TRUE(GetController()->Process(
153 // ui::Accelerator(ui::VKEY_F5, false, true, false))); 153 // ui::Accelerator(ui::VKEY_F5, false, true, false)));
154 // EXPECT_TRUE(GetController()->Process( 154 // EXPECT_TRUE(GetController()->Process(
155 // ui::Accelerator(ui::VKEY_PRINT, false, false, false))); 155 // ui::Accelerator(ui::VKEY_PRINT, false, false, false)));
156 #if !defined(NDEBUG) 156 #if !defined(NDEBUG)
157 // TODO(mazda): Callig RotateScreen in unit test causes a crash because of
158 // "pure virtual method called" for some reasons. Need to investigate.
159 // RotateScreen 157 // RotateScreen
160 // EXPECT_TRUE(GetController()->Process( 158 EXPECT_TRUE(GetController()->Process(
161 // ui::Accelerator(ui::VKEY_HOME, false, true, false))); 159 ui::Accelerator(ui::VKEY_HOME, false, true, false)));
162 #if !defined(OS_LINUX) 160 #if !defined(OS_LINUX)
163 // ToggleDesktopFullScreen (not implemented yet on Linux) 161 // ToggleDesktopFullScreen (not implemented yet on Linux)
164 EXPECT_TRUE(GetController()->Process( 162 EXPECT_TRUE(GetController()->Process(
165 ui::Accelerator(ui::VKEY_F11, false, true, false))); 163 ui::Accelerator(ui::VKEY_F11, false, true, false)));
166 #endif 164 #endif
167 #endif 165 #endif
168 } 166 }
169 167
170 } // namespace test 168 } // namespace test
171 } // namespace aura_shell 169 } // namespace aura_shell
OLDNEW
« no previous file with comments | « ui/aura/root_window.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698