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

Unified Diff: ash/wm/workspace_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/wm/workspace_controller.cc
diff --git a/ash/wm/workspace_controller.cc b/ash/wm/workspace_controller.cc
index 3ca70d6749c4a02a4f5a72acda85f5c754225048..5a112d431456b1312d706f512c18ef13c84dc094 100644
--- a/ash/wm/workspace_controller.cc
+++ b/ash/wm/workspace_controller.cc
@@ -46,11 +46,14 @@ void WorkspaceController::SetActiveWorkspaceByWindow(aura::Window* window) {
return workspace_manager_->SetActiveWorkspaceByWindow(window);
}
+Workspace* WorkspaceController::GetActiveWorkspace() const {
+ return workspace_manager_->active_workspace();
+}
+
aura::Window* WorkspaceController::GetParentForNewWindow(aura::Window* window) {
return workspace_manager_->GetParentForNewWindow(window);
}
-
void WorkspaceController::DoInitialAnimation() {
workspace_manager_->DoInitialAnimation();
}

Powered by Google App Engine
This is Rietveld 408576698