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

Side by Side Diff: ui/base/ime/chromeos/fake_ime_keyboard.h

Issue 750353004: Revert of Moves code from chromeos/ime to ui/base/ime/chromeos. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
OLDNEW
(Empty)
1 // Copyright 2014 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_IME_CHROMEOS_FAKE_IME_KEYBOARD_H_
6 #define UI_BASE_IME_CHROMEOS_FAKE_IME_KEYBOARD_H_
7
8 #include "ui/base/ime/chromeos/ime_keyboard.h"
9
10 #include <string>
11
12 #include "base/compiler_specific.h"
13
14 namespace chromeos {
15 namespace input_method {
16
17 class UI_BASE_EXPORT FakeImeKeyboard : public ImeKeyboard {
18 public:
19 FakeImeKeyboard();
20 virtual ~FakeImeKeyboard();
21
22 virtual bool SetCurrentKeyboardLayoutByName(const std::string& layout_name)
23 override;
24 virtual bool SetAutoRepeatRate(const AutoRepeatRate& rate) override;
25 virtual bool SetAutoRepeatEnabled(bool enabled) override;
26 virtual bool ReapplyCurrentKeyboardLayout() override;
27 virtual void ReapplyCurrentModifierLockStatus() override;
28 virtual void DisableNumLock() override;
29 virtual bool IsISOLevel5ShiftAvailable() const override;
30 virtual bool IsAltGrAvailable() const override;
31
32 int set_current_keyboard_layout_by_name_count_;
33 AutoRepeatRate last_auto_repeat_rate_;
34 // TODO(yusukes): Add more variables for counting the numbers of the API calls
35 bool auto_repeat_is_enabled_;
36
37 private:
38 DISALLOW_COPY_AND_ASSIGN(FakeImeKeyboard);
39 };
40
41 } // namespace input_method
42 } // namespace chromeos
43
44 #endif // UI_BASE_IME_CHROMEOS_FAKE_IME_KEYBOARD_H_
OLDNEW
« no previous file with comments | « ui/base/ime/chromeos/extension_ime_util_unittest.cc ('k') | ui/base/ime/chromeos/fake_ime_keyboard.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698