| 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_ANDROID_SYNCHRONOUS_COMPOSITOR_HOST_H_ | 5 #ifndef CONTENT_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_HOST_H_ |
| 6 #define CONTENT_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_HOST_H_ | 6 #define CONTENT_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_HOST_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 namespace ui { | 28 namespace ui { |
| 29 class WindowAndroid; | 29 class WindowAndroid; |
| 30 struct DidOverscrollParams; | 30 struct DidOverscrollParams; |
| 31 } | 31 } |
| 32 | 32 |
| 33 namespace content { | 33 namespace content { |
| 34 | 34 |
| 35 class RenderWidgetHostViewAndroid; | 35 class RenderWidgetHostViewAndroid; |
| 36 class SynchronousCompositorClient; | 36 class SynchronousCompositorClient; |
| 37 class SynchronousCompositorBrowserFilter; | 37 class SynchronousCompositorBrowserFilter; |
| 38 class WebContents; | |
| 39 struct SyncCompositorCommonRendererParams; | 38 struct SyncCompositorCommonRendererParams; |
| 40 | 39 |
| 41 class SynchronousCompositorHost : public SynchronousCompositor { | 40 class SynchronousCompositorHost : public SynchronousCompositor { |
| 42 public: | 41 public: |
| 43 static std::unique_ptr<SynchronousCompositorHost> Create( | 42 static std::unique_ptr<SynchronousCompositorHost> Create( |
| 44 RenderWidgetHostViewAndroid* rwhva); | 43 RenderWidgetHostViewAndroid* rwhva); |
| 45 | 44 |
| 46 ~SynchronousCompositorHost() override; | 45 ~SynchronousCompositorHost() override; |
| 47 | 46 |
| 48 // SynchronousCompositor overrides. | 47 // SynchronousCompositor overrides. |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 bool need_animate_scroll_; | 111 bool need_animate_scroll_; |
| 113 uint32_t need_invalidate_count_; | 112 uint32_t need_invalidate_count_; |
| 114 uint32_t did_activate_pending_tree_count_; | 113 uint32_t did_activate_pending_tree_count_; |
| 115 | 114 |
| 116 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorHost); | 115 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorHost); |
| 117 }; | 116 }; |
| 118 | 117 |
| 119 } // namespace content | 118 } // namespace content |
| 120 | 119 |
| 121 #endif // CONTENT_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_HOST_H_ | 120 #endif // CONTENT_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_HOST_H_ |
| OLD | NEW |