blob: 26d18822faf3eca2f61b2bbab79ae6a47052ecc0 [file] [log] [blame]
// 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 <string>
#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 "chromeos/ime/input_method_descriptor.h"
namespace chromeos {
class MockInputMethodManagerWithInputMethods
: public input_method::MockInputMethodManager {
public:
MockInputMethodManagerWithInputMethods();
virtual ~MockInputMethodManagerWithInputMethods();
// input_method::MockInputMethodManager:
virtual scoped_ptr<input_method::InputMethodDescriptors>
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_