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

Side by Side Diff: ui/events/platform/x11/x11_event_source_linux.cc

Issue 1602173005: Add PlatformWindow/Event related code for Ozone X11. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: XEventDispatcher added. Created 4 years, 10 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "ui/events/platform/x11/x11_event_source.h"
6
7 namespace ui {
8
9 uint32_t X11EventSource::DispatchEvent(base::NativeEvent native_event) {
10 XEvent* xevent = static_cast<XEvent*>(native_event);
11 uint32_t action = PlatformEventSource::DispatchEvent(xevent);
12 PostDispatchEvent(xevent);
13 return action;
14 }
15
16 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698