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

Unified Diff: ash/accelerators/accelerator_controller.cc

Issue 12220026: ash: Do not allow minimizing windows in login screen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add-test Created 7 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
« no previous file with comments | « no previous file | ash/root_window_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/accelerators/accelerator_controller.cc
diff --git a/ash/accelerators/accelerator_controller.cc b/ash/accelerators/accelerator_controller.cc
index 530f8d35a2d36329c302b881c6e715f036428cdd..d1001f2f9ca854efc4707ac03299a2595916a1c8 100644
--- a/ash/accelerators/accelerator_controller.cc
+++ b/ash/accelerators/accelerator_controller.cc
@@ -715,7 +715,7 @@ bool AcceleratorController::PerformAction(int action,
// Disable the shortcut for minimizing full screen window due to
// crbug.com/131709, which is a crashing issue related to minimizing
// full screen pepper window.
- if (!wm::IsWindowFullscreen(window)) {
+ if (!wm::IsWindowFullscreen(window) && wm::CanMinimizeWindow(window)) {
wm::MinimizeWindow(window);
return true;
}
« no previous file with comments | « no previous file | ash/root_window_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698