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 #include "content/browser/renderer_host/render_widget_host_impl.h" | 5 #include "content/browser/renderer_host/render_widget_host_impl.h" |
6 | 6 |
7 #include <math.h> | 7 #include <math.h> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/auto_reset.h" | 10 #include "base/auto_reset.h" |
11 #include "base/bind.h" | 11 #include "base/bind.h" |
12 #include "base/command_line.h" | 12 #include "base/command_line.h" |
13 #include "base/debug/trace_event.h" | 13 #include "base/debug/trace_event.h" |
14 #include "base/i18n/rtl.h" | 14 #include "base/i18n/rtl.h" |
15 #include "base/lazy_instance.h" | 15 #include "base/lazy_instance.h" |
16 #include "base/message_loop.h" | 16 #include "base/message_loop.h" |
17 #include "base/metrics/field_trial.h" | 17 #include "base/metrics/field_trial.h" |
18 #include "base/metrics/histogram.h" | 18 #include "base/metrics/histogram.h" |
19 #include "base/string_number_conversions.h" | 19 #include "base/strings/string_number_conversions.h" |
20 #include "base/strings/utf_string_conversions.h" | 20 #include "base/strings/utf_string_conversions.h" |
21 #include "cc/output/compositor_frame.h" | 21 #include "cc/output/compositor_frame.h" |
22 #include "cc/output/compositor_frame_ack.h" | 22 #include "cc/output/compositor_frame_ack.h" |
23 #include "content/browser/accessibility/browser_accessibility_state_impl.h" | 23 #include "content/browser/accessibility/browser_accessibility_state_impl.h" |
24 #include "content/browser/gpu/gpu_process_host.h" | 24 #include "content/browser/gpu/gpu_process_host.h" |
25 #include "content/browser/gpu/gpu_process_host_ui_shim.h" | 25 #include "content/browser/gpu/gpu_process_host_ui_shim.h" |
26 #include "content/browser/gpu/gpu_surface_tracker.h" | 26 #include "content/browser/gpu/gpu_surface_tracker.h" |
27 #include "content/browser/renderer_host/backing_store.h" | 27 #include "content/browser/renderer_host/backing_store.h" |
28 #include "content/browser/renderer_host/backing_store_manager.h" | 28 #include "content/browser/renderer_host/backing_store_manager.h" |
29 #include "content/browser/renderer_host/dip_util.h" | 29 #include "content/browser/renderer_host/dip_util.h" |
(...skipping 2517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2547 if (!host) | 2547 if (!host) |
2548 continue; | 2548 continue; |
2549 RenderWidgetHost* rwh = host->GetRenderWidgetHostByID(routing_id); | 2549 RenderWidgetHost* rwh = host->GetRenderWidgetHostByID(routing_id); |
2550 if (!rwh) | 2550 if (!rwh) |
2551 continue; | 2551 continue; |
2552 RenderWidgetHostImpl::From(rwh)->FrameSwapped(latency_info); | 2552 RenderWidgetHostImpl::From(rwh)->FrameSwapped(latency_info); |
2553 } | 2553 } |
2554 } | 2554 } |
2555 | 2555 |
2556 } // namespace content | 2556 } // namespace content |
OLD | NEW |