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

Side by Side Diff: ui/events/ozone/evdev/key_event_converter.h

Issue 28513004: Move evdev events support into EventFactoryDelegateEvdev (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: s/_evdev//, add event_factory_delegate_ozone.cc, move GetRequestedDelegate() Created 7 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_EVENTS_OZONE_EVDEV_KEY_EVENT_CONVERTER_OZONE_H_ 5 #ifndef UI_EVENTS_OZONE_EVDEV_KEY_EVENT_CONVERTER_EVDEV_H_
6 #define UI_EVENTS_OZONE_EVDEV_KEY_EVENT_CONVERTER_OZONE_H_ 6 #define UI_EVENTS_OZONE_EVDEV_KEY_EVENT_CONVERTER_EVDEV_H_
7 7
8 #include "ui/events/ozone/event_converter_ozone.h" 8 #include "ui/events/ozone/event_converter_ozone.h"
9 9
10 namespace ui { 10 namespace ui {
11 11
12 class KeyEventConverterOzone : public EventConverterOzone { 12 class KeyEventConverterEvdev : public EventConverterOzone {
13 public: 13 public:
14 KeyEventConverterOzone(); 14 KeyEventConverterEvdev();
15 virtual ~KeyEventConverterOzone(); 15 virtual ~KeyEventConverterEvdev();
16 16
17 private: 17 private:
18 // Overidden from base::MessagePumpLibevent::Watcher. 18 // Overidden from base::MessagePumpLibevent::Watcher.
19 virtual void OnFileCanReadWithoutBlocking(int fd) OVERRIDE; 19 virtual void OnFileCanReadWithoutBlocking(int fd) OVERRIDE;
20 virtual void OnFileCanWriteWithoutBlocking(int fd) OVERRIDE; 20 virtual void OnFileCanWriteWithoutBlocking(int fd) OVERRIDE;
21 21
22 DISALLOW_COPY_AND_ASSIGN(KeyEventConverterOzone); 22 DISALLOW_COPY_AND_ASSIGN(KeyEventConverterEvdev);
23 }; 23 };
24 24
25 } // namspace ui 25 } // namspace ui
26 26
27 #endif // UI_EVENTS_OZONE_EVDEV_KEY_EVENT_CONVERTER_OZONE_H_ 27 #endif // UI_EVENTS_OZONE_EVDEV_KEY_EVENT_CONVERTER_EVDEV_H_
28 28
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698