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

Unified Diff: components/mus/ws/window_tree_impl.cc

Issue 1456233002: Converts remaining windowmanager property based functions to SetProperty (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 | « components/mus/ws/window_tree_impl.h ('k') | mash/wm/window_manager_application.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/window_tree_impl.cc
diff --git a/components/mus/ws/window_tree_impl.cc b/components/mus/ws/window_tree_impl.cc
index df89c97d0d64889b84a5123bdf87bb647cfac6a8..88bc7da163332733751b2a4d7c10d27e7e1d2eb5 100644
--- a/components/mus/ws/window_tree_impl.cc
+++ b/components/mus/ws/window_tree_impl.cc
@@ -825,25 +825,6 @@ void WindowTreeImpl::SetCanFocus(uint32_t window_id, bool can_focus) {
window->set_can_focus(can_focus);
}
-void WindowTreeImpl::SetPreferredSize(
- uint32_t window_id,
- mojo::SizePtr size,
- const SetPreferredSizeCallback& callback) {
- ServerWindow* window = GetWindow(WindowIdFromTransportId(window_id));
- if (window && ShouldRouteToWindowManager(window)) {
- GetHost()->window_manager()->SetPreferredSize(window_id, size.Pass(),
- callback);
- }
-}
-
-void WindowTreeImpl::SetResizeBehavior(
- uint32_t window_id,
- mus::mojom::ResizeBehavior resize_behavior) {
- ServerWindow* window = GetWindow(WindowIdFromTransportId(window_id));
- if (window && ShouldRouteToWindowManager(window))
- GetHost()->window_manager()->SetResizeBehavior(window_id, resize_behavior);
-}
-
void WindowTreeImpl::WmResponse(uint32 change_id, bool response) {
if (GetHost() && GetHost()->GetWindowTree() == this)
connection_manager_->WindowManagerChangeCompleted(change_id, response);
« no previous file with comments | « components/mus/ws/window_tree_impl.h ('k') | mash/wm/window_manager_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698