| 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_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 751 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 762 bool allow_privileged_mouse_lock_; | 762 bool allow_privileged_mouse_lock_; |
| 763 | 763 |
| 764 // Keeps track of whether the webpage has any touch event handler. If it does, | 764 // Keeps track of whether the webpage has any touch event handler. If it does, |
| 765 // then touch events are sent to the renderer. Otherwise, the touch events are | 765 // then touch events are sent to the renderer. Otherwise, the touch events are |
| 766 // not sent to the renderer. | 766 // not sent to the renderer. |
| 767 bool has_touch_handler_; | 767 bool has_touch_handler_; |
| 768 | 768 |
| 769 // TODO(wjmaclean) Remove the code for supporting resending gesture events | 769 // TODO(wjmaclean) Remove the code for supporting resending gesture events |
| 770 // when WebView transitions to OOPIF and BrowserPlugin is removed. | 770 // when WebView transitions to OOPIF and BrowserPlugin is removed. |
| 771 // http://crbug.com/533069 | 771 // http://crbug.com/533069 |
| 772 bool is_in_gesture_scroll_; | 772 bool is_in_touchpad_gesture_scroll_; |
| 773 bool is_in_touchscreen_gesture_scroll_; |
| 773 | 774 |
| 774 scoped_ptr<SyntheticGestureController> synthetic_gesture_controller_; | 775 scoped_ptr<SyntheticGestureController> synthetic_gesture_controller_; |
| 775 | 776 |
| 776 scoped_ptr<TouchEmulator> touch_emulator_; | 777 scoped_ptr<TouchEmulator> touch_emulator_; |
| 777 | 778 |
| 778 // Receives and handles all input events. | 779 // Receives and handles all input events. |
| 779 scoped_ptr<InputRouter> input_router_; | 780 scoped_ptr<InputRouter> input_router_; |
| 780 | 781 |
| 781 scoped_ptr<TimeoutMonitor> hang_monitor_timeout_; | 782 scoped_ptr<TimeoutMonitor> hang_monitor_timeout_; |
| 782 | 783 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 822 base::TimeDelta new_content_rendering_delay_; | 823 base::TimeDelta new_content_rendering_delay_; |
| 823 | 824 |
| 824 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; | 825 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; |
| 825 | 826 |
| 826 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 827 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 827 }; | 828 }; |
| 828 | 829 |
| 829 } // namespace content | 830 } // namespace content |
| 830 | 831 |
| 831 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 832 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |