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

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

Issue 882083003: Remove mojo.SurfacesService interface in favor of mojo.Surface directly (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « services/surfaces/surfaces_service_impl.cc ('k') | sky/compositor/surface_holder.h » ('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/native_viewport/public/interfaces/native_viewport.mojom. h" 16 #include "mojo/services/native_viewport/public/interfaces/native_viewport.mojom. h"
17 #include "mojo/services/surfaces/public/interfaces/surfaces.mojom.h" 17 #include "mojo/services/surfaces/public/interfaces/surfaces.mojom.h"
18 #include "mojo/services/surfaces/public/interfaces/surfaces_service.mojom.h"
19 #include "mojo/services/view_manager/public/interfaces/view_manager.mojom.h" 18 #include "mojo/services/view_manager/public/interfaces/view_manager.mojom.h"
20 #include "ui/gfx/rect.h" 19 #include "ui/gfx/rect.h"
21 20
22 namespace cc { 21 namespace cc {
23 class SurfaceIdAllocator; 22 class SurfaceIdAllocator;
24 } 23 }
25 24
26 namespace mojo { 25 namespace mojo {
27 class ApplicationConnection; 26 class ApplicationConnection;
28 } 27 }
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 mojo::NativeViewportPtr native_viewport_; 92 mojo::NativeViewportPtr native_viewport_;
94 mojo::Callback<void()> native_viewport_closed_callback_; 93 mojo::Callback<void()> native_viewport_closed_callback_;
95 base::WeakPtrFactory<DefaultDisplayManager> weak_factory_; 94 base::WeakPtrFactory<DefaultDisplayManager> weak_factory_;
96 95
97 DISALLOW_COPY_AND_ASSIGN(DefaultDisplayManager); 96 DISALLOW_COPY_AND_ASSIGN(DefaultDisplayManager);
98 }; 97 };
99 98
100 } // namespace view_manager 99 } // namespace view_manager
101 100
102 #endif // SERVICES_VIEW_MANAGER_DISPLAY_MANAGER_H_ 101 #endif // SERVICES_VIEW_MANAGER_DISPLAY_MANAGER_H_
OLDNEW
« no previous file with comments | « services/surfaces/surfaces_service_impl.cc ('k') | sky/compositor/surface_holder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698