// 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 CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_L10N_UTIL_TEST_UTIL_H_ #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_L10N_UTIL_TEST_UTIL_H_ #include #include "base/compiler_specific.h" #include "base/macros.h" #include "base/memory/scoped_ptr.h" #include "base/values.h" #include "chrome/browser/chromeos/input_method/mock_input_method_manager.h" #include "ui/base/ime/chromeos/input_method_descriptor.h" namespace chromeos { class MockInputMethodManagerWithInputMethods : public input_method::MockInputMethodManager { public: MockInputMethodManagerWithInputMethods(); ~MockInputMethodManagerWithInputMethods() override; // input_method::MockInputMethodManager: scoped_ptr GetSupportedInputMethods() const override; void AddInputMethod(const std::string& id, const std::string& raw_layout, const std::string& language_code); private: input_method::InputMethodDescriptors descriptors_; DISALLOW_COPY_AND_ASSIGN(MockInputMethodManagerWithInputMethods); }; } // namespace chromeos #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_L10N_UTIL_TEST_UTIL_H_