Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(844)

Side by Side Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 2813103003: VR: Stop mouse move events when scrolling/fling (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 863 matching lines...) Expand 10 before | Expand all | Expand 10 after
874 // then touch events are sent to the renderer. Otherwise, the touch events are 874 // then touch events are sent to the renderer. Otherwise, the touch events are
875 // not sent to the renderer. 875 // not sent to the renderer.
876 bool has_touch_handler_; 876 bool has_touch_handler_;
877 877
878 // TODO(wjmaclean) Remove the code for supporting resending gesture events 878 // TODO(wjmaclean) Remove the code for supporting resending gesture events
879 // when WebView transitions to OOPIF and BrowserPlugin is removed. 879 // when WebView transitions to OOPIF and BrowserPlugin is removed.
880 // http://crbug.com/533069 880 // http://crbug.com/533069
881 bool is_in_touchpad_gesture_scroll_; 881 bool is_in_touchpad_gesture_scroll_;
882 bool is_in_touchscreen_gesture_scroll_; 882 bool is_in_touchscreen_gesture_scroll_;
883 883
884 bool is_in_touchpad_gesture_fling_;
885
884 std::unique_ptr<SyntheticGestureController> synthetic_gesture_controller_; 886 std::unique_ptr<SyntheticGestureController> synthetic_gesture_controller_;
885 887
886 std::unique_ptr<TouchEmulator> touch_emulator_; 888 std::unique_ptr<TouchEmulator> touch_emulator_;
887 889
888 // Receives and handles all input events. 890 // Receives and handles all input events.
889 std::unique_ptr<InputRouter> input_router_; 891 std::unique_ptr<InputRouter> input_router_;
890 892
891 std::unique_ptr<TimeoutMonitor> hang_monitor_timeout_; 893 std::unique_ptr<TimeoutMonitor> hang_monitor_timeout_;
892 894
893 std::unique_ptr<TimeoutMonitor> new_content_rendering_timeout_; 895 std::unique_ptr<TimeoutMonitor> new_content_rendering_timeout_;
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
974 std::queue<std::pair<uint32_t, std::vector<IPC::Message>>> queued_messages_; 976 std::queue<std::pair<uint32_t, std::vector<IPC::Message>>> queued_messages_;
975 977
976 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; 978 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
977 979
978 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 980 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
979 }; 981 };
980 982
981 } // namespace content 983 } // namespace content
982 984
983 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 985 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698