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

Side by Side Diff: chrome/browser/renderer_host/test/test_backing_store.cc

Issue 3834003: On Windows, create a new TransportDIB::Handle struct which includes the file (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Rebase Created 10 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 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 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 "chrome/browser/renderer_host/test/test_backing_store.h" 5 #include "chrome/browser/renderer_host/test/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 RenderProcessHost* process,
17 TransportDIB::Id bitmap, 17 TransportDIB::Id dib_id,
18 TransportDIB::Handle dib_handle,
18 const gfx::Rect& bitmap_rect, 19 const gfx::Rect& bitmap_rect,
19 const std::vector<gfx::Rect>& copy_rects, 20 const std::vector<gfx::Rect>& copy_rects,
20 bool* painted_synchronously) { 21 bool* painted_synchronously) {
21 } 22 }
22 23
23 bool TestBackingStore::CopyFromBackingStore(const gfx::Rect& rect, 24 bool TestBackingStore::CopyFromBackingStore(const gfx::Rect& rect,
24 skia::PlatformCanvas* output) { 25 skia::PlatformCanvas* output) {
25 return false; 26 return false;
26 } 27 }
27 28
28 void TestBackingStore::ScrollBackingStore(int dx, int dy, 29 void TestBackingStore::ScrollBackingStore(int dx, int dy,
29 const gfx::Rect& clip_rect, 30 const gfx::Rect& clip_rect,
30 const gfx::Size& view_size) { 31 const gfx::Size& view_size) {
31 } 32 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698