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 791 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
802 // by the renderer. | 802 // by the renderer. |
803 int in_flight_event_count_; | 803 int in_flight_event_count_; |
804 | 804 |
805 // Flag to detect recursive calls to GetBackingStore(). | 805 // Flag to detect recursive calls to GetBackingStore(). |
806 bool in_get_backing_store_; | 806 bool in_get_backing_store_; |
807 | 807 |
808 // Used for UMA histogram logging to measure the time for a repaint view | 808 // Used for UMA histogram logging to measure the time for a repaint view |
809 // operation to finish. | 809 // operation to finish. |
810 base::TimeTicks repaint_start_time_; | 810 base::TimeTicks repaint_start_time_; |
811 | 811 |
| 812 // Used for UMA histogram logging to measure how long the renderer is hanging |
| 813 base::TimeTicks hang_start_time_; |
| 814 |
812 // Set to true if we shouldn't send input events from the render widget. | 815 // Set to true if we shouldn't send input events from the render widget. |
813 bool ignore_input_events_; | 816 bool ignore_input_events_; |
814 | 817 |
815 // Set when we update the text direction of the selected input element. | 818 // Set when we update the text direction of the selected input element. |
816 bool text_direction_updated_; | 819 bool text_direction_updated_; |
817 blink::WebTextDirection text_direction_; | 820 blink::WebTextDirection text_direction_; |
818 | 821 |
819 // Set when we cancel updating the text direction. | 822 // Set when we cancel updating the text direction. |
820 // This flag also ignores succeeding update requests until we call | 823 // This flag also ignores succeeding update requests until we call |
821 // NotifyTextDirection(). | 824 // NotifyTextDirection(). |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
928 float last_device_scale_factor_; | 931 float last_device_scale_factor_; |
929 | 932 |
930 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; | 933 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; |
931 | 934 |
932 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 935 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
933 }; | 936 }; |
934 | 937 |
935 } // namespace content | 938 } // namespace content |
936 | 939 |
937 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 940 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
OLD | NEW |