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 #ifndef ANDROID_WEBVIEW_BROWSER_CHILD_FRAME_H_
6 #define ANDROID_WEBVIEW_BROWSER_CHILD_FRAME_H_
8 #include "base/memory/scoped_ptr.h"
9 #include "ui/gfx/geometry/rect.h"
10 #include "ui/gfx/geometry/size.h"
11 #include "ui/gfx/transform.h"
14 class CompositorFrame
;
17 namespace android_webview
{
21 ChildFrame(scoped_ptr
<cc::CompositorFrame
> frame
,
22 const gfx::Rect
& viewport_rect_for_tile_priority
,
23 const gfx::Transform
& transform_for_tile_priority
,
24 bool offscreen_pre_raster
,
28 scoped_ptr
<cc::CompositorFrame
> frame
;
29 const gfx::Rect viewport_rect_for_tile_priority
;
30 const gfx::Transform transform_for_tile_priority
;
31 const bool offscreen_pre_raster
;
35 DISALLOW_COPY_AND_ASSIGN(ChildFrame
);
38 } // namespace webview
40 #endif // ANDROID_WEBVIEW_BROWSER_CHILD_FRAME_H_