| 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_FEATURE_MOCK_IME_FEATURE_DELEGATE_H_ | |
| 6 #define BLIMP_CLIENT_FEATURE_MOCK_IME_FEATURE_DELEGATE_H_ | |
| 7 | |
| 8 #include <string> | |
| 9 | |
| 10 #include "blimp/client/feature/ime_feature.h" | |
| 11 #include "testing/gmock/include/gmock/gmock.h" | |
| 12 | |
| 13 namespace blimp { | |
| 14 namespace client { | |
| 15 | |
| 16 class MockImeFeatureDelegate : public client::ImeFeature::Delegate { | |
| 17 public: | |
| 18 MockImeFeatureDelegate(); | |
| 19 ~MockImeFeatureDelegate() override; | |
| 20 | |
| 21 MOCK_METHOD2(OnShowImeRequested, | |
| 22 void(ui::TextInputType input_type, const std::string& text)); | |
| 23 MOCK_METHOD0(OnHideImeRequested, void()); | |
| 24 }; | |
| 25 | |
| 26 } // namespace client | |
| 27 } // namespace blimp | |
| 28 | |
| 29 #endif // BLIMP_CLIENT_FEATURE_MOCK_IME_FEATURE_DELEGATE_H_ | |
| OLD | NEW |