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

Unified Diff: examples/surfaces_app/embedder.h

Issue 1534693002: Delete the Surfaces service. (Closed) Base URL: git@github.com:domokit/mojo.git@cl-2d
Patch Set: rebase Created 5 years 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 | « examples/surfaces_app/child_impl.cc ('k') | examples/surfaces_app/embedder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/surfaces_app/embedder.h
diff --git a/examples/surfaces_app/embedder.h b/examples/surfaces_app/embedder.h
deleted file mode 100644
index bf5c0edb344e75ee2b577cd0ed995c71d7bd517c..0000000000000000000000000000000000000000
--- a/examples/surfaces_app/embedder.h
+++ /dev/null
@@ -1,40 +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 EXAMPLES_SURFACES_APP_EMBEDDER_H_
-#define EXAMPLES_SURFACES_APP_EMBEDDER_H_
-
-#include "base/memory/scoped_ptr.h"
-#include "cc/surfaces/surface_id.h"
-#include "mojo/services/surfaces/interfaces/display.mojom.h"
-#include "ui/gfx/size.h"
-
-namespace mojo {
-namespace examples {
-
-// Simple example of a surface embedder that embeds two other surfaces.
-class Embedder {
- public:
- explicit Embedder(Display* display);
- ~Embedder();
-
- void ProduceFrame(cc::SurfaceId child_one,
- cc::SurfaceId child_two,
- const gfx::Size& child_size,
- const gfx::Size& size,
- int offset);
-
- bool frame_pending() const { return frame_pending_; }
-
- private:
- Display* display_;
- bool frame_pending_;
-
- DISALLOW_COPY_AND_ASSIGN(Embedder);
-};
-
-} // namespace examples
-} // namespace mojo
-
-#endif // EXAMPLES_SURFACES_APP_EMBEDDER_H_
« no previous file with comments | « examples/surfaces_app/child_impl.cc ('k') | examples/surfaces_app/embedder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698