Call platform API for fallback cursor mode.

Bug: 907116
Change-Id: Ie76a13bcdbfc7014f65d92cf63d835f54cb97be5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1525353
Commit-Queue: Jianpeng Chao <[email protected]>
Reviewed-by: Ken Buchanan <[email protected]>
Reviewed-by: Avi Drissman <[email protected]>
Reviewed-by: Chris Harrelson <[email protected]>
Reviewed-by: Bo <[email protected]>
Reviewed-by: David Bokan <[email protected]>
Cr-Commit-Position: refs/heads/master@{#643026}
diff --git a/content/renderer/render_widget.cc b/content/renderer/render_widget.cc
index 8dafeb3..a82b787 100644
--- a/content/renderer/render_widget.cc
+++ b/content/renderer/render_widget.cc
@@ -3292,6 +3292,18 @@
   layer_tree_view_->layer_tree_host()->RegisterSelection(selection);
 }
 
+void RenderWidget::FallbackCursorModeLockCursor(bool left,
+                                                bool right,
+                                                bool up,
+                                                bool down) {
+  widget_input_handler_manager_->FallbackCursorModeLockCursor(left, right, up,
+                                                              down);
+}
+
+void RenderWidget::FallbackCursorModeSetCursorVisibility(bool visible) {
+  widget_input_handler_manager_->FallbackCursorModeSetCursorVisibility(visible);
+}
+
 void RenderWidget::RequestUnbufferedInputEvents() {
   if (input_event_queue_)
     input_event_queue_->RequestUnbufferedInputEvents();