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

Unified Diff: components/mus/public/cpp/lib/window_tree_client_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
Index: components/mus/public/cpp/lib/window_tree_client_impl.cc
diff --git a/components/mus/public/cpp/lib/window_tree_client_impl.cc b/components/mus/public/cpp/lib/window_tree_client_impl.cc
index 43fc02c955a66d6a69971619878025f4a9587310..5ce927fc5f8030ffdb732a1754cbb7ed7aa9a073 100644
--- a/components/mus/public/cpp/lib/window_tree_client_impl.cc
+++ b/components/mus/public/cpp/lib/window_tree_client_impl.cc
@@ -21,11 +21,6 @@
#include "ui/gfx/geometry/size.h"
namespace mus {
-namespace {
-
-void WindowManagerCallback(mojom::WindowManagerErrorCode error_code) {}
-
-} // namespace
Id MakeTransportId(ConnectionSpecificId connection_id,
ConnectionSpecificId local_id) {
@@ -309,18 +304,6 @@ void WindowTreeClientImpl::OnRootDestroyed(Window* root) {
delete this;
}
-void WindowTreeClientImpl::SetPreferredSize(Id window_id,
- const gfx::Size& size) {
- tree_->SetPreferredSize(window_id, mojo::Size::From(size),
- base::Bind(&WindowManagerCallback));
-}
-
-void WindowTreeClientImpl::SetResizeBehavior(
- Id window_id,
- mojom::ResizeBehavior resize_behavior) {
- tree_->SetResizeBehavior(window_id, resize_behavior);
-}
-
InFlightChange* WindowTreeClientImpl::GetOldestInFlightChangeMatching(
const InFlightChange& change) {
for (auto& pair : in_flight_map_) {
« no previous file with comments | « components/mus/public/cpp/lib/window_tree_client_impl.h ('k') | components/mus/public/cpp/tests/test_window_tree.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698