OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/renderer/gpu/render_widget_compositor.h" | 5 #include "content/renderer/gpu/render_widget_compositor.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <limits> | 8 #include <limits> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
11 | 11 |
12 #include "base/command_line.h" | 12 #include "base/command_line.h" |
13 #include "base/location.h" | 13 #include "base/location.h" |
14 #include "base/logging.h" | 14 #include "base/logging.h" |
15 #include "base/numerics/safe_conversions.h" | 15 #include "base/numerics/safe_conversions.h" |
16 #include "base/single_thread_task_runner.h" | 16 #include "base/single_thread_task_runner.h" |
17 #include "base/strings/string_number_conversions.h" | 17 #include "base/strings/string_number_conversions.h" |
18 #include "base/synchronization/lock.h" | 18 #include "base/synchronization/lock.h" |
19 #include "base/sys_info.h" | 19 #include "base/sys_info.h" |
20 #include "base/thread_task_runner_handle.h" | 20 #include "base/threading/thread_task_runner_handle.h" |
21 #include "base/time/time.h" | 21 #include "base/time/time.h" |
22 #include "base/values.h" | 22 #include "base/values.h" |
23 #include "build/build_config.h" | 23 #include "build/build_config.h" |
24 #include "cc/animation/animation_host.h" | 24 #include "cc/animation/animation_host.h" |
25 #include "cc/animation/animation_timeline.h" | 25 #include "cc/animation/animation_timeline.h" |
26 #include "cc/base/switches.h" | 26 #include "cc/base/switches.h" |
27 #include "cc/blink/web_layer_impl.h" | 27 #include "cc/blink/web_layer_impl.h" |
28 #include "cc/debug/layer_tree_debug_state.h" | 28 #include "cc/debug/layer_tree_debug_state.h" |
29 #include "cc/debug/micro_benchmark.h" | 29 #include "cc/debug/micro_benchmark.h" |
30 #include "cc/input/layer_selection_bound.h" | 30 #include "cc/input/layer_selection_bound.h" |
(...skipping 1090 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1121 #endif | 1121 #endif |
1122 return actual; | 1122 return actual; |
1123 } | 1123 } |
1124 | 1124 |
1125 void RenderWidgetCompositor::SetPaintedDeviceScaleFactor( | 1125 void RenderWidgetCompositor::SetPaintedDeviceScaleFactor( |
1126 float device_scale) { | 1126 float device_scale) { |
1127 layer_tree_host_->SetPaintedDeviceScaleFactor(device_scale); | 1127 layer_tree_host_->SetPaintedDeviceScaleFactor(device_scale); |
1128 } | 1128 } |
1129 | 1129 |
1130 } // namespace content | 1130 } // namespace content |
OLD | NEW |