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 816 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 | 834 // Timer used to batch together mouse wheel events for the delegate |
835 // OnUserInteraction method. A wheel event is only dispatched when a wheel | 835 // OnUserInteraction method. A wheel event is only dispatched when a wheel |
836 // event has not been seen for kMouseWheelCoalesceInterval seconds prior. | 836 // event has not been seen for kMouseWheelCoalesceInterval seconds prior. |
| 837 // TODO(dominickn): remove this when GestureScrollBegin has landed. |
837 scoped_ptr<base::ElapsedTimer> mouse_wheel_coalesce_timer_; | 838 scoped_ptr<base::ElapsedTimer> mouse_wheel_coalesce_timer_; |
838 | 839 |
839 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; | 840 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; |
840 | 841 |
841 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 842 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
842 }; | 843 }; |
843 | 844 |
844 } // namespace content | 845 } // namespace content |
845 | 846 |
846 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 847 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
OLD | NEW |