| 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_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_PROXY_H_ | 5 #ifndef CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_PROXY_H_ |
| 6 #define CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_PROXY_H_ | 6 #define CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_PROXY_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/optional.h" | 12 #include "base/optional.h" |
| 13 #include "content/common/input/input_event_ack_state.h" | 13 #include "content/common/input/input_event_ack_state.h" |
| 14 #include "content/renderer/android/synchronous_compositor_frame_sink.h" | 14 #include "content/renderer/android/synchronous_compositor_frame_sink.h" |
| 15 #include "ui/events/blink/synchronous_input_handler_proxy.h" | 15 #include "ui/events/blink/synchronous_input_handler_proxy.h" |
| 16 #include "ui/gfx/geometry/scroll_offset.h" | 16 #include "ui/gfx/geometry/scroll_offset.h" |
| 17 #include "ui/gfx/geometry/size_f.h" | 17 #include "ui/gfx/geometry/size_f.h" |
| 18 | 18 |
| 19 class SkCanvas; | |
| 20 | |
| 21 namespace IPC { | 19 namespace IPC { |
| 22 class Message; | 20 class Message; |
| 23 class Sender; | 21 class Sender; |
| 24 } // namespace IPC | 22 } // namespace IPC |
| 25 | 23 |
| 26 namespace blink { | |
| 27 class WebInputEvent; | |
| 28 } // namespace blink | |
| 29 | |
| 30 namespace cc { | 24 namespace cc { |
| 31 class CompositorFrame; | 25 class CompositorFrame; |
| 32 } // namespace cc | 26 } // namespace cc |
| 33 | 27 |
| 34 namespace content { | 28 namespace content { |
| 35 | 29 |
| 36 class SynchronousCompositorFrameSink; | 30 class SynchronousCompositorFrameSink; |
| 37 struct SyncCompositorCommonRendererParams; | 31 struct SyncCompositorCommonRendererParams; |
| 38 struct SyncCompositorDemandDrawHwParams; | 32 struct SyncCompositorDemandDrawHwParams; |
| 39 struct SyncCompositorDemandDrawSwParams; | 33 struct SyncCompositorDemandDrawSwParams; |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 bool need_animate_scroll_; | 126 bool need_animate_scroll_; |
| 133 uint32_t need_invalidate_count_; | 127 uint32_t need_invalidate_count_; |
| 134 uint32_t did_activate_pending_tree_count_; | 128 uint32_t did_activate_pending_tree_count_; |
| 135 | 129 |
| 136 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorProxy); | 130 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorProxy); |
| 137 }; | 131 }; |
| 138 | 132 |
| 139 } // namespace content | 133 } // namespace content |
| 140 | 134 |
| 141 #endif // CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_PROXY_H_ | 135 #endif // CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_PROXY_H_ |
| OLD | NEW |