Chromium Code Reviews| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 | 11 |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/time/time.h" | 13 #include "base/time/time.h" |
| 14 #include "cc/output/compositor_frame.h" | |
|
danakj
2016/06/24 18:35:11
Dont need to do this now
Fady Samuel
2016/06/24 20:00:24
Done.
| |
| 14 #include "content/common/content_export.h" | 15 #include "content/common/content_export.h" |
| 15 #include "ui/gfx/geometry/rect.h" | 16 #include "ui/gfx/geometry/rect.h" |
| 16 #include "ui/gfx/geometry/size.h" | 17 #include "ui/gfx/geometry/size.h" |
| 17 | 18 |
| 18 class SkCanvas; | 19 class SkCanvas; |
| 19 | 20 |
| 20 namespace cc { | 21 namespace cc { |
| 21 class CompositorFrame; | |
| 22 class CompositorFrameAck; | 22 class CompositorFrameAck; |
| 23 } | 23 } |
| 24 | 24 |
| 25 namespace gfx { | 25 namespace gfx { |
| 26 class Point; | 26 class Point; |
| 27 class ScrollOffset; | 27 class ScrollOffset; |
| 28 class Transform; | 28 class Transform; |
| 29 }; | 29 }; |
| 30 | 30 |
| 31 namespace content { | 31 namespace content { |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 94 // and if any input animation is active, it should tick now. | 94 // and if any input animation is active, it should tick now. |
| 95 virtual void OnComputeScroll(base::TimeTicks animation_time) = 0; | 95 virtual void OnComputeScroll(base::TimeTicks animation_time) = 0; |
| 96 | 96 |
| 97 protected: | 97 protected: |
| 98 virtual ~SynchronousCompositor() {} | 98 virtual ~SynchronousCompositor() {} |
| 99 }; | 99 }; |
| 100 | 100 |
| 101 } // namespace content | 101 } // namespace content |
| 102 | 102 |
| 103 #endif // CONTENT_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_H_ | 103 #endif // CONTENT_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_H_ |
| OLD | NEW |