OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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 CC_OUTPUT_COMPOSITOR_FRAME_SINK_CLIENT_H_ | 5 #ifndef CC_OUTPUT_COMPOSITOR_FRAME_SINK_CLIENT_H_ |
6 #define CC_OUTPUT_COMPOSITOR_FRAME_SINK_CLIENT_H_ | 6 #define CC_OUTPUT_COMPOSITOR_FRAME_SINK_CLIENT_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/time/time.h" | 10 #include "base/time/time.h" |
11 #include "cc/base/cc_export.h" | 11 #include "cc/cc_export.h" |
12 #include "cc/output/context_provider.h" | 12 #include "cc/output/context_provider.h" |
13 #include "cc/resources/returned_resource.h" | 13 #include "cc/resources/returned_resource.h" |
14 #include "gpu/command_buffer/common/texture_in_use_response.h" | 14 #include "gpu/command_buffer/common/texture_in_use_response.h" |
15 #include "ui/gfx/geometry/rect.h" | 15 #include "ui/gfx/geometry/rect.h" |
16 | 16 |
17 namespace gfx { | 17 namespace gfx { |
18 class Transform; | 18 class Transform; |
19 } | 19 } |
20 | 20 |
21 namespace cc { | 21 namespace cc { |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 const gfx::Rect& viewport_rect, | 67 const gfx::Rect& viewport_rect, |
68 const gfx::Transform& transform) = 0; | 68 const gfx::Transform& transform) = 0; |
69 | 69 |
70 protected: | 70 protected: |
71 virtual ~CompositorFrameSinkClient() {} | 71 virtual ~CompositorFrameSinkClient() {} |
72 }; | 72 }; |
73 | 73 |
74 } // namespace cc | 74 } // namespace cc |
75 | 75 |
76 #endif // CC_OUTPUT_COMPOSITOR_FRAME_SINK_CLIENT_H_ | 76 #endif // CC_OUTPUT_COMPOSITOR_FRAME_SINK_CLIENT_H_ |
OLD | NEW |