| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "android_webview/browser/child_frame.h" |
| 6 |
| 7 #include "cc/output/compositor_frame.h" |
| 8 |
| 9 namespace android_webview { |
| 10 |
| 11 ChildFrame::ChildFrame(scoped_ptr<cc::CompositorFrame> frame, |
| 12 const gfx::Rect& viewport_for_tile_priority, |
| 13 const gfx::Transform& transform_for_tile_priority, |
| 14 bool offscreen_pre_raster, |
| 15 bool is_layer) |
| 16 : frame(frame.Pass()), |
| 17 viewport_for_tile_priority(viewport_for_tile_priority), |
| 18 transform_for_tile_priority(transform_for_tile_priority), |
| 19 offscreen_pre_raster(offscreen_pre_raster), |
| 20 is_layer(is_layer) { |
| 21 } |
| 22 |
| 23 ChildFrame::~ChildFrame() { |
| 24 } |
| 25 |
| 26 } // namespace webview |
| OLD | NEW |