summaryrefslogtreecommitdiffstats
path: root/chromium/ui/events/ozone/event_converter_ozone.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ui/events/ozone/event_converter_ozone.h')
-rw-r--r--chromium/ui/events/ozone/event_converter_ozone.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/chromium/ui/events/ozone/event_converter_ozone.h b/chromium/ui/events/ozone/event_converter_ozone.h
deleted file mode 100644
index 90826c26580..00000000000
--- a/chromium/ui/events/ozone/event_converter_ozone.h
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef UI_EVENTS_OZONE_EVENT_CONVERTER_OZONE_H_
-#define UI_EVENTS_OZONE_EVENT_CONVERTER_OZONE_H_
-
-#include "base/memory/scoped_ptr.h"
-#include "base/message_loop/message_pump_libevent.h"
-#include "ui/events/events_export.h"
-
-namespace ui {
-class Event;
-
-// In ozone, Chrome reads events from file descriptors created from Linux device
-// drivers. The |MessagePumpLibevent::Watcher| parent class provides the
-// functionality to watch a file descriptor for the arrival of new data and
-// notify its subclasses. Device-specific event converters turn bytes read from
-// the file descriptor into |ui::Event| instances. This class provides the
-// functionality needed in common across all converters: dispatching the
-// |ui::Event| to aura.
-class EVENTS_EXPORT EventConverterOzone
- : public base::MessagePumpLibevent::Watcher {
- public:
- EventConverterOzone();
- virtual ~EventConverterOzone();
-
- protected:
- // Subclasses should use this method to post a task that will dispatch
- // |event| from the UI message loop. This method takes ownership of
- // |event|. |event| will be deleted at the end of the posted task.
- virtual void DispatchEvent(scoped_ptr<ui::Event> event);
-
- private:
- DISALLOW_COPY_AND_ASSIGN(EventConverterOzone);
-};
-
-} // namespace ui
-
-#endif // UI_EVENTS_OZONE_EVENT_CONVERTER_OZONE_H_