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: chrome/browser/chromeos/system_key_event_listener.cc

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.cc
diff --git a/chrome/browser/chromeos/system_key_event_listener.cc b/chrome/browser/chromeos/system_key_event_listener.cc
index 0789c5b3b7579fe315d45844a11784c3542291c4..6b52185679714474db4a4f7efab2eb01b5f235b6 100644
--- a/chrome/browser/chromeos/system_key_event_listener.cc
+++ b/chrome/browser/chromeos/system_key_event_listener.cc
@@ -151,9 +151,9 @@ void SystemKeyEventListener::ProcessWmMessage(const WmIpc::Message& message,
}
}
-#if defined(TOUCH_UI)
-base::MessagePumpObserver::EventStatus
- SystemKeyEventListener::WillProcessXEvent(XEvent* xevent) {
+#if defined(TOUCH_UI) || defined(USE_AURA)
+base::EventStatus SystemKeyEventListener::WillProcessEvent(
+ const NativeEvent xevent) {
msw 2011/09/27 01:16:46 ref and naming consistency.
oshima 2011/09/27 02:12:12 Done.
return ProcessedXEvent(xevent) ? EVENT_HANDLED : EVENT_CONTINUE;
}
#else // defined(TOUCH_UI)

Powered by Google App Engine
This is Rietveld 408576698