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

Unified Diff: base/event_types.h

Issue 1446363003: Deleted OS_WIN and all Windows specific files from base. (Closed) Base URL: https://github.com/domokit/mojo.git@base_tests
Patch Set: 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 | « base/environment_unittest.cc ('k') | base/file_version_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/event_types.h
diff --git a/base/event_types.h b/base/event_types.h
index 9905800d2e8c2f1096af350a39394a24703091a2..4d018cc7997382ce8d568e977740aafa93d8dc5f 100644
--- a/base/event_types.h
+++ b/base/event_types.h
@@ -7,9 +7,7 @@
#include "build/build_config.h"
-#if defined(OS_WIN)
-#include <windows.h>
-#elif defined(USE_X11)
+#if defined(USE_X11)
typedef union _XEvent XEvent;
#elif defined(OS_MACOSX)
#if defined(__OBJC__)
@@ -22,9 +20,7 @@ class NSEvent;
namespace base {
// Cross platform typedefs for native event types.
-#if defined(OS_WIN)
-typedef MSG NativeEvent;
-#elif defined(USE_X11)
+#if defined(USE_X11)
typedef XEvent* NativeEvent;
#elif defined(OS_MACOSX)
typedef NSEvent* NativeEvent;
« no previous file with comments | « base/environment_unittest.cc ('k') | base/file_version_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698