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

Unified Diff: ui/gfx/path_win.cc

Issue 909183002: win/aura: Remove some more non-aura code for Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 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
« no previous file with comments | « printing/printing_context_win.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/path_win.cc
diff --git a/ui/gfx/path_win.cc b/ui/gfx/path_win.cc
index 0f55253b0fe719a5815301f362d7f0469b90874a..e6a915b3306968b8133475aa68d16a613d8a2545 100644
--- a/ui/gfx/path_win.cc
+++ b/ui/gfx/path_win.cc
@@ -32,34 +32,4 @@ HRGN CreateHRGNFromSkPath(const SkPath& path) {
return CreateHRGNFromSkRegion(region);
}
-// See path_aura.cc for Aura definition of these methods:
-#if !defined(USE_AURA)
-
-NativeRegion Path::CreateNativeRegion() const {
- return CreateHRGNFromSkPath(*this);
-}
-
-// static
-NativeRegion Path::IntersectRegions(NativeRegion r1, NativeRegion r2) {
- HRGN dest = CreateRectRgn(0, 0, 1, 1);
- CombineRgn(dest, r1, r2, RGN_AND);
- return dest;
-}
-
-// static
-NativeRegion Path::CombineRegions(NativeRegion r1, NativeRegion r2) {
- HRGN dest = CreateRectRgn(0, 0, 1, 1);
- CombineRgn(dest, r1, r2, RGN_OR);
- return dest;
-}
-
-// static
-NativeRegion Path::SubtractRegion(NativeRegion r1, NativeRegion r2) {
- HRGN dest = CreateRectRgn(0, 0, 1, 1);
- CombineRgn(dest, r1, r2, RGN_DIFF);
- return dest;
-}
-
-#endif
-
} // namespace gfx
« no previous file with comments | « printing/printing_context_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698