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

Side by Side Diff: services/view_manager/display_manager.h

Issue 792813002: Restructure public side of surfaces service. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years 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 | « services/view_manager/BUILD.gn ('k') | services/view_manager/display_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 SERVICES_VIEW_MANAGER_DISPLAY_MANAGER_H_ 5 #ifndef SERVICES_VIEW_MANAGER_DISPLAY_MANAGER_H_
6 #define SERVICES_VIEW_MANAGER_DISPLAY_MANAGER_H_ 6 #define SERVICES_VIEW_MANAGER_DISPLAY_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "base/timer/timer.h" 13 #include "base/timer/timer.h"
14 #include "cc/surfaces/surface_id.h" 14 #include "cc/surfaces/surface_id.h"
15 #include "mojo/public/cpp/bindings/callback.h" 15 #include "mojo/public/cpp/bindings/callback.h"
16 #include "mojo/services/public/interfaces/native_viewport/native_viewport.mojom. h" 16 #include "mojo/services/public/interfaces/native_viewport/native_viewport.mojom. h"
17 #include "mojo/services/public/interfaces/surfaces/surfaces.mojom.h" 17 #include "mojo/services/surfaces/public/interfaces/surfaces.mojom.h"
18 #include "mojo/services/public/interfaces/surfaces/surfaces_service.mojom.h" 18 #include "mojo/services/surfaces/public/interfaces/surfaces_service.mojom.h"
19 #include "ui/gfx/rect.h" 19 #include "ui/gfx/rect.h"
20 20
21 namespace cc { 21 namespace cc {
22 class SurfaceIdAllocator; 22 class SurfaceIdAllocator;
23 } 23 }
24 24
25 namespace mojo { 25 namespace mojo {
26 26
27 class ApplicationConnection; 27 class ApplicationConnection;
28 28
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 Callback<void()> native_viewport_closed_callback_; 88 Callback<void()> native_viewport_closed_callback_;
89 base::WeakPtrFactory<DefaultDisplayManager> weak_factory_; 89 base::WeakPtrFactory<DefaultDisplayManager> weak_factory_;
90 90
91 DISALLOW_COPY_AND_ASSIGN(DefaultDisplayManager); 91 DISALLOW_COPY_AND_ASSIGN(DefaultDisplayManager);
92 }; 92 };
93 93
94 } // namespace service 94 } // namespace service
95 } // namespace mojo 95 } // namespace mojo
96 96
97 #endif // SERVICES_VIEW_MANAGER_DISPLAY_MANAGER_H_ 97 #endif // SERVICES_VIEW_MANAGER_DISPLAY_MANAGER_H_
OLDNEW
« no previous file with comments | « services/view_manager/BUILD.gn ('k') | services/view_manager/display_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698