Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(604)

Unified Diff: android_webview/browser/child_frame.cc

Issue 1001643004: Remove android webview rendering cruft (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename var Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « android_webview/browser/child_frame.h ('k') | android_webview/browser/hardware_renderer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/child_frame.cc
diff --git a/android_webview/browser/child_frame.cc b/android_webview/browser/child_frame.cc
new file mode 100644
index 0000000000000000000000000000000000000000..f516edce8da20156671fe8f89614dc98db1458b2
--- /dev/null
+++ b/android_webview/browser/child_frame.cc
@@ -0,0 +1,26 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "android_webview/browser/child_frame.h"
+
+#include "cc/output/compositor_frame.h"
+
+namespace android_webview {
+
+ChildFrame::ChildFrame(scoped_ptr<cc::CompositorFrame> frame,
+ const gfx::Rect& viewport_rect_for_tile_priority,
+ const gfx::Transform& transform_for_tile_priority,
+ bool offscreen_pre_raster,
+ bool is_layer)
+ : frame(frame.Pass()),
+ viewport_rect_for_tile_priority(viewport_rect_for_tile_priority),
+ transform_for_tile_priority(transform_for_tile_priority),
+ offscreen_pre_raster(offscreen_pre_raster),
+ is_layer(is_layer) {
+}
+
+ChildFrame::~ChildFrame() {
+}
+
+} // namespace webview
« no previous file with comments | « android_webview/browser/child_frame.h ('k') | android_webview/browser/hardware_renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698