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.
5 #include "android_webview/browser/child_frame.h"
7 #include "cc/output/compositor_frame.h"
9 namespace android_webview
{
11 ChildFrame::ChildFrame(scoped_ptr
<cc::CompositorFrame
> frame
,
12 const gfx::Rect
& viewport_rect_for_tile_priority
,
13 const gfx::Transform
& transform_for_tile_priority
,
14 bool offscreen_pre_raster
,
16 : frame(frame
.Pass()),
17 viewport_rect_for_tile_priority(viewport_rect_for_tile_priority
),
18 transform_for_tile_priority(transform_for_tile_priority
),
19 offscreen_pre_raster(offscreen_pre_raster
),
23 ChildFrame::~ChildFrame() {
26 } // namespace webview