| Index: chrome/browser/chromeos/cros/fake/fake_input_method_library.h
|
| diff --git a/chrome/browser/chromeos/cros/fake/fake_input_method_library.h b/chrome/browser/chromeos/cros/fake/fake_input_method_library.h
|
| deleted file mode 100644
|
| index bc319eff98254a209174bdc2415ce701ce941e8c..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/chromeos/cros/fake/fake_input_method_library.h
|
| +++ /dev/null
|
| @@ -1,71 +0,0 @@
|
| -// Copyright (c) 2010 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 CHROME_BROWSER_CHROMEOS_CROS_FAKE_FAKE_INPUT_METHOD_LIBRARY_H_
|
| -#define CHROME_BROWSER_CHROMEOS_CROS_FAKE_FAKE_INPUT_METHOD_LIBRARY_H_
|
| -
|
| -#include <string>
|
| -
|
| -#include "base/scoped_ptr.h"
|
| -#include "chrome/browser/chromeos/cros/input_method_library.h"
|
| -#include "third_party/cros/chromeos_input_method.h"
|
| -
|
| -namespace chromeos {
|
| -
|
| -class FakeInputMethodLibrary : public InputMethodLibrary {
|
| - public:
|
| - FakeInputMethodLibrary()
|
| - : previous_input_method_("", "", "", ""),
|
| - current_input_method_("", "", "", "") {
|
| - }
|
| -
|
| - virtual ~FakeInputMethodLibrary() {}
|
| - virtual void AddObserver(Observer* observer) {}
|
| - virtual void RemoveObserver(Observer* observer) {}
|
| - virtual InputMethodDescriptors* GetActiveInputMethods() {
|
| - return CreateFallbackInputMethodDescriptors();
|
| - }
|
| - virtual size_t GetNumActiveInputMethods() {
|
| - scoped_ptr<InputMethodDescriptors> input_methods(GetActiveInputMethods());
|
| - return input_methods->size();
|
| - }
|
| - virtual InputMethodDescriptors* GetSupportedInputMethods() {
|
| - return CreateFallbackInputMethodDescriptors();
|
| - }
|
| - virtual void ChangeInputMethod(const std::string& input_method_id) {}
|
| - virtual void SetImePropertyActivated(const std::string& key,
|
| - bool activated) {}
|
| - virtual bool InputMethodIsActivated(const std::string& input_method_id) {
|
| - return true;
|
| - }
|
| - virtual bool GetImeConfig(
|
| - const char* section, const char* config_name, ImeConfigValue* out_value) {
|
| - return true;
|
| - }
|
| - virtual bool SetImeConfig(const char* section,
|
| - const char* config_name,
|
| - const ImeConfigValue& value) {
|
| - return true;
|
| - }
|
| -
|
| - virtual const InputMethodDescriptor& previous_input_method() const {
|
| - return previous_input_method_;
|
| - }
|
| - virtual const InputMethodDescriptor& current_input_method() const {
|
| - return current_input_method_;
|
| - }
|
| -
|
| - virtual const ImePropertyList& current_ime_properties() const {
|
| - return current_ime_properties_;
|
| - }
|
| -
|
| - private:
|
| - InputMethodDescriptor previous_input_method_;
|
| - InputMethodDescriptor current_input_method_;
|
| - ImePropertyList current_ime_properties_;
|
| -};
|
| -
|
| -} // namespace chromeos
|
| -
|
| -#endif // CHROME_BROWSER_CHROMEOS_CROS_FAKE_FAKE_INPUT_METHOD_LIBRARY_H_
|
|
|