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

Unified Diff: chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc

Issue 169643005: Adding a gray semi transparent backdrop behind the topmost window within the default container (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added unit tests Created 6 years, 10 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: chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
index d16e333e8536e20c098d0ab5881bec0108e42865..97481a9e114faa93ea8101a2c4af02f2377d9076 100644
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc
@@ -559,6 +559,15 @@ void ChromeLauncherController::TogglePinned(ash::ShelfID id) {
if (!HasItemController(id))
return; // May happen if item closed with menu open.
+ // Added for temporary test purposes.
+ // TODO(skuhne): Remove this!
+ if (true) {
+ ash::Shell* shell = ash::Shell::GetInstance();
+ shell->EnableMaximizeModeWindowManager(
+ !shell->IsMaximizeModeWindowManagerEnabled());
+ return;
+ }
+
if (IsPinned(id))
Unpin(id);
else
« ash/wm/workspace/workspace_layout_manager.cc ('K') | « ash/wm/workspace_controller.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698