summaryrefslogtreecommitdiffstats
path: root/ui/base/ozone/evdev/key_event_converter_ozone.h
blob: 2ce3c22322b050a642c6a6247767dfdb3a0dd60d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// 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_BASE_OZONE_EVDEV_KEY_EVENT_CONVERTER_OZONE_H_
#define UI_BASE_OZONE_EVDEV_KEY_EVENT_CONVERTER_OZONE_H_

#include "ui/base/ozone/event_converter_ozone.h"

namespace ui {

class KeyEventConverterOzone : public EventConverterOzone {
 public:
  KeyEventConverterOzone();
  virtual ~KeyEventConverterOzone();

 private:
  // Overidden from base::MessagePumpLibevent::Watcher.
  virtual void OnFileCanReadWithoutBlocking(int fd) OVERRIDE;
  virtual void OnFileCanWriteWithoutBlocking(int fd) OVERRIDE;

  DISALLOW_COPY_AND_ASSIGN(KeyEventConverterOzone);
};

}  // namspace ui

#endif  // UI_BASE_OZONE_EVDEV_KEY_EVENT_CONVERTER_OZONE_H_