#include "ozone/ui/events/event_converter_ozone_wayland.h"
#include "ui/events/event_utils.h"
-namespace ozonewayland {
+using namespace ozonewayland;
+
+namespace views {
WindowTreeHostDelegateWayland::WindowTreeHostDelegateWayland()
: current_focus_window_(0),
////////////////////////////////////////////////////////////////////////////////
// WindowTreeHostDelegateWayland, MessagePumpDispatcher implementation:
-bool WindowTreeHostDelegateWayland::Dispatch(const base::NativeEvent& ne) {
+uint32_t WindowTreeHostDelegateWayland::Dispatch(const base::NativeEvent& ne) {
ui::EventType type = ui::EventTypeFromNative(ne);
DCHECK(current_dispatcher_);
default:
NOTIMPLEMENTED() << "WindowTreeHostDelegateWayland: unknown event type.";
}
- return true;
+ return POST_DISPATCH_NONE;
}
////////////////////////////////////////////////////////////////////////////////
window->HandleWindowResize(width, height);
}
-} // namespace ozonewayland
+} // namespace views