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

Unified Diff: components/surfaces/surfaces_impl.h

Issue 1139673003: Make Mandoline shut down cleanly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 7 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 | « components/surfaces/display_impl.cc ('k') | components/surfaces/surfaces_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/surfaces/surfaces_impl.h
diff --git a/components/surfaces/surfaces_impl.h b/components/surfaces/surfaces_impl.h
index ef39234ff1c6c35da355e602be423393354bc237..897cda31fb95c4d1304de1f096a0b5dbf517773d 100644
--- a/components/surfaces/surfaces_impl.h
+++ b/components/surfaces/surfaces_impl.h
@@ -25,10 +25,12 @@ class ApplicationManager;
namespace surfaces {
class SurfacesScheduler;
+class SurfacesServiceApplication;
class SurfacesImpl : public mojo::Surface, public cc::SurfaceFactoryClient {
public:
- SurfacesImpl(cc::SurfaceManager* manager,
+ SurfacesImpl(SurfacesServiceApplication* application,
+ cc::SurfaceManager* manager,
uint32_t id_namespace,
SurfacesScheduler* scheduler,
mojo::InterfaceRequest<mojo::Surface> request);
@@ -52,6 +54,7 @@ class SurfacesImpl : public mojo::Surface, public cc::SurfaceFactoryClient {
private:
cc::SurfaceId QualifyIdentifier(uint32_t local_id);
+ SurfacesServiceApplication* application_;
cc::SurfaceManager* manager_;
cc::SurfaceFactory factory_;
const uint32_t id_namespace_;
« no previous file with comments | « components/surfaces/display_impl.cc ('k') | components/surfaces/surfaces_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698