| Index: chrome/browser/ui/webui/chromeos/login/l10n_util_test_util.h
|
| diff --git a/chrome/browser/ui/webui/chromeos/login/l10n_util_test_util.h b/chrome/browser/ui/webui/chromeos/login/l10n_util_test_util.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e64c28f2c604ec54821db9c66bedd8a9497af637
|
| --- /dev/null
|
| +++ b/chrome/browser/ui/webui/chromeos/login/l10n_util_test_util.h
|
| @@ -0,0 +1,41 @@
|
| +// 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_
|
|
|