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

Unified Diff: ash/wm/workspace_controller.cc

Issue 9515003: Fix the full screen switching browser window dipping below launcher bar issue. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix the issue for managed window mode, add tests. Created 8 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
Index: ash/wm/workspace_controller.cc
diff --git a/ash/wm/workspace_controller.cc b/ash/wm/workspace_controller.cc
index 8222e526fac4d12b5cbc1446061cd492708b88e4..42430b5b8bed4a9a45a37c61566d6c0728296598 100644
--- a/ash/wm/workspace_controller.cc
+++ b/ash/wm/workspace_controller.cc
@@ -75,6 +75,10 @@ void WorkspaceController::OnRootWindowResized(const gfx::Size& new_size) {
workspace_manager_->SetWorkspaceSize(new_size);
}
+void WorkspaceController::OnScreenWorkAreaInsetsChanged() {
+ workspace_manager_->SetWorkspaceBounds();
sky 2012/03/01 01:43:19 Shouldn't this be the same as OnRootWindowResized?
jennyz 2012/03/01 18:27:45 OnScreenWorkAreaInsetsChanged() does not pass the
sky 2012/03/01 18:43:45 I see what you're saying. In that case name the Wo
jennyz 2012/03/01 19:13:12 Done.
+}
+
void WorkspaceController::OnWindowPropertyChanged(aura::Window* window,
const void* key,
intptr_t old) {

Powered by Google App Engine
This is Rietveld 408576698