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: ui/aura/device_list_updater_aurax11.cc

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
« no previous file with comments | « ui/aura/device_list_updater_aurax11.h ('k') | ui/aura/test/ui_controls_factory_aurax11.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/device_list_updater_aurax11.cc
diff --git a/ui/aura/device_list_updater_aurax11.cc b/ui/aura/device_list_updater_aurax11.cc
index 8240cb495c3d027435d472839d4ee08f415383a8..0bbde9edadcdb9a3638b0d175f116120e4820f80 100644
--- a/ui/aura/device_list_updater_aurax11.cc
+++ b/ui/aura/device_list_updater_aurax11.cc
@@ -14,7 +14,7 @@ DeviceListUpdaterAuraX11::DeviceListUpdaterAuraX11() {}
DeviceListUpdaterAuraX11::~DeviceListUpdaterAuraX11() {}
-base::EventStatus DeviceListUpdaterAuraX11::WillProcessEvent(
+void DeviceListUpdaterAuraX11::WillProcessEvent(
const base::NativeEvent& event) {
// XI_HierarchyChanged events are special. There is no window associated with
// these events. So process them directly from here.
@@ -22,8 +22,6 @@ base::EventStatus DeviceListUpdaterAuraX11::WillProcessEvent(
event->xgeneric.evtype == XI_HierarchyChanged) {
ui::UpdateDeviceList();
}
-
- return base::EVENT_CONTINUE;
}
void DeviceListUpdaterAuraX11::DidProcessEvent(const base::NativeEvent& event) {
« no previous file with comments | « ui/aura/device_list_updater_aurax11.h ('k') | ui/aura/test/ui_controls_factory_aurax11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698