| 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 <deque> | 8 #include <deque> |
| 9 #include <list> | 9 #include <list> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 792 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 803 // This value denotes the number of input events yet to be acknowledged | 803 // This value denotes the number of input events yet to be acknowledged |
| 804 // by the renderer. | 804 // by the renderer. |
| 805 int in_flight_event_count_; | 805 int in_flight_event_count_; |
| 806 | 806 |
| 807 // This timer runs to check if time_when_considered_hung_ has past. | 807 // This timer runs to check if time_when_considered_hung_ has past. |
| 808 base::OneShotTimer<RenderWidgetHostImpl> hung_renderer_timer_; | 808 base::OneShotTimer<RenderWidgetHostImpl> hung_renderer_timer_; |
| 809 | 809 |
| 810 // Flag to detect recursive calls to GetBackingStore(). | 810 // Flag to detect recursive calls to GetBackingStore(). |
| 811 bool in_get_backing_store_; | 811 bool in_get_backing_store_; |
| 812 | 812 |
| 813 // Set when we call DidPaintRect/DidScrollRect on the view. | |
| 814 bool view_being_painted_; | |
| 815 | |
| 816 // Used for UMA histogram logging to measure the time for a repaint view | 813 // Used for UMA histogram logging to measure the time for a repaint view |
| 817 // operation to finish. | 814 // operation to finish. |
| 818 base::TimeTicks repaint_start_time_; | 815 base::TimeTicks repaint_start_time_; |
| 819 | 816 |
| 820 // Set to true if we shouldn't send input events from the render widget. | 817 // Set to true if we shouldn't send input events from the render widget. |
| 821 bool ignore_input_events_; | 818 bool ignore_input_events_; |
| 822 | 819 |
| 823 // Indicates whether IME is active. | 820 // Indicates whether IME is active. |
| 824 bool input_method_active_; | 821 bool input_method_active_; |
| 825 | 822 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 876 #endif | 873 #endif |
| 877 | 874 |
| 878 int64 last_input_number_; | 875 int64 last_input_number_; |
| 879 | 876 |
| 880 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 877 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 881 }; | 878 }; |
| 882 | 879 |
| 883 } // namespace content | 880 } // namespace content |
| 884 | 881 |
| 885 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 882 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |