Descriptionwayland: define base:NativeEvent for Wayland
Fixes the use_wayland build which was broken by this commit:
http://codereview.chromium.org/8113028
Similar to win, we create a wayland namespace inside base
and define WaylandEvent there.
Historical note:
Wayland does not have a "native" event structure. Instead, the client
is made aware of events via a callback executed in the context
of display_run():
http://git.chromium.org/gitweb/?p=chromiumos/third_party/wayland-demos.git;a=blob;f=clients/window.c
So we create WaylandEvent structure which takes the parameters from
the callback and wraps them into a structure. For details, see:
src/ui/wayland/events/wayland_event.h
BUG=chromium:102903
TEST=Compiles but doesn't yet link with this change plus a series of
others I'm working on.
R=msw@chromium.org,oshima@chromium.org,mark@chromium.org
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=109932
Patch Set 1 #
Total comments: 2
Patch Set 2 : Create a new wayland namespace in base and define WaylandEvent there. #
Total comments: 13
Patch Set 3 : Fix per reviewer feedback. #
Total comments: 2
Patch Set 4 : Fix per feedback. #
Messages
Total messages: 18 (0 generated)
|