| 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 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 491 void SetOverscrollControllerEnabled(bool enabled); | 491 void SetOverscrollControllerEnabled(bool enabled); |
| 492 | 492 |
| 493 // Suppreses future char events until a keydown. See | 493 // Suppreses future char events until a keydown. See |
| 494 // suppress_next_char_events_. | 494 // suppress_next_char_events_. |
| 495 void SuppressNextCharEvents(); | 495 void SuppressNextCharEvents(); |
| 496 | 496 |
| 497 // Indicates whether the renderer drives the RenderWidgetHosts's size or the | 497 // Indicates whether the renderer drives the RenderWidgetHosts's size or the |
| 498 // other way around. | 498 // other way around. |
| 499 bool should_auto_resize() { return should_auto_resize_; } | 499 bool should_auto_resize() { return should_auto_resize_; } |
| 500 | 500 |
| 501 void ComputeTouchLatency(const ui::LatencyInfo& latency_info); |
| 501 void FrameSwapped(const ui::LatencyInfo& latency_info); | 502 void FrameSwapped(const ui::LatencyInfo& latency_info); |
| 502 | 503 |
| 503 // Returns the ID that uniquely describes this component to the latency | 504 // Returns the ID that uniquely describes this component to the latency |
| 504 // subsystem. | 505 // subsystem. |
| 505 int64 GetLatencyComponentId(); | 506 int64 GetLatencyComponentId(); |
| 506 | 507 |
| 507 static void CompositorFrameDrawn(const ui::LatencyInfo& latency_info); | 508 static void CompositorFrameDrawn(const ui::LatencyInfo& latency_info); |
| 508 | 509 |
| 509 // Don't check whether we expected a resize ack during layout tests. | 510 // Don't check whether we expected a resize ack during layout tests. |
| 510 static void DisableResizeAckCheckForTesting(); | 511 static void DisableResizeAckCheckForTesting(); |
| (...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 941 int64 last_input_number_; | 942 int64 last_input_number_; |
| 942 | 943 |
| 943 BrowserRenderingStats rendering_stats_; | 944 BrowserRenderingStats rendering_stats_; |
| 944 | 945 |
| 945 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 946 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 946 }; | 947 }; |
| 947 | 948 |
| 948 } // namespace content | 949 } // namespace content |
| 949 | 950 |
| 950 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 951 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |