| 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 |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 InputEventAckState ack_result) override; | 136 InputEventAckState ack_result) override; |
| 137 InputEventAckState FilterInputEvent( | 137 InputEventAckState FilterInputEvent( |
| 138 const blink::WebInputEvent& input_event) override; | 138 const blink::WebInputEvent& input_event) override; |
| 139 void OnSetNeedsFlushInput() override; | 139 void OnSetNeedsFlushInput() override; |
| 140 void GestureEventAck(const blink::WebGestureEvent& event, | 140 void GestureEventAck(const blink::WebGestureEvent& event, |
| 141 InputEventAckState ack_result) override; | 141 InputEventAckState ack_result) override; |
| 142 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( | 142 BrowserAccessibilityManager* CreateBrowserAccessibilityManager( |
| 143 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; | 143 BrowserAccessibilityDelegate* delegate, bool for_root_frame) override; |
| 144 bool LockMouse() override; | 144 bool LockMouse() override; |
| 145 void UnlockMouse() override; | 145 void UnlockMouse() override; |
| 146 void DidCreateNewRendererCompositorFrameSink( | 146 void DidCreateNewRendererCompositorFrameSink() override; |
| 147 cc::mojom::MojoCompositorFrameSinkClient* renderer_compositor_frame_sink) | |
| 148 override; | |
| 149 void SubmitCompositorFrame(const cc::LocalSurfaceId& local_surface_id, | 147 void SubmitCompositorFrame(const cc::LocalSurfaceId& local_surface_id, |
| 150 cc::CompositorFrame frame) override; | 148 cc::CompositorFrame frame) override; |
| 151 void OnBeginFrameDidNotSwap(const cc::BeginFrameAck& ack) override; | 149 void OnBeginFrameDidNotSwap(const cc::BeginFrameAck& ack) override; |
| 152 void ClearCompositorFrame() override; | 150 void ClearCompositorFrame() override; |
| 153 void SetIsInVR(bool is_in_vr) override; | 151 void SetIsInVR(bool is_in_vr) override; |
| 154 bool IsInVR() const override; | 152 bool IsInVR() const override; |
| 155 void DidOverscroll(const ui::DidOverscrollParams& params) override; | 153 void DidOverscroll(const ui::DidOverscrollParams& params) override; |
| 156 void DidStopFlinging() override; | 154 void DidStopFlinging() override; |
| 157 void ShowDisambiguationPopup(const gfx::Rect& rect_pixels, | 155 void ShowDisambiguationPopup(const gfx::Rect& rect_pixels, |
| 158 const SkBitmap& zoomed_bitmap) override; | 156 const SkBitmap& zoomed_bitmap) override; |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 412 std::unique_ptr<viz::FrameEvictor> frame_evictor_; | 410 std::unique_ptr<viz::FrameEvictor> frame_evictor_; |
| 413 | 411 |
| 414 bool observing_root_window_; | 412 bool observing_root_window_; |
| 415 | 413 |
| 416 // The last scroll offset of the view. | 414 // The last scroll offset of the view. |
| 417 gfx::Vector2dF last_scroll_offset_; | 415 gfx::Vector2dF last_scroll_offset_; |
| 418 | 416 |
| 419 float prev_top_shown_pix_; | 417 float prev_top_shown_pix_; |
| 420 float prev_bottom_shown_pix_; | 418 float prev_bottom_shown_pix_; |
| 421 | 419 |
| 422 cc::mojom::MojoCompositorFrameSinkClient* renderer_compositor_frame_sink_ = | |
| 423 nullptr; | |
| 424 | 420 |
| 425 base::ObserverList<DestructionObserver> destruction_observers_; | 421 base::ObserverList<DestructionObserver> destruction_observers_; |
| 426 | |
| 427 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 422 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
| 428 | 423 |
| 429 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 424 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
| 430 }; | 425 }; |
| 431 | 426 |
| 432 } // namespace content | 427 } // namespace content |
| 433 | 428 |
| 434 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 429 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| OLD | NEW |