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

Unified Diff: ui/platform_window/platform_window.h

Issue 1061733002: Remove windows/mac/ios specific code from //ui (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix default try set Created 5 years, 9 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 | « ui/platform_window/DEPS ('k') | ui/platform_window/win/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/platform_window/platform_window.h
diff --git a/ui/platform_window/platform_window.h b/ui/platform_window/platform_window.h
index ac324636bda9eff88263892d3b1bb0099227f52f..a224f5a4325c877a686507cf7c9d9cda6c5cd4bd 100644
--- a/ui/platform_window/platform_window.h
+++ b/ui/platform_window/platform_window.h
@@ -11,17 +11,9 @@ namespace gfx {
class Rect;
}
-#if defined(OS_WIN)
-typedef struct HINSTANCE__* HINSTANCE;
-typedef struct HICON__* HICON;
-typedef HICON HCURSOR;
-#endif
-
namespace ui {
-#if defined(OS_WIN)
-typedef ::HCURSOR PlatformCursor;
-#elif defined(USE_X11)
+#if defined(USE_X11)
typedef unsigned long PlatformCursor;
#else
typedef void* PlatformCursor;
« no previous file with comments | « ui/platform_window/DEPS ('k') | ui/platform_window/win/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698