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

Unified Diff: services/ui/ws/window_tree.cc

Issue 2778823002: Simplify WindowManager::OnWmSetBounds (Closed)
Patch Set: Addressed Scott's comment Created 3 years, 9 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: services/ui/ws/window_tree.cc
diff --git a/services/ui/ws/window_tree.cc b/services/ui/ws/window_tree.cc
index 0ec3e9867ad0c0cdf6e8f7d4853652cad5923c5d..6ee418a59626c27d74de73013c06935a1217e52a 100644
--- a/services/ui/ws/window_tree.cc
+++ b/services/ui/ws/window_tree.cc
@@ -2070,6 +2070,10 @@ void WindowTree::WmResponse(uint32_t change_id, bool response) {
window_server_->WindowManagerChangeCompleted(change_id, response);
}
+void WindowTree::WmSetBoundsResponse(uint32_t change_id) {
+ WmResponse(change_id, false);
+}
+
void WindowTree::WmRequestClose(Id transport_window_id) {
ServerWindow* window =
GetWindowByClientId(ClientWindowId(transport_window_id));

Powered by Google App Engine
This is Rietveld 408576698