Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2013 The Chromium Authors. 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 #ifndef UI_BASE_OZONE_EVENT_CONVERTER_OZONE_H_ | |
| 6 #define UI_BASE_OZONE_EVENT_CONVERTER_OZONE_H_ | |
| 7 | |
| 8 #include "base/message_pump_libevent.h" | |
| 9 | |
| 10 namespace ui { | |
| 11 class Event; | |
| 12 | |
| 13 class EventConverterOzone : public base::MessagePumpLibevent::Watcher { | |
|
sadrul
2013/06/06 16:54:30
Doc
rjkroege
2013/06/06 23:05:05
Done.
| |
| 14 public: | |
| 15 EventConverterOzone() {} | |
| 16 virtual ~EventConverterOzone() {} | |
| 17 | |
| 18 protected: | |
| 19 // Subclasses should use this method to post a task that will dispatch | |
| 20 // |event| from the UI message loop. This method takes ownership of | |
| 21 // |event|. |event| will be deleted at the end of the posted task. | |
| 22 void DispatchEvent(ui::Event* event); | |
| 23 | |
| 24 DISALLOW_COPY_AND_ASSIGN(EventConverterOzone); | |
| 25 }; | |
| 26 | |
| 27 } // namespace ui | |
| 28 | |
| 29 #endif // UI_BASE_OZONE_EVENT_CONVERTER_OZONE_H_ | |
| OLD | NEW |