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

Unified Diff: ash/root_window_controller.cc

Issue 11830008: ash/immersive mode: Hide the launcher when entering immersive mode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: window property Created 7 years, 11 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/root_window_controller.cc
diff --git a/ash/root_window_controller.cc b/ash/root_window_controller.cc
index 1993e4184e3c7d404a58a6228c84512e224ea183..fc60474d3f4fd6260109261d8ad0c3c66e2db28e 100644
--- a/ash/root_window_controller.cc
+++ b/ash/root_window_controller.cc
@@ -31,6 +31,7 @@
#include "ash/wm/system_modal_container_layout_manager.h"
#include "ash/wm/toplevel_window_event_handler.h"
#include "ash/wm/window_properties.h"
+#include "ash/wm/workspace/workspace.h"
#include "ash/wm/workspace_controller.h"
#include "base/command_line.h"
#include "base/time.h"
@@ -512,6 +513,10 @@ ShelfAlignment RootWindowController::GetShelfAlignment() {
return shelf_->GetAlignment();
}
+bool RootWindowController::IsImmersiveMode() const {
+ return workspace_controller_->GetActiveWorkspace()->IsImmersiveMode();
+}
+
////////////////////////////////////////////////////////////////////////////////
// RootWindowController, private:

Powered by Google App Engine
This is Rietveld 408576698