| Index: blimp/client/feature/mock_ime_feature_delegate.h
|
| diff --git a/blimp/client/feature/mock_ime_feature_delegate.h b/blimp/client/feature/mock_ime_feature_delegate.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..66b11e66a2525b4df5351a11cfda5d38e631eb71
|
| --- /dev/null
|
| +++ b/blimp/client/feature/mock_ime_feature_delegate.h
|
| @@ -0,0 +1,29 @@
|
| +// Copyright 2016 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 BLIMP_CLIENT_FEATURE_MOCK_IME_FEATURE_DELEGATE_H_
|
| +#define BLIMP_CLIENT_FEATURE_MOCK_IME_FEATURE_DELEGATE_H_
|
| +
|
| +#include <string>
|
| +
|
| +#include "blimp/client/feature/ime_feature.h"
|
| +#include "testing/gmock/include/gmock/gmock.h"
|
| +
|
| +namespace blimp {
|
| +namespace client {
|
| +
|
| +class MockImeFeatureDelegate : public client::ImeFeature::Delegate {
|
| + public:
|
| + MockImeFeatureDelegate();
|
| + ~MockImeFeatureDelegate() override;
|
| +
|
| + MOCK_METHOD2(OnShowImeRequested,
|
| + void(ui::TextInputType input_type, const std::string& text));
|
| + MOCK_METHOD0(OnHideImeRequested, void());
|
| +};
|
| +
|
| +} // namespace client
|
| +} // namespace blimp
|
| +
|
| +#endif // BLIMP_CLIENT_FEATURE_MOCK_IME_FEATURE_DELEGATE_H_
|
|
|