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

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: Address comments 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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 868 matching lines...) Expand 10 before | Expand all | Expand 10 after
879 // then touch events are sent to the renderer. Otherwise, the touch events are 879 // then touch events are sent to the renderer. Otherwise, the touch events are
880 // not sent to the renderer. 880 // not sent to the renderer.
881 bool has_touch_handler_; 881 bool has_touch_handler_;
882 882
883 // TODO(wjmaclean) Remove the code for supporting resending gesture events 883 // TODO(wjmaclean) Remove the code for supporting resending gesture events
884 // when WebView transitions to OOPIF and BrowserPlugin is removed. 884 // when WebView transitions to OOPIF and BrowserPlugin is removed.
885 // http://crbug.com/533069 885 // http://crbug.com/533069
886 bool is_in_touchpad_gesture_scroll_; 886 bool is_in_touchpad_gesture_scroll_;
887 bool is_in_touchscreen_gesture_scroll_; 887 bool is_in_touchscreen_gesture_scroll_;
888 888
889 bool is_in_touchpad_gesture_fling_;
890
889 std::unique_ptr<SyntheticGestureController> synthetic_gesture_controller_; 891 std::unique_ptr<SyntheticGestureController> synthetic_gesture_controller_;
890 892
891 std::unique_ptr<TouchEmulator> touch_emulator_; 893 std::unique_ptr<TouchEmulator> touch_emulator_;
892 894
893 // Receives and handles all input events. 895 // Receives and handles all input events.
894 std::unique_ptr<InputRouter> input_router_; 896 std::unique_ptr<InputRouter> input_router_;
895 897
896 std::unique_ptr<TimeoutMonitor> hang_monitor_timeout_; 898 std::unique_ptr<TimeoutMonitor> hang_monitor_timeout_;
897 899
898 std::unique_ptr<TimeoutMonitor> new_content_rendering_timeout_; 900 std::unique_ptr<TimeoutMonitor> new_content_rendering_timeout_;
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
978 std::queue<std::pair<uint32_t, std::vector<IPC::Message>>> queued_messages_; 980 std::queue<std::pair<uint32_t, std::vector<IPC::Message>>> queued_messages_;
979 981
980 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; 982 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
981 983
982 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 984 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
983 }; 985 };
984 986
985 } // namespace content 987 } // namespace content
986 988
987 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 989 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698