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

Side by Side Diff: components/exo/surface_observer.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 unified diff | Download patch
« no previous file with comments | « components/exo/surface_delegate.h ('k') | components/exo/wayland/server.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_EXO_SURFACE_OBSERVER_H_
6 #define COMPONENTS_EXO_SURFACE_OBSERVER_H_
7
8 namespace exo {
9 class Surface;
10
11 // Observers can listen to various events on the Surfaces.
12 class SurfaceObserver {
13 public:
14 // Called at the top of the surface's destructor, to give observers a
15 // chance to remove themselves.
16 virtual void OnSurfaceDestroying(Surface* surface) = 0;
17
18 protected:
19 virtual ~SurfaceObserver() {}
20 };
21
22 } // namespace exo
23
24 #endif // COMPONENTS_EXO_SURFACE_OBSERVER_H_
OLDNEW
« no previous file with comments | « components/exo/surface_delegate.h ('k') | components/exo/wayland/server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698