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

Unified Diff: components/window_manager/window_manager_impl.cc

Issue 1138073007: Nukes the windowmanager interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 7 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 | « components/window_manager/window_manager_impl.h ('k') | mandoline/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/window_manager/window_manager_impl.cc
diff --git a/components/window_manager/window_manager_impl.cc b/components/window_manager/window_manager_impl.cc
deleted file mode 100644
index 9e0a1658ae91a0638a9357801e8cdead825104fc..0000000000000000000000000000000000000000
--- a/components/window_manager/window_manager_impl.cc
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "components/window_manager/window_manager_impl.h"
-
-#include "components/window_manager/window_manager_app.h"
-
-namespace window_manager {
-
-WindowManagerImpl::WindowManagerImpl(WindowManagerApp* window_manager,
- bool from_vm)
- : window_manager_(window_manager), from_vm_(from_vm), binding_(this) {
- window_manager_->AddConnection(this);
- binding_.set_error_handler(this);
-}
-
-WindowManagerImpl::~WindowManagerImpl() {
- window_manager_->RemoveConnection(this);
-}
-
-void WindowManagerImpl::Bind(
- mojo::ScopedMessagePipeHandle window_manager_pipe) {
- binding_.Bind(window_manager_pipe.Pass());
-}
-
-void WindowManagerImpl::Embed(
- const mojo::String& url,
- mojo::InterfaceRequest<mojo::ServiceProvider> services,
- mojo::ServiceProviderPtr exposed_services) {
- window_manager_->Embed(url, services.Pass(), exposed_services.Pass());
-}
-
-void WindowManagerImpl::OnConnectionError() {
- delete this;
-}
-
-} // namespace window_manager
« no previous file with comments | « components/window_manager/window_manager_impl.h ('k') | mandoline/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698