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 813 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
824 // TODO(oshima): Remove this once crbug.com/563730 is addressed. | 824 // TODO(oshima): Remove this once crbug.com/563730 is addressed. |
825 bool scale_input_to_viewport_; | 825 bool scale_input_to_viewport_; |
826 | 826 |
827 // This value indicates how long to wait before we consider a renderer hung. | 827 // This value indicates how long to wait before we consider a renderer hung. |
828 base::TimeDelta hung_renderer_delay_; | 828 base::TimeDelta hung_renderer_delay_; |
829 | 829 |
830 // This value indicates how long to wait for a new compositor frame from a | 830 // This value indicates how long to wait for a new compositor frame from a |
831 // renderer process before clearing any previously displayed content. | 831 // renderer process before clearing any previously displayed content. |
832 base::TimeDelta new_content_rendering_delay_; | 832 base::TimeDelta new_content_rendering_delay_; |
833 | 833 |
834 // Timer used to batch together mouse wheel events for the delegate | |
835 // OnUserInteraction method. A wheel event is only dispatched when a wheel | |
836 // event has not been seen for kMouseWheelCoalesceInterval seconds prior. | |
837 // TODO(dominickn): remove this when GestureScrollBegin has landed. | |
838 scoped_ptr<base::ElapsedTimer> mouse_wheel_coalesce_timer_; | |
839 | |
840 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; | 834 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; |
841 | 835 |
842 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 836 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
843 }; | 837 }; |
844 | 838 |
845 } // namespace content | 839 } // namespace content |
846 | 840 |
847 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 841 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
OLD | NEW |