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 | 8 |
9 #include <cmath> | 9 #include <cmath> |
10 #include <limits> | 10 #include <limits> |
(...skipping 1106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1117 | 1117 |
1118 void RenderWidgetCompositor::SetDeviceColorSpace( | 1118 void RenderWidgetCompositor::SetDeviceColorSpace( |
1119 const gfx::ColorSpace& color_space) { | 1119 const gfx::ColorSpace& color_space) { |
1120 layer_tree_host_->SetDeviceColorSpace(color_space); | 1120 layer_tree_host_->SetDeviceColorSpace(color_space); |
1121 } | 1121 } |
1122 | 1122 |
1123 void RenderWidgetCompositor::SetIsForOopif(bool is_for_oopif) { | 1123 void RenderWidgetCompositor::SetIsForOopif(bool is_for_oopif) { |
1124 is_for_oopif_ = is_for_oopif; | 1124 is_for_oopif_ = is_for_oopif; |
1125 } | 1125 } |
1126 | 1126 |
| 1127 void RenderWidgetCompositor::SetContentSourceId(uint32_t id) { |
| 1128 layer_tree_host_->SetContentSourceId(id); |
| 1129 } |
| 1130 |
1127 } // namespace content | 1131 } // namespace content |
OLD | NEW |