Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "android_webview/browser/child_frame.h" | 5 #include "android_webview/browser/child_frame.h" |
| 6 | 6 |
| 7 #include "cc/output/compositor_frame.h" | 7 #include "cc/output/compositor_frame.h" |
| 8 | 8 |
| 9 namespace android_webview { | 9 namespace android_webview { |
| 10 | 10 |
| 11 ChildFrame::ChildFrame(uint32_t output_surface_id, | 11 // ChildFrame::ChildFrame(uint32_t output_surface_id, |
|
boliu
2016/09/16 16:26:12
ditto
ojars
2016/09/19 22:02:36
Done.
| |
| 12 std::unique_ptr<cc::CompositorFrame> frame, | 12 // std::unique_ptr<cc::CompositorFrame> frame, |
| 13 const CompositorID& compositor_id, | 13 ChildFrame::ChildFrame( |
| 14 bool viewport_rect_for_tile_priority_empty, | 14 scoped_refptr<content::SynchronousCompositor::FrameFuture> frame_future, |
| 15 const gfx::Transform& transform_for_tile_priority, | 15 const CompositorID& compositor_id, |
| 16 bool offscreen_pre_raster, | 16 bool viewport_rect_for_tile_priority_empty, |
| 17 bool is_layer) | 17 const gfx::Transform& transform_for_tile_priority, |
| 18 : output_surface_id(output_surface_id), | 18 bool offscreen_pre_raster, |
| 19 frame(std::move(frame)), | 19 bool is_layer) |
| 20 // : output_surface_id(output_surface_id), | |
|
boliu
2016/09/16 16:26:12
ditto
ojars
2016/09/19 22:02:37
Done.
| |
| 21 // frame(std::move(frame)), | |
| 22 : frame_future(frame_future), | |
| 20 compositor_id(compositor_id), | 23 compositor_id(compositor_id), |
| 21 viewport_rect_for_tile_priority_empty( | 24 viewport_rect_for_tile_priority_empty( |
| 22 viewport_rect_for_tile_priority_empty), | 25 viewport_rect_for_tile_priority_empty), |
| 23 transform_for_tile_priority(transform_for_tile_priority), | 26 transform_for_tile_priority(transform_for_tile_priority), |
| 24 offscreen_pre_raster(offscreen_pre_raster), | 27 offscreen_pre_raster(offscreen_pre_raster), |
| 25 is_layer(is_layer) {} | 28 is_layer(is_layer) {} |
| 26 | 29 |
| 27 ChildFrame::~ChildFrame() { | 30 ChildFrame::~ChildFrame() { |
| 28 } | 31 } |
| 29 | 32 |
| 30 } // namespace webview | 33 } // namespace webview |
| OLD | NEW |