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

Unified Diff: ui/views/widget/desktop_aura/x11_desktop_handler.cc

Issue 667823002: PlatformEventDispatcher::DispatchEvent() should return a PostDispatchAction (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ui_enums
Patch Set: Fix platform_event_source_unittest.cc Created 6 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
Index: ui/views/widget/desktop_aura/x11_desktop_handler.cc
diff --git a/ui/views/widget/desktop_aura/x11_desktop_handler.cc b/ui/views/widget/desktop_aura/x11_desktop_handler.cc
index ee90cbc5fae046d7aeee9284c7adbb84b0e58f4c..5b666821b517c07f317622ea032870098675db1b 100644
--- a/ui/views/widget/desktop_aura/x11_desktop_handler.cc
+++ b/ui/views/widget/desktop_aura/x11_desktop_handler.cc
@@ -156,7 +156,8 @@ bool X11DesktopHandler::CanDispatchEvent(const ui::PlatformEvent& event) {
event->xproperty.window == x_root_window_);
}
-uint32_t X11DesktopHandler::DispatchEvent(const ui::PlatformEvent& event) {
+ui::PostDispatchAction X11DesktopHandler::DispatchEvent(
+ const ui::PlatformEvent& event) {
switch (event->type) {
case PropertyNotify: {
// Check for a change to the active window.
« no previous file with comments | « ui/views/widget/desktop_aura/x11_desktop_handler.h ('k') | ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698