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

Unified Diff: mojo/aura/surface_binding.h

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 years, 11 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 | « mojo/aura/screen_mojo.cc ('k') | mojo/aura/surface_binding.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/aura/surface_binding.h
diff --git a/mojo/aura/surface_binding.h b/mojo/aura/surface_binding.h
deleted file mode 100644
index 33f6eac04ea78c4df1fbfdb21d0d73dc3e544a55..0000000000000000000000000000000000000000
--- a/mojo/aura/surface_binding.h
+++ /dev/null
@@ -1,45 +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.
-
-#ifndef MOJO_AURA_SURFACE_BINDING_H_
-#define MOJO_AURA_SURFACE_BINDING_H_
-
-#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
-
-namespace cc {
-class OutputSurface;
-}
-
-namespace mojo {
-class Shell;
-class View;
-
-// SurfaceBinding is responsible for managing the connections necessary to
-// bind a View to the surfaces service.
-// Internally SurfaceBinding manages one connection (and related structures) per
-// ViewManager. That is, all Views from a particular ViewManager share the same
-// connection.
-class SurfaceBinding {
- public:
- SurfaceBinding(Shell* shell, View* view);
- ~SurfaceBinding();
-
- // Creates an OutputSurface that renders to the View supplied to the
- // constructor.
- scoped_ptr<cc::OutputSurface> CreateOutputSurface();
-
- private:
- class PerViewManagerState;
-
- Shell* shell_;
- View* view_;
- scoped_refptr<PerViewManagerState> state_;
-
- DISALLOW_COPY_AND_ASSIGN(SurfaceBinding);
-};
-
-} // namespace mojo
-
-#endif // MOJO_AURA_SURFACE_BINDING_H_
« no previous file with comments | « mojo/aura/screen_mojo.cc ('k') | mojo/aura/surface_binding.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698