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_OUTPUT_SURFACE_CLIENT_H_ | 5 #ifndef CC_OUTPUT_OUTPUT_SURFACE_CLIENT_H_ |
6 #define CC_OUTPUT_OUTPUT_SURFACE_CLIENT_H_ | 6 #define CC_OUTPUT_OUTPUT_SURFACE_CLIENT_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "base/time.h" | 9 #include "base/time/time.h" |
10 #include "cc/base/cc_export.h" | 10 #include "cc/base/cc_export.h" |
11 #include "cc/output/begin_frame_args.h" | 11 #include "cc/output/begin_frame_args.h" |
12 #include "cc/output/context_provider.h" | 12 #include "cc/output/context_provider.h" |
13 #include "ui/gfx/rect.h" | 13 #include "ui/gfx/rect.h" |
14 | 14 |
15 namespace gfx { | 15 namespace gfx { |
16 class Transform; | 16 class Transform; |
17 } | 17 } |
18 | 18 |
19 namespace cc { | 19 namespace cc { |
(...skipping 14 matching lines...) Expand all Loading... |
34 virtual void SetExternalDrawConstraints(const gfx::Transform& transform, | 34 virtual void SetExternalDrawConstraints(const gfx::Transform& transform, |
35 gfx::Rect viewport) = 0; | 35 gfx::Rect viewport) = 0; |
36 | 36 |
37 protected: | 37 protected: |
38 virtual ~OutputSurfaceClient() {} | 38 virtual ~OutputSurfaceClient() {} |
39 }; | 39 }; |
40 | 40 |
41 } // namespace cc | 41 } // namespace cc |
42 | 42 |
43 #endif // CC_OUTPUT_OUTPUT_SURFACE_CLIENT_H_ | 43 #endif // CC_OUTPUT_OUTPUT_SURFACE_CLIENT_H_ |
OLD | NEW |