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

Unified Diff: ui/gfx/gdi_util.h

Issue 1492353002: Consolidate Windows bitmap and DC code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move-printing-dc-from-device
Patch Set: remove !_WIN64 restriction on error reporting Created 4 years, 6 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: ui/gfx/gdi_util.h
diff --git a/ui/gfx/gdi_util.h b/ui/gfx/gdi_util.h
index d53fa7a8de41f19b7e9abb9a02e31e2f27a8d08d..9c7833c845660f35db3e4cbe91d4630af7b1727a 100644
--- a/ui/gfx/gdi_util.h
+++ b/ui/gfx/gdi_util.h
@@ -14,26 +14,12 @@
namespace gfx {
-// Creates a BITMAPINFOHEADER structure given the bitmap's size.
-GFX_EXPORT void CreateBitmapHeader(int width, int height,
- BITMAPINFOHEADER* hdr);
-
// Creates a BITMAPV4HEADER structure given the bitmap's size. You probably
// only need to use BMP V4 if you need transparency (alpha channel). This
// function sets the AlphaMask to 0xff000000.
GFX_EXPORT void CreateBitmapV4Header(int width, int height,
BITMAPV4HEADER* hdr);
-// Creates a monochrome bitmap header.
-void CreateMonochromeBitmapHeader(int width, int height, BITMAPINFOHEADER* hdr);
-
-// Modify the given hrgn by subtracting the given rectangles.
-GFX_EXPORT void SubtractRectanglesFromRegion(
- HRGN hrgn,
- const std::vector<gfx::Rect>& cutouts);
-
-GFX_EXPORT HRGN ConvertPathToHRGN(const gfx::Path& path);
-
// Calculate scale to fit an entire page on DC.
GFX_EXPORT float CalculatePageScale(HDC dc, int page_width, int page_height);

Powered by Google App Engine
This is Rietveld 408576698