summaryrefslogtreecommitdiffstats
path: root/content/browser/renderer_host/test_backing_store.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/renderer_host/test_backing_store.cc')
-rw-r--r--content/browser/renderer_host/test_backing_store.cc30
1 files changed, 30 insertions, 0 deletions
diff --git a/content/browser/renderer_host/test_backing_store.cc b/content/browser/renderer_host/test_backing_store.cc
new file mode 100644
index 0000000..e0c2694
--- /dev/null
+++ b/content/browser/renderer_host/test_backing_store.cc
@@ -0,0 +1,30 @@
+// Copyright (c) 2010 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 "content/browser/renderer_host/test_backing_store.h"
+
+TestBackingStore::TestBackingStore(RenderWidgetHost* widget,
+ const gfx::Size& size)
+ : BackingStore(widget, size) {
+}
+
+TestBackingStore::~TestBackingStore() {
+}
+
+void TestBackingStore::PaintToBackingStore(
+ RenderProcessHost* process,
+ TransportDIB::Id bitmap,
+ const gfx::Rect& bitmap_rect,
+ const std::vector<gfx::Rect>& copy_rects) {
+}
+
+bool TestBackingStore::CopyFromBackingStore(const gfx::Rect& rect,
+ skia::PlatformCanvas* output) {
+ return false;
+}
+
+void TestBackingStore::ScrollBackingStore(int dx, int dy,
+ const gfx::Rect& clip_rect,
+ const gfx::Size& view_size) {
+}