d7ba4c83159f0503b461ee9b1a8786f9664ffbd7
[platform/framework/web/crosswalk.git] / src / ozone / ui / events / event_converter_ozone_wayland.cc
1 // Copyright 2013 Intel Corporation. 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 "ozone/ui/events/event_converter_ozone_wayland.h"
6
7 #include "base/bind.h"
8
9 namespace ui {
10
11 EventConverterOzoneWayland::EventConverterOzoneWayland()
12     : loop_(base::MessageLoop::current()) {
13   DCHECK(loop_);
14 }
15
16 EventConverterOzoneWayland::~EventConverterOzoneWayland() {
17 }
18
19 void EventConverterOzoneWayland::SetWindowChangeObserver(
20     WindowChangeObserver* observer) {
21 }
22
23 void EventConverterOzoneWayland::SetOutputChangeObserver(
24     OutputChangeObserver* observer) {
25 }
26
27 void EventConverterOzoneWayland::PostTaskOnMainLoop(const base::Closure& task) {
28   DCHECK(loop_);
29   loop_->message_loop_proxy()->PostTask(FROM_HERE, task);
30 }
31
32 }  // namespace ui