| 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 <list> | 8 #include <list> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 799 bool suppress_next_char_events_; | 799 bool suppress_next_char_events_; |
| 800 | 800 |
| 801 bool pending_mouse_lock_request_; | 801 bool pending_mouse_lock_request_; |
| 802 bool allow_privileged_mouse_lock_; | 802 bool allow_privileged_mouse_lock_; |
| 803 | 803 |
| 804 // Keeps track of whether the webpage has any touch event handler. If it does, | 804 // Keeps track of whether the webpage has any touch event handler. If it does, |
| 805 // then touch events are sent to the renderer. Otherwise, the touch events are | 805 // then touch events are sent to the renderer. Otherwise, the touch events are |
| 806 // not sent to the renderer. | 806 // not sent to the renderer. |
| 807 bool has_touch_handler_; | 807 bool has_touch_handler_; |
| 808 | 808 |
| 809 // TODO(wjmaclean) Remove the code for supporting resending gesture events |
| 810 // when WebView transitions to OOPIF and BrowserPlugin is removed. |
| 811 // http://crbug.com/533069 |
| 812 bool is_in_gesture_scroll_; |
| 813 |
| 809 scoped_ptr<SyntheticGestureController> synthetic_gesture_controller_; | 814 scoped_ptr<SyntheticGestureController> synthetic_gesture_controller_; |
| 810 | 815 |
| 811 scoped_ptr<TouchEmulator> touch_emulator_; | 816 scoped_ptr<TouchEmulator> touch_emulator_; |
| 812 | 817 |
| 813 // Receives and handles all input events. | 818 // Receives and handles all input events. |
| 814 scoped_ptr<InputRouter> input_router_; | 819 scoped_ptr<InputRouter> input_router_; |
| 815 | 820 |
| 816 scoped_ptr<TimeoutMonitor> hang_monitor_timeout_; | 821 scoped_ptr<TimeoutMonitor> hang_monitor_timeout_; |
| 817 | 822 |
| 818 scoped_ptr<TimeoutMonitor> new_content_rendering_timeout_; | 823 scoped_ptr<TimeoutMonitor> new_content_rendering_timeout_; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 838 bool is_focused_; | 843 bool is_focused_; |
| 839 | 844 |
| 840 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; | 845 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; |
| 841 | 846 |
| 842 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 847 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 843 }; | 848 }; |
| 844 | 849 |
| 845 } // namespace content | 850 } // namespace content |
| 846 | 851 |
| 847 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 852 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |