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

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

Issue 223483002: base: Do not allow MessagePumpObservers to consume events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge-r262009 Created 6 years, 8 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/events/system_key_event_listener.h
diff --git a/chrome/browser/chromeos/events/system_key_event_listener.h b/chrome/browser/chromeos/events/system_key_event_listener.h
index 8e9ff9d6de883d7cb8c81664dce1395712fafa3e..f6badf4ba262a3c4713831083d8cdbe419cc368b 100644
--- a/chrome/browser/chromeos/events/system_key_event_listener.h
+++ b/chrome/browser/chromeos/events/system_key_event_listener.h
@@ -31,12 +31,10 @@ class SystemKeyEventListener : public base::MessageLoopForUI::Observer {
virtual ~SystemKeyEventListener();
// MessageLoopForUI::Observer overrides.
- virtual base::EventStatus WillProcessEvent(
- const base::NativeEvent& event) OVERRIDE;
+ virtual void WillProcessEvent(const base::NativeEvent& event) OVERRIDE;
virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE;
- // Returns true if the event was processed, false otherwise.
- virtual bool ProcessedXEvent(XEvent* xevent);
+ void ProcessedXEvent(XEvent* xevent);
bool stopped_;
« no previous file with comments | « chrome/browser/chromeos/events/event_rewriter.cc ('k') | chrome/browser/chromeos/events/system_key_event_listener.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698