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

Unified Diff: ash/common/wm_window.cc

Issue 2778733004: Add WindowPinType property on arua::Window (Closed)
Patch Set: Address review issues. Created 3 years, 8 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
« no previous file with comments | « ash/common/wm/window_state.cc ('k') | ash/mus/window_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm_window.cc
diff --git a/ash/common/wm_window.cc b/ash/common/wm_window.cc
index 38cab6ed1b541b679142a8e31ebc0f8e7b964d0f..151fc502fee288e4bd254c2f56f6c8cf82afca5c 100644
--- a/ash/common/wm_window.cc
+++ b/ash/common/wm_window.cc
@@ -776,6 +776,10 @@ void WmWindow::OnWindowPropertyChanged(aura::Window* window,
GetWindowState()->set_in_immersive_fullscreen(enable);
return;
}
+ if (key == kWindowPinTypeKey) {
+ ash::wm::GetWindowState(window_)->OnWindowPinTypeChanged();
+ return;
+ }
}
void WmWindow::OnTransientChildAdded(aura::Window* window,
« no previous file with comments | « ash/common/wm/window_state.cc ('k') | ash/mus/window_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698