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

Unified Diff: chrome/browser/renderer_host/backing_store.h

Issue 21485: Bitmap transport (Closed)
Patch Set: Fix some mac crashes Created 11 years, 10 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
Index: chrome/browser/renderer_host/backing_store.h
diff --git a/chrome/browser/renderer_host/backing_store.h b/chrome/browser/renderer_host/backing_store.h
index 29415a87c31e56a5a2d545270d439ae56c999462..e6113f5b72b59f71596b041f4f966817b58bb8e1 100644
--- a/chrome/browser/renderer_host/backing_store.h
+++ b/chrome/browser/renderer_host/backing_store.h
@@ -10,7 +10,6 @@
#include "base/gfx/size.h"
#include "base/process.h"
#include "build/build_config.h"
-#include "chrome/common/bitmap_wire_data.h"
#include "chrome/common/mru_cache.h"
#if defined(OS_WIN)
@@ -20,6 +19,7 @@
#endif
class RenderWidgetHost;
+class TransportDIB;
// BackingStore ----------------------------------------------------------------
@@ -39,14 +39,14 @@ class BackingStore {
// Paints the bitmap from the renderer onto the backing store.
bool PaintRect(base::ProcessHandle process,
- BitmapWireData bitmap_section,
+ TransportDIB* bitmap,
const gfx::Rect& bitmap_rect);
// Scrolls the given rect in the backing store, replacing the given region
// identified by |bitmap_rect| by the bitmap in the file identified by the
// given file handle.
void ScrollRect(base::ProcessHandle process,
- BitmapWireData bitmap, const gfx::Rect& bitmap_rect,
+ TransportDIB* bitmap, const gfx::Rect& bitmap_rect,
int dx, int dy,
const gfx::Rect& clip_rect,
const gfx::Size& view_size);
@@ -113,7 +113,7 @@ class BackingStoreManager {
static BackingStore* PrepareBackingStore(RenderWidgetHost* host,
const gfx::Rect& backing_store_rect,
base::ProcessHandle process_handle,
- BitmapWireData bitmap_section,
+ TransportDIB* bitmap,
const gfx::Rect& bitmap_rect,
bool* needs_full_paint);

Powered by Google App Engine
This is Rietveld 408576698