| 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 |
| 11 #include <memory> | 11 #include <memory> |
| 12 | 12 |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
| 16 #include "base/single_thread_task_runner.h" | 16 #include "base/single_thread_task_runner.h" |
| 17 #include "cc/output/compositor_frame.h" | 17 #include "cc/output/compositor_frame.h" |
| 18 #include "content/common/input/input_event_ack_state.h" | 18 #include "content/common/input/input_event_ack_state.h" |
| 19 #include "content/public/browser/android/synchronous_compositor.h" | 19 #include "content/public/browser/android/synchronous_compositor.h" |
| 20 #include "ui/gfx/geometry/scroll_offset.h" | 20 #include "ui/gfx/geometry/scroll_offset.h" |
| 21 #include "ui/gfx/geometry/size_f.h" | 21 #include "ui/gfx/geometry/size_f.h" |
| 22 | 22 |
| 23 namespace IPC { | 23 namespace IPC { |
| 24 class Message; | 24 class Message; |
| 25 class Sender; | 25 class Sender; |
| 26 } | 26 } |
| 27 | 27 |
| 28 namespace blink { | |
| 29 class WebInputEvent; | |
| 30 } | |
| 31 | |
| 32 namespace cc { | |
| 33 struct BeginFrameArgs; | |
| 34 } | |
| 35 | |
| 36 namespace ui { | 28 namespace ui { |
| 37 class WindowAndroid; | 29 class WindowAndroid; |
| 38 struct DidOverscrollParams; | 30 struct DidOverscrollParams; |
| 39 } | 31 } |
| 40 | 32 |
| 41 namespace content { | 33 namespace content { |
| 42 | 34 |
| 43 class RenderWidgetHostViewAndroid; | 35 class RenderWidgetHostViewAndroid; |
| 44 class SynchronousCompositorClient; | 36 class SynchronousCompositorClient; |
| 45 class SynchronousCompositorBrowserFilter; | 37 class SynchronousCompositorBrowserFilter; |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 bool need_animate_scroll_; | 114 bool need_animate_scroll_; |
| 123 uint32_t need_invalidate_count_; | 115 uint32_t need_invalidate_count_; |
| 124 uint32_t did_activate_pending_tree_count_; | 116 uint32_t did_activate_pending_tree_count_; |
| 125 | 117 |
| 126 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorHost); | 118 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorHost); |
| 127 }; | 119 }; |
| 128 | 120 |
| 129 } // namespace content | 121 } // namespace content |
| 130 | 122 |
| 131 #endif // CONTENT_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_HOST_H_ | 123 #endif // CONTENT_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_HOST_H_ |
| OLD | NEW |