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

Unified Diff: skia/ext/skia_utils_win.h

Issue 1467403002: Move Windows DC-initialization to skia_utils_win.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move-metafile-from-device
Patch Set: Rebase again Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « skia/ext/platform_device_win.cc ('k') | skia/ext/skia_utils_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/skia_utils_win.h
diff --git a/skia/ext/skia_utils_win.h b/skia/ext/skia_utils_win.h
index 379cba12004fb2695cd288cb6b4ee945172f7365..b116efe19e2625cb896bcbd33f93d11e59266407 100644
--- a/skia/ext/skia_utils_win.h
+++ b/skia/ext/skia_utils_win.h
@@ -7,6 +7,9 @@
#include "third_party/skia/include/core/SkColor.h"
+#include "build/build_config.h"
+#include <windows.h>
+
struct SkIRect;
struct SkPoint;
struct SkRect;
@@ -43,6 +46,9 @@ SK_API SkColor COLORREFToSkColor(COLORREF color);
// Converts ARGB to COLORREFs (0BGR).
SK_API COLORREF SkColorToCOLORREF(SkColor color);
+// Initializes the default settings and colors in a device context.
+SK_API void InitializeDC(HDC context);
+
} // namespace skia
#endif // SKIA_EXT_SKIA_UTILS_WIN_H_
« no previous file with comments | « skia/ext/platform_device_win.cc ('k') | skia/ext/skia_utils_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698