summaryrefslogtreecommitdiffstats
path: root/content/browser/compositor/surface_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/compositor/surface_utils.h')
-rw-r--r--content/browser/compositor/surface_utils.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/content/browser/compositor/surface_utils.h b/content/browser/compositor/surface_utils.h
new file mode 100644
index 0000000..b56fef2
--- /dev/null
+++ b/content/browser/compositor/surface_utils.h
@@ -0,0 +1,23 @@
+// Copyright 2015 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 CONTENT_BROWSER_COMPOSITOR_SURFACE_UTILS_H_
+#define CONTENT_BROWSER_COMPOSITOR_SURFACE_UTILS_H_
+
+#include "base/memory/scoped_ptr.h"
+
+namespace cc {
+class SurfaceIdAllocator;
+class SurfaceManager;
+} // namespace cc
+
+namespace content {
+
+scoped_ptr<cc::SurfaceIdAllocator> CreateSurfaceIdAllocator();
+
+cc::SurfaceManager* GetSurfaceManager();
+
+} // namespace content
+
+#endif // CONTENT_BROWSER_COMPOSITOR_SURFACE_UTILS_H_