Index: ash/root_window_controller.cc |
diff --git a/ash/root_window_controller.cc b/ash/root_window_controller.cc |
index 165a61df60657e1205b47bebbcf70b96a4e20c27..d32af079cd76c3d71d1eaa6b4322f5c40893aa0f 100644 |
--- a/ash/root_window_controller.cc |
+++ b/ash/root_window_controller.cc |
@@ -516,6 +516,16 @@ void RootWindowController::InitKeyboard() { |
} |
} |
+void RootWindowController::SetPendingImmersiveGesture(bool value) { |
+ aura::Window* container = workspace_controller_->GetActiveWorkspaceWindow(); |
+ for (size_t i = 0; i < container->children().size(); ++i) { |
+ aura::Window* child = container->children()[i]; |
+ if (child->IsVisible() && child->GetProperty(kImmersiveModeKey)) { |
+ child->SetProperty(kPendingImmersiveGestureKey, value); |
+ return; |
+ } |
pkotwicz
2013/04/19 06:06:44
Can you modify RootWindowController::IsImmersiveMo
pkotwicz
2013/04/21 21:18:19
FYI: I have implemented GetFullscreenWindow() as p
rharrison
2013/04/22 18:36:52
I will change the related code to use GetFullscree
|
+ } |
+} |
//////////////////////////////////////////////////////////////////////////////// |
// RootWindowController, private: |