OLD | NEW |
| (Empty) |
1 // Copyright (c) 2010 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. | |
4 | |
5 #include "chrome/browser/renderer_host/test/test_backing_store.h" | |
6 | |
7 TestBackingStore::TestBackingStore(RenderWidgetHost* widget, | |
8 const gfx::Size& size) | |
9 : BackingStore(widget, size) { | |
10 } | |
11 | |
12 TestBackingStore::~TestBackingStore() { | |
13 } | |
14 | |
15 void TestBackingStore::PaintToBackingStore( | |
16 RenderProcessHost* process, | |
17 TransportDIB::Id bitmap, | |
18 const gfx::Rect& bitmap_rect, | |
19 const std::vector<gfx::Rect>& copy_rects) { | |
20 } | |
21 | |
22 bool TestBackingStore::CopyFromBackingStore(const gfx::Rect& rect, | |
23 skia::PlatformCanvas* output) { | |
24 return false; | |
25 } | |
26 | |
27 void TestBackingStore::ScrollBackingStore(int dx, int dy, | |
28 const gfx::Rect& clip_rect, | |
29 const gfx::Size& view_size) { | |
30 } | |
OLD | NEW |