OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 CONTENT_BROWSER_COMPOSITOR_OFFSCREEN_BROWSER_COMPOSITOR_OUTPUT_SURFACE_H
_ | 5 #ifndef CONTENT_BROWSER_COMPOSITOR_OFFSCREEN_BROWSER_COMPOSITOR_OUTPUT_SURFACE_H
_ |
6 #define CONTENT_BROWSER_COMPOSITOR_OFFSCREEN_BROWSER_COMPOSITOR_OUTPUT_SURFACE_H
_ | 6 #define CONTENT_BROWSER_COMPOSITOR_OFFSCREEN_BROWSER_COMPOSITOR_OUTPUT_SURFACE_H
_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #include "base/cancelable_callback.h" | 12 #include "base/cancelable_callback.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "build/build_config.h" | 15 #include "build/build_config.h" |
16 #include "content/browser/compositor/browser_compositor_output_surface.h" | 16 #include "content/browser/compositor/browser_compositor_output_surface.h" |
17 #include "ui/events/latency_info.h" | 17 #include "ui/latency/latency_info.h" |
18 | 18 |
19 namespace ui { | 19 namespace ui { |
20 class ContextProviderCommandBuffer; | 20 class ContextProviderCommandBuffer; |
21 } | 21 } |
22 | 22 |
23 namespace content { | 23 namespace content { |
24 class ReflectorTexture; | 24 class ReflectorTexture; |
25 | 25 |
26 class OffscreenBrowserCompositorOutputSurface | 26 class OffscreenBrowserCompositorOutputSurface |
27 : public BrowserCompositorOutputSurface { | 27 : public BrowserCompositorOutputSurface { |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 std::unique_ptr<ReflectorTexture> reflector_texture_; | 67 std::unique_ptr<ReflectorTexture> reflector_texture_; |
68 base::WeakPtrFactory<OffscreenBrowserCompositorOutputSurface> | 68 base::WeakPtrFactory<OffscreenBrowserCompositorOutputSurface> |
69 weak_ptr_factory_; | 69 weak_ptr_factory_; |
70 | 70 |
71 DISALLOW_COPY_AND_ASSIGN(OffscreenBrowserCompositorOutputSurface); | 71 DISALLOW_COPY_AND_ASSIGN(OffscreenBrowserCompositorOutputSurface); |
72 }; | 72 }; |
73 | 73 |
74 } // namespace content | 74 } // namespace content |
75 | 75 |
76 #endif // CONTENT_BROWSER_COMPOSITOR_OFFSCREEN_BROWSER_COMPOSITOR_OUTPUT_SURFAC
E_H_ | 76 #endif // CONTENT_BROWSER_COMPOSITOR_OFFSCREEN_BROWSER_COMPOSITOR_OUTPUT_SURFAC
E_H_ |
OLD | NEW |