OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_H_ |
6 #define CONTENT_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_H_ | 6 #define CONTENT_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
10 #include "gpu/command_buffer/service/in_process_command_buffer.h" | 10 #include "gpu/command_buffer/service/in_process_command_buffer.h" |
11 #include "ui/gfx/rect.h" | 11 #include "ui/gfx/geometry/rect.h" |
12 #include "ui/gfx/size.h" | 12 #include "ui/gfx/size.h" |
13 | 13 |
14 class SkCanvas; | 14 class SkCanvas; |
15 | 15 |
16 namespace cc { | 16 namespace cc { |
17 class CompositorFrame; | 17 class CompositorFrame; |
18 class CompositorFrameAck; | 18 class CompositorFrameAck; |
19 } | 19 } |
20 | 20 |
21 namespace gfx { | 21 namespace gfx { |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 // SynchronousCompositorClient::GetTotalRootLayerScrollOffset). | 87 // SynchronousCompositorClient::GetTotalRootLayerScrollOffset). |
88 virtual void DidChangeRootLayerScrollOffset() = 0; | 88 virtual void DidChangeRootLayerScrollOffset() = 0; |
89 | 89 |
90 protected: | 90 protected: |
91 virtual ~SynchronousCompositor() {} | 91 virtual ~SynchronousCompositor() {} |
92 }; | 92 }; |
93 | 93 |
94 } // namespace content | 94 } // namespace content |
95 | 95 |
96 #endif // CONTENT_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_H_ | 96 #endif // CONTENT_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_H_ |
OLD | NEW |