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

Unified Diff: base/message_pump_observer.h

Issue 8113028: Consolidate ui::NativeEvent and base::NativeEvent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync/resolve Created 9 years, 2 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 | « base/event_types.h ('k') | ui/aura/desktop.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_pump_observer.h
diff --git a/base/message_pump_observer.h b/base/message_pump_observer.h
index d12f2211c4fc9f4e175d86fbbb45eef5a9e23064..efcdebfe1a2b3ecebcfbedb2379f96cec47c5ddd 100644
--- a/base/message_pump_observer.h
+++ b/base/message_pump_observer.h
@@ -4,19 +4,12 @@
#ifndef BASE_MESSAGE_PUMP_OBSERVER_H
#define BASE_MESSAGE_PUMP_OBSERVER_H
+#pragma once
-#if defined(USE_X11)
-typedef union _XEvent XEvent;
-#endif
+#include "base/event_types.h"
namespace base {
-#if defined(OS_WIN)
-typedef MSG NativeEvent;
-#elif defined(USE_X11)
-typedef XEvent* NativeEvent;
-#endif
-
enum EventStatus {
EVENT_CONTINUE, // The event should be dispatched as normal.
#if defined(USE_X11)
« no previous file with comments | « base/event_types.h ('k') | ui/aura/desktop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698