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

Unified Diff: components/mus/public/cpp/lib/window.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 | « no previous file | components/mus/public/cpp/lib/window_tree_client_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/public/cpp/lib/window.cc
diff --git a/components/mus/public/cpp/lib/window.cc b/components/mus/public/cpp/lib/window.cc
index 82c077b61921740ea87557251f564de2d2d0cfb1..e2ac0c8f4a1b7f2170bfef8076aee75a21d7f44e 100644
--- a/components/mus/public/cpp/lib/window.cc
+++ b/components/mus/public/cpp/lib/window.cc
@@ -344,16 +344,6 @@ void Window::SetImeVisibility(bool visible, mojo::TextInputStatePtr state) {
tree_client()->SetImeVisibility(id_, visible, state.Pass());
}
-void Window::SetPreferredSize(const gfx::Size& size) {
- if (connection_)
- tree_client()->SetPreferredSize(id_, size);
-}
-
-void Window::SetResizeBehavior(mojom::ResizeBehavior resize_behavior) {
- if (connection_)
- tree_client()->SetResizeBehavior(id_, resize_behavior);
-}
-
void Window::SetFocus() {
if (connection_)
tree_client()->SetFocus(id_);
« no previous file with comments | « no previous file | components/mus/public/cpp/lib/window_tree_client_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698