OLD | NEW |
| (Empty) |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef BLIMP_CLIENT_CORE_CONTENTS_MOCK_IME_FEATURE_DELEGATE_H_ | |
6 #define BLIMP_CLIENT_CORE_CONTENTS_MOCK_IME_FEATURE_DELEGATE_H_ | |
7 | |
8 #include "blimp/client/core/contents/ime_feature.h" | |
9 | |
10 #include <string> | |
11 | |
12 #include "testing/gmock/include/gmock/gmock.h" | |
13 | |
14 namespace blimp { | |
15 namespace client { | |
16 | |
17 class MockImeFeatureDelegate : public client::ImeFeature::Delegate { | |
18 public: | |
19 MockImeFeatureDelegate(); | |
20 ~MockImeFeatureDelegate() override; | |
21 | |
22 MOCK_METHOD1(OnShowImeRequested, | |
23 void(const ImeFeature::WebInputRequest& request)); | |
24 MOCK_METHOD0(OnHideImeRequested, void()); | |
25 }; | |
26 | |
27 } // namespace client | |
28 } // namespace blimp | |
29 | |
30 #endif // BLIMP_CLIENT_CORE_CONTENTS_MOCK_IME_FEATURE_DELEGATE_H_ | |
OLD | NEW |