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

Unified Diff: chrome/browser/chromeos/system_key_event_listener.h

Issue 8021009: Consolidate message observer API for win and aura (and touch). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 9 years, 3 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
Index: chrome/browser/chromeos/system_key_event_listener.h
diff --git a/chrome/browser/chromeos/system_key_event_listener.h b/chrome/browser/chromeos/system_key_event_listener.h
index faf3f8998a0b2415817e006255b8234f3f36580e..1a890540fda3646265ba336b46e734a06e1e1bdf 100644
--- a/chrome/browser/chromeos/system_key_event_listener.h
+++ b/chrome/browser/chromeos/system_key_event_listener.h
@@ -51,9 +51,10 @@ class SystemKeyEventListener : public WmMessageListener::Observer,
SystemKeyEventListener();
virtual ~SystemKeyEventListener();
-#if defined(TOUCH_UI)
+#if defined(TOUCH_UI) || defined(USE_AURA)
// MessageLoopForUI::Observer overrides.
- virtual EventStatus WillProcessXEvent(XEvent* xevent) OVERRIDE;
+ virtual EventStatus WillProcessEvent(const NativeEvent xevent) OVERRIDE;
msw 2011/09/27 01:16:46 Pass-by-ref and naming (if the declaration isn't l
oshima 2011/09/27 02:12:12 Done.
+ virtual void WillProcessEvent(const NativeEvent xevent) OVERRIDE;
#else
// This event filter intercepts events before they reach GDK, allowing us to
// check for system level keyboard events regardless of which window has

Powered by Google App Engine
This is Rietveld 408576698