Add version checking to webview library loads.
[chromium-blink-merge.git] / android_webview / browser / child_frame.cc
blob8bb5de4aeeea5aa020e7cb685be859ef8be1a8d1
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 bool viewport_rect_for_tile_priority_empty,
13 const gfx::Transform& transform_for_tile_priority,
14 bool offscreen_pre_raster,
15 bool is_layer)
16 : frame(frame.Pass()),
17 viewport_rect_for_tile_priority_empty(
18 viewport_rect_for_tile_priority_empty),
19 transform_for_tile_priority(transform_for_tile_priority),
20 offscreen_pre_raster(offscreen_pre_raster),
21 is_layer(is_layer) {}
23 ChildFrame::~ChildFrame() {
26 } // namespace webview