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

Unified Diff: components/exo/display.h

Issue 1419373013: exo: Add support for subcompositor interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@exosphere-xdg-shell
Patch Set: address review feedback 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
« no previous file with comments | « components/exo/BUILD.gn ('k') | components/exo/display.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/display.h
diff --git a/components/exo/display.h b/components/exo/display.h
index 472f4c96bc9d4ba24da3c95c9d72cd2166970b19..41099509a91c7ac0d73e024adc4ff14b49e8d211 100644
--- a/components/exo/display.h
+++ b/components/exo/display.h
@@ -12,6 +12,7 @@
namespace exo {
class SharedMemory;
class ShellSurface;
+class SubSurface;
class Surface;
// The core display class. This class provides functions for creating surfaces
@@ -34,6 +35,10 @@ class Display {
// Creates a shell surface for an existing surface.
scoped_ptr<ShellSurface> CreateShellSurface(Surface* surface);
+ // Creates a sub-surface for an existing surface. The sub-surface will be
+ // a child of |parent|.
+ scoped_ptr<SubSurface> CreateSubSurface(Surface* surface, Surface* parent);
+
private:
DISALLOW_COPY_AND_ASSIGN(Display);
};
« no previous file with comments | « components/exo/BUILD.gn ('k') | components/exo/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698