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

Unified Diff: ash/wm/window_cycle_controller.cc

Issue 9630002: Ash: Remove compact window mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: OpaqueBrowserFrameView, MultipleWindowIndicatorButton Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/wm/compact_status_area_layout_manager.cc ('k') | ash/wm/window_cycle_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/window_cycle_controller.cc
diff --git a/ash/wm/window_cycle_controller.cc b/ash/wm/window_cycle_controller.cc
index 2a81b6f6ab78af34eb47673382b9987bb17d00e3..0df8bed23dd42506863ac26488c4ba45af874541 100644
--- a/ash/wm/window_cycle_controller.cc
+++ b/ash/wm/window_cycle_controller.cc
@@ -126,13 +126,9 @@ void WindowCycleController::AltKeyReleased() {
// WindowCycleController, private:
void WindowCycleController::StartCycling() {
- // Most-recently-used cycling is confusing in compact window mode because
- // you can't see all the windows.
windows_.reset(new WindowCycleList(
ash::Shell::GetInstance()->delegate()->GetCycleWindowList(
- ShellDelegate::SOURCE_KEYBOARD,
- Shell::GetInstance()->IsWindowModeCompact() ?
- ShellDelegate::ORDER_LINEAR : ShellDelegate::ORDER_MRU)));
+ ShellDelegate::SOURCE_KEYBOARD)));
}
void WindowCycleController::Step(Direction direction) {
« no previous file with comments | « ash/wm/compact_status_area_layout_manager.cc ('k') | ash/wm/window_cycle_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698