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

Side by Side Diff: content/browser/renderer_host/test_backing_store.cc

Issue 8515027: Define the public version of the browser side RenderProcessHost interface. This interface is not ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/renderer_host/test_backing_store.h" 5 #include "content/browser/renderer_host/test_backing_store.h"
6 6
7 TestBackingStore::TestBackingStore(RenderWidgetHost* widget, 7 TestBackingStore::TestBackingStore(RenderWidgetHost* widget,
8 const gfx::Size& size) 8 const gfx::Size& size)
9 : BackingStore(widget, size) { 9 : BackingStore(widget, size) {
10 } 10 }
11 11
12 TestBackingStore::~TestBackingStore() { 12 TestBackingStore::~TestBackingStore() {
13 } 13 }
14 14
15 void TestBackingStore::PaintToBackingStore( 15 void TestBackingStore::PaintToBackingStore(
16 RenderProcessHost* process, 16 content::RenderProcessHost* process,
17 TransportDIB::Id bitmap, 17 TransportDIB::Id bitmap,
18 const gfx::Rect& bitmap_rect, 18 const gfx::Rect& bitmap_rect,
19 const std::vector<gfx::Rect>& copy_rects, 19 const std::vector<gfx::Rect>& copy_rects,
20 const base::Closure& completion_callback, 20 const base::Closure& completion_callback,
21 bool* scheduled_completion_callback) { 21 bool* scheduled_completion_callback) {
22 *scheduled_completion_callback = false; 22 *scheduled_completion_callback = false;
23 } 23 }
24 24
25 bool TestBackingStore::CopyFromBackingStore(const gfx::Rect& rect, 25 bool TestBackingStore::CopyFromBackingStore(const gfx::Rect& rect,
26 skia::PlatformCanvas* output) { 26 skia::PlatformCanvas* output) {
27 return false; 27 return false;
28 } 28 }
29 29
30 void TestBackingStore::ScrollBackingStore(int dx, int dy, 30 void TestBackingStore::ScrollBackingStore(int dx, int dy,
31 const gfx::Rect& clip_rect, 31 const gfx::Rect& clip_rect,
32 const gfx::Size& view_size) { 32 const gfx::Size& view_size) {
33 } 33 }
OLDNEW
« no previous file with comments | « content/browser/renderer_host/test_backing_store.h ('k') | content/browser/renderer_host/test_render_view_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698