OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <map> | 11 #include <map> |
12 #include <memory> | 12 #include <memory> |
13 #include <queue> | 13 #include <queue> |
14 | 14 |
15 #include "base/callback.h" | 15 #include "base/callback.h" |
16 #include "base/compiler_specific.h" | 16 #include "base/compiler_specific.h" |
17 #include "base/i18n/rtl.h" | 17 #include "base/i18n/rtl.h" |
18 #include "base/macros.h" | 18 #include "base/macros.h" |
19 #include "base/memory/weak_ptr.h" | 19 #include "base/memory/weak_ptr.h" |
20 #include "base/process/process.h" | 20 #include "base/process/process.h" |
21 #include "cc/input/selection.h" | 21 #include "cc/input/selection.h" |
22 #include "cc/output/begin_frame_args.h" | 22 #include "cc/output/begin_frame_args.h" |
23 #include "cc/scheduler/begin_frame_source.h" | 23 #include "cc/scheduler/begin_frame_source.h" |
24 #include "components/viz/frame_sinks/frame_evictor.h" | 24 #include "components/viz/frame_sinks/frame_evictor.h" |
25 #include "content/browser/accessibility/browser_accessibility_manager.h" | 25 #include "content/browser/accessibility/browser_accessibility_manager.h" |
26 #include "content/browser/android/content_view_core_impl_observer.h" | 26 #include "content/browser/android/content_view_core_impl_observer.h" |
| 27 #include "content/browser/renderer_host/input/mouse_wheel_phase_handler.h" |
27 #include "content/browser/renderer_host/input/stylus_text_selector.h" | 28 #include "content/browser/renderer_host/input/stylus_text_selector.h" |
28 #include "content/browser/renderer_host/render_widget_host_view_base.h" | 29 #include "content/browser/renderer_host/render_widget_host_view_base.h" |
29 #include "content/browser/renderer_host/text_input_manager.h" | 30 #include "content/browser/renderer_host/text_input_manager.h" |
30 #include "content/common/content_export.h" | 31 #include "content/common/content_export.h" |
31 #include "content/public/browser/readback_types.h" | 32 #include "content/public/browser/readback_types.h" |
32 #include "gpu/command_buffer/common/mailbox.h" | 33 #include "gpu/command_buffer/common/mailbox.h" |
33 #include "third_party/skia/include/core/SkColor.h" | 34 #include "third_party/skia/include/core/SkColor.h" |
34 #include "ui/android/delegated_frame_host_android.h" | 35 #include "ui/android/delegated_frame_host_android.h" |
35 #include "ui/android/view_android.h" | 36 #include "ui/android/view_android.h" |
36 #include "ui/android/view_client.h" | 37 #include "ui/android/view_client.h" |
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
422 gfx::Vector2dF last_scroll_offset_; | 423 gfx::Vector2dF last_scroll_offset_; |
423 | 424 |
424 float prev_top_shown_pix_; | 425 float prev_top_shown_pix_; |
425 float prev_bottom_shown_pix_; | 426 float prev_bottom_shown_pix_; |
426 | 427 |
427 cc::mojom::MojoCompositorFrameSinkClient* renderer_compositor_frame_sink_ = | 428 cc::mojom::MojoCompositorFrameSinkClient* renderer_compositor_frame_sink_ = |
428 nullptr; | 429 nullptr; |
429 | 430 |
430 base::ObserverList<DestructionObserver> destruction_observers_; | 431 base::ObserverList<DestructionObserver> destruction_observers_; |
431 | 432 |
| 433 MouseWheelPhaseHandler mouse_wheel_phase_handler_; |
| 434 |
432 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 435 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
433 | 436 |
434 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 437 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
435 }; | 438 }; |
436 | 439 |
437 } // namespace content | 440 } // namespace content |
438 | 441 |
439 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 442 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |