blob: 2d66f46f8208c2d29ae55f32c3486fad637f67e3 [file] [log] [blame]
// Copyright 2018 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_VR_TEST_MOCK_TEXT_INPUT_DELEGATE_H_
#define CHROME_BROWSER_VR_TEST_MOCK_TEXT_INPUT_DELEGATE_H_
#include "base/macros.h"
#include "chrome/browser/vr/model/text_input_info.h"
#include "chrome/browser/vr/text_input_delegate.h"
#include "testing/gmock/include/gmock/gmock.h"
namespace vr {
class MockTextInputDelegate : public TextInputDelegate {
public:
MockTextInputDelegate();
~MockTextInputDelegate() override;
MOCK_METHOD1(UpdateInput, void(const TextInputInfo& info));
MOCK_METHOD1(RequestFocus, void(int));
private:
DISALLOW_COPY_AND_ASSIGN(MockTextInputDelegate);
};
} // namespace vr
#endif // CHROME_BROWSER_VR_TEST_MOCK_TEXT_INPUT_DELEGATE_H_