| 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_RENDERER_RENDER_WIDGET_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_ |
| 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ | 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 422 const blink::WebActiveWheelFlingParameters& params) {} | 422 const blink::WebActiveWheelFlingParameters& params) {} |
| 423 | 423 |
| 424 uint32_t GetContentSourceId(); | 424 uint32_t GetContentSourceId(); |
| 425 void IncrementContentSourceId(); | 425 void IncrementContentSourceId(); |
| 426 | 426 |
| 427 // MainThreadEventQueueClient overrides. | 427 // MainThreadEventQueueClient overrides. |
| 428 | 428 |
| 429 // Requests a BeginMainFrame callback from the compositor. | 429 // Requests a BeginMainFrame callback from the compositor. |
| 430 void SetNeedsMainFrame() override; | 430 void SetNeedsMainFrame() override; |
| 431 | 431 |
| 432 int HitTestFrameAt(const gfx::Point& point); |
| 433 |
| 432 void HandleInputEvent(const blink::WebCoalescedInputEvent& input_event, | 434 void HandleInputEvent(const blink::WebCoalescedInputEvent& input_event, |
| 433 const ui::LatencyInfo& latency_info, | 435 const ui::LatencyInfo& latency_info, |
| 434 HandledEventCallback callback) override; | 436 HandledEventCallback callback) override; |
| 435 | 437 |
| 436 scoped_refptr<MainThreadEventQueue> GetInputEventQueue(); | 438 scoped_refptr<MainThreadEventQueue> GetInputEventQueue(); |
| 437 | 439 |
| 438 virtual void OnSetFocus(bool enable); | 440 virtual void OnSetFocus(bool enable); |
| 439 void OnMouseCaptureLost(); | 441 void OnMouseCaptureLost(); |
| 440 void OnCursorVisibilityChange(bool is_visible); | 442 void OnCursorVisibilityChange(bool is_visible); |
| 441 void OnSetEditCommandsForNextKeyEvent(const EditCommands& edit_commands); | 443 void OnSetEditCommandsForNextKeyEvent(const EditCommands& edit_commands); |
| (...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 910 mojo::Binding<mojom::Widget> widget_binding_; | 912 mojo::Binding<mojom::Widget> widget_binding_; |
| 911 | 913 |
| 912 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; | 914 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; |
| 913 | 915 |
| 914 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 916 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
| 915 }; | 917 }; |
| 916 | 918 |
| 917 } // namespace content | 919 } // namespace content |
| 918 | 920 |
| 919 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 921 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
| OLD | NEW |