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

Unified Diff: ash/wm/gestures/shelf_gesture_handler.cc

Issue 100903002: Ignore fullscreen windows which are behind other windows for fullscreen mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments. Created 7 years 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/wm/gestures/shelf_gesture_handler.cc
diff --git a/ash/wm/gestures/shelf_gesture_handler.cc b/ash/wm/gestures/shelf_gesture_handler.cc
index 9dcd3f2794467d0735395f27b1b405f2a727c868..f9fb1b8d43c250f6e8575fa4ddf090e7485a0c69 100644
--- a/ash/wm/gestures/shelf_gesture_handler.cc
+++ b/ash/wm/gestures/shelf_gesture_handler.cc
@@ -43,7 +43,7 @@ bool ShelfGestureHandler::ProcessGestureEvent(const ui::GestureEvent& event) {
ShelfLayoutManager* shelf = controller->GetShelfLayoutManager();
- const aura::Window* fullscreen = controller->GetTopmostFullscreenWindow();
+ const aura::Window* fullscreen = controller->GetWindowForFullscreenMode();
if (fullscreen &&
ash::wm::GetWindowState(fullscreen)->hide_shelf_when_fullscreen()) {
return false;

Powered by Google App Engine
This is Rietveld 408576698