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

Unified Diff: ash/shelf/shelf_layout_manager.cc

Issue 2906803002: Rename MaximizeMode to TabletMode (Closed)
Patch Set: updated filter Created 3 years, 7 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
Index: ash/shelf/shelf_layout_manager.cc
diff --git a/ash/shelf/shelf_layout_manager.cc b/ash/shelf/shelf_layout_manager.cc
index a5d6bc3e71164386691f891d82c285758bdd06f6..261b28f5d008919f4c732c09ff4ef3c859e76abd 100644
--- a/ash/shelf/shelf_layout_manager.cc
+++ b/ash/shelf/shelf_layout_manager.cc
@@ -530,9 +530,9 @@ void ShelfLayoutManager::SetState(ShelfVisibilityState visibility_state) {
// Do not animate the background when:
// - Going from a hidden / auto hidden shelf in fullscreen to a visible shelf
- // in maximized mode.
- // - Going from an auto hidden shelf in maximized mode to a visible shelf in
- // maximized mode.
+ // in tablet mode.
+ // - Going from an auto hidden shelf in tablet mode to a visible shelf in
+ // tablet mode.
if (state.visibility_state == SHELF_VISIBLE &&
state.window_state == wm::WORKSPACE_WINDOW_STATE_MAXIMIZED &&
old_state.visibility_state != SHELF_VISIBLE) {

Powered by Google App Engine
This is Rietveld 408576698