forked from sanyaade-mobiledev/chromium.src
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathime_keyboard_ozone.h
40 lines (30 loc) · 1.19 KB
/
ime_keyboard_ozone.h
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
28
29
30
31
32
33
34
35
36
37
38
39
40
// Copyright 2014 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 CHROMEOS_IME_IME_KEYBOARD_OZONE_H_
#define CHROMEOS_IME_IME_KEYBOARD_OZONE_H_
#include "chromeos/ime/ime_keyboard.h"
#include <string>
#include "base/compiler_specific.h"
#include "chromeos/chromeos_export.h"
namespace chromeos {
namespace input_method {
class CHROMEOS_EXPORT ImeKeyboardOzone : public ImeKeyboard {
public:
ImeKeyboardOzone();
virtual ~ImeKeyboardOzone();
virtual bool SetCurrentKeyboardLayoutByName(const std::string& layout_name)
override;
virtual bool SetAutoRepeatRate(const AutoRepeatRate& rate) override;
virtual bool SetAutoRepeatEnabled(bool enabled) override;
virtual bool ReapplyCurrentKeyboardLayout() override;
virtual void ReapplyCurrentModifierLockStatus() override;
virtual void DisableNumLock() override;
virtual void SetCapsLockEnabled(bool enable_caps_lock) override;
virtual bool CapsLockIsEnabled() override;
private:
DISALLOW_COPY_AND_ASSIGN(ImeKeyboardOzone);
};
} // namespace input_method
} // namespace chromeos
#endif // CHROMEOS_IME_IME_KEYBOARD_OZONE_H_