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

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

Issue 1344573002: Mandoline: Rename components/view_manager to components/mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 3 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_VIEW_MANAGER_SURFACES_SURFACES_OUTPUT_SURFACE_H_
6 #define COMPONENTS_VIEW_MANAGER_SURFACES_SURFACES_OUTPUT_SURFACE_H_
7
8 #include "cc/output/output_surface.h"
9
10 namespace surfaces {
11
12 // An OutputSurface implementation that directly draws and
13 // swaps to an actual GL surface.
14 class DirectOutputSurface : public cc::OutputSurface {
15 public:
16 explicit DirectOutputSurface(
17 const scoped_refptr<cc::ContextProvider>& context_provider);
18 ~DirectOutputSurface() override;
19
20 // cc::OutputSurface implementation
21 void SwapBuffers(cc::CompositorFrame* frame) override;
22
23 private:
24 base::WeakPtrFactory<DirectOutputSurface> weak_ptr_factory_;
25 };
26
27 } // namespace surfaces
28
29 #endif // COMPONENTS_VIEW_MANAGER_SURFACES_SURFACES_OUTPUT_SURFACE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698