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

Unified Diff: chrome/common/bitmap_wire_data.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/common/bitmap_wire_data.h
diff --git a/chrome/common/bitmap_wire_data.h b/chrome/common/bitmap_wire_data.h
deleted file mode 100644
index c4e1edd1a474ceb8cfbf091a0858cad8dbe3a368..0000000000000000000000000000000000000000
--- a/chrome/common/bitmap_wire_data.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright (c) 2006-2008 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.
-
-#ifndef CHROME_COMMON_BITMAP_WIRE_DATA_H_
-#define CHROME_COMMON_BITMAP_WIRE_DATA_H_
-
-#if defined(OS_POSIX)
-class SkBitmap;
-#endif
-
-// BitmapWireData is the type of the bitmap data which is carried from renderer
-// to browser over the wire.
-
-#if defined(OS_WIN)
-
-// On Windows, the bitmap data is carried out-of-band in a shared memory
-// segment. This is the handle to the shared memory. These handles are valid
-// only in the context of the renderer process.
-// TODO(agl): get a clarification on that last sentence. It doesn't make any
-// sense to me
-typedef HANDLE BitmapWireData;
-
-#elif defined(OS_POSIX)
-
-// On POSIX, we currently serialise the bitmap data over the wire. This will
-// change at some point when we too start using shared memory, but we wish to
-// use shared memory in a different way so this is a temporary work-around.
-// TODO(port): implement drawing with shared backing stores and replace this
-// with an IPC no-op type.
-typedef SkBitmap BitmapWireData;
-
-#endif // defined(OS_WIN)
-
-#endif // CHROME_COMMON_BITMAP_WIRE_DATA_H_

Powered by Google App Engine
This is Rietveld 408576698