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

Side by Side Diff: services/ui/surfaces/direct_output_surface.h

Issue 2119963002: Move mus to //services/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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/ui/surfaces/OWNERS ('k') | services/ui/surfaces/direct_output_surface.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 COMPONENTS_MUS_SURFACES_DIRECT_OUTPUT_SURFACE_H_ 5 #ifndef SERVICES_UI_SURFACES_DIRECT_OUTPUT_SURFACE_H_
6 #define COMPONENTS_MUS_SURFACES_DIRECT_OUTPUT_SURFACE_H_ 6 #define SERVICES_UI_SURFACES_DIRECT_OUTPUT_SURFACE_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "cc/output/output_surface.h" 10 #include "cc/output/output_surface.h"
11 #include "components/mus/surfaces/surfaces_context_provider.h" 11 #include "services/ui/surfaces/surfaces_context_provider.h"
12 #include "components/mus/surfaces/surfaces_context_provider_delegate.h" 12 #include "services/ui/surfaces/surfaces_context_provider_delegate.h"
13 13
14 namespace cc { 14 namespace cc {
15 class CompositorFrame; 15 class CompositorFrame;
16 class SyntheticBeginFrameSource; 16 class SyntheticBeginFrameSource;
17 } 17 }
18 18
19 namespace mus { 19 namespace mus {
20 20
21 // An OutputSurface implementation that directly draws and 21 // An OutputSurface implementation that directly draws and
22 // swaps to an actual GL surface. 22 // swaps to an actual GL surface.
(...skipping 14 matching lines...) Expand all
37 void OnVSyncParametersUpdated(const base::TimeTicks& timebase, 37 void OnVSyncParametersUpdated(const base::TimeTicks& timebase,
38 const base::TimeDelta& interval) override; 38 const base::TimeDelta& interval) override;
39 39
40 private: 40 private:
41 cc::SyntheticBeginFrameSource* const synthetic_begin_frame_source_; 41 cc::SyntheticBeginFrameSource* const synthetic_begin_frame_source_;
42 base::WeakPtrFactory<DirectOutputSurface> weak_ptr_factory_; 42 base::WeakPtrFactory<DirectOutputSurface> weak_ptr_factory_;
43 }; 43 };
44 44
45 } // namespace mus 45 } // namespace mus
46 46
47 #endif // COMPONENTS_MUS_SURFACES_DIRECT_OUTPUT_SURFACE_H_ 47 #endif // SERVICES_UI_SURFACES_DIRECT_OUTPUT_SURFACE_H_
OLDNEW
« no previous file with comments | « services/ui/surfaces/OWNERS ('k') | services/ui/surfaces/direct_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698