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

Unified Diff: ui/events/ozone/event_factory_ozone.h

Issue 133233008: evdev: Move EventConverterOzone ownership from EventFactoryOzone to subclass (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: unbreak events_unittests Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/events/ozone/event_converter_ozone.h ('k') | ui/events/ozone/event_factory_ozone.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/ozone/event_factory_ozone.h
diff --git a/ui/events/ozone/event_factory_ozone.h b/ui/events/ozone/event_factory_ozone.h
index 92c6115e3fb2944e8f652a47e6146fabb65e0b47..8093924f4983268cfe75fc64da2f03e7fef2e45e 100644
--- a/ui/events/ozone/event_factory_ozone.h
+++ b/ui/events/ozone/event_factory_ozone.h
@@ -38,20 +38,7 @@ class EVENTS_EXPORT EventFactoryOzone {
// Sets the implementation delegate. Ownership is retained by the caller.
static void SetInstance(EventFactoryOzone*);
- // Add an |EventConverterOzone| instances for the given file descriptor.
- // Transfers ownership of the |EventConverterOzone| to this class.
- void AddEventConverter(int fd, scoped_ptr<EventConverterOzone> converter);
-
- // Remote the |EventConverterOzone|
- void RemoveEventConverter(int fd);
-
private:
- // |EventConverterOzone| for each file descriptor.
- typedef EventConverterOzone* Converter;
- typedef base::MessagePumpLibevent::FileDescriptorWatcher* FDWatcher;
- std::map<int, Converter> converters_;
- std::map<int, FDWatcher> watchers_;
-
static EventFactoryOzone* impl_; // not owned
DISALLOW_COPY_AND_ASSIGN(EventFactoryOzone);
« no previous file with comments | « ui/events/ozone/event_converter_ozone.h ('k') | ui/events/ozone/event_factory_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698