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

Unified Diff: chromeos/ime/fake_xkeyboard.h

Issue 232333002: ozone: Rename XKeyboard to KeyboardController & use fake under ozone (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename to ImeKeyboard & rebase Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/ime/fake_ime_keyboard.cc ('k') | chromeos/ime/fake_xkeyboard.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/ime/fake_xkeyboard.h
diff --git a/chromeos/ime/fake_xkeyboard.h b/chromeos/ime/fake_xkeyboard.h
deleted file mode 100644
index 3422bfa31c31774687625995d4014c99273b3b4b..0000000000000000000000000000000000000000
--- a/chromeos/ime/fake_xkeyboard.h
+++ /dev/null
@@ -1,51 +0,0 @@
-// 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_FAKE_XKEYBOARD_H_
-#define CHROMEOS_IME_FAKE_XKEYBOARD_H_
-
-#include "chromeos/ime/xkeyboard.h"
-
-#include <string>
-
-#include "base/compiler_specific.h"
-#include "chromeos/chromeos_export.h"
-
-namespace chromeos {
-namespace input_method {
-
-class CHROMEOS_EXPORT FakeXKeyboard : public XKeyboard {
- public:
- FakeXKeyboard();
- virtual ~FakeXKeyboard() {}
-
- virtual void AddObserver(Observer* observer) OVERRIDE;
- virtual void RemoveObserver(Observer* observer) OVERRIDE;
- virtual bool SetCurrentKeyboardLayoutByName(const std::string& layout_name)
- 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;
- virtual bool IsISOLevel5ShiftAvailable() const OVERRIDE;
- virtual bool IsAltGrAvailable() const OVERRIDE;
- virtual bool SetAutoRepeatEnabled(bool enabled) OVERRIDE;
- virtual bool SetAutoRepeatRate(const AutoRepeatRate& rate) OVERRIDE;
-
- int set_current_keyboard_layout_by_name_count_;
- std::string last_layout_;
- bool caps_lock_is_enabled_;
- bool auto_repeat_is_enabled_;
- AutoRepeatRate last_auto_repeat_rate_;
- // TODO(yusukes): Add more variables for counting the numbers of the API calls
-
- private:
- DISALLOW_COPY_AND_ASSIGN(FakeXKeyboard);
-};
-
-} // namespace input_method
-} // namespace chromeos
-
-#endif // CHROMEOS_IME_FAKE_XKEYBOARD_H_
« no previous file with comments | « chromeos/ime/fake_ime_keyboard.cc ('k') | chromeos/ime/fake_xkeyboard.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698