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

Side by Side Diff: components/view_manager/surfaces/surfaces_service_application.h

Issue 1150093003: Move GLES2, GPU & Surfaces into the ViewManager directory. This does not merge the applications, th… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_SURFACES_SURFACES_SERVICE_APPLICATION_H_ 5 #ifndef COMPONENTS_VIEW_MANAGER_SURFACES_SURFACES_SERVICE_APPLICATION_H_
6 #define COMPONENTS_SURFACES_SURFACES_SERVICE_APPLICATION_H_ 6 #define COMPONENTS_VIEW_MANAGER_SURFACES_SURFACES_SERVICE_APPLICATION_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "cc/surfaces/surface_manager.h" 11 #include "cc/surfaces/surface_manager.h"
12 #include "components/surfaces/public/interfaces/display.mojom.h" 12 #include "components/view_manager/public/interfaces/display.mojom.h"
13 #include "components/surfaces/public/interfaces/surfaces.mojom.h" 13 #include "components/view_manager/public/interfaces/surfaces.mojom.h"
14 #include "mojo/application/public/cpp/application_delegate.h" 14 #include "mojo/application/public/cpp/application_delegate.h"
15 #include "mojo/application/public/cpp/interface_factory.h" 15 #include "mojo/application/public/cpp/interface_factory.h"
16 #include "mojo/common/tracing_impl.h" 16 #include "mojo/common/tracing_impl.h"
17 17
18 namespace mojo { 18 namespace mojo {
19 class ApplicationConnection; 19 class ApplicationConnection;
20 } 20 }
21 21
22 namespace surfaces { 22 namespace surfaces {
23 class DisplayImpl; 23 class DisplayImpl;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 // Since these two classes have non-owning pointers to |manager_|, need to 58 // Since these two classes have non-owning pointers to |manager_|, need to
59 // destroy them if this class is destructed first. 59 // destroy them if this class is destructed first.
60 std::set<DisplayImpl*> displays_; 60 std::set<DisplayImpl*> displays_;
61 std::set<SurfacesImpl*> surfaces_; 61 std::set<SurfacesImpl*> surfaces_;
62 62
63 DISALLOW_COPY_AND_ASSIGN(SurfacesServiceApplication); 63 DISALLOW_COPY_AND_ASSIGN(SurfacesServiceApplication);
64 }; 64 };
65 65
66 } // namespace surfaces 66 } // namespace surfaces
67 67
68 #endif // COMPONENTS_SURFACES_SURFACES_SERVICE_APPLICATION_H_ 68 #endif // COMPONENTS_VIEW_MANAGER_SURFACES_SURFACES_SERVICE_APPLICATION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698