| Index: trunk/src/ash/wm/window_cycle_controller.cc
|
| ===================================================================
|
| --- trunk/src/ash/wm/window_cycle_controller.cc (revision 194588)
|
| +++ trunk/src/ash/wm/window_cycle_controller.cc (working copy)
|
| @@ -6,8 +6,7 @@
|
|
|
| #include <algorithm>
|
|
|
| -#include "ash/session_state_delegate.h"
|
| -#include "ash/shell.h"
|
| +#include "ash/shell_delegate.h"
|
| #include "ash/shell_window_ids.h"
|
| #include "ash/wm/activation_controller.h"
|
| #include "ash/wm/window_cycle_list.h"
|
| @@ -122,7 +121,7 @@
|
| bool WindowCycleController::CanCycle() {
|
| // Don't allow window cycling if the screen is locked or a modal dialog is
|
| // open.
|
| - return !Shell::GetInstance()->session_state_delegate()->IsScreenLocked() &&
|
| + return !Shell::GetInstance()->IsScreenLocked() &&
|
| !Shell::GetInstance()->IsSystemModalWindowOpen();
|
| }
|
|
|
|
|