blob: be21dfbc370d2cc55ed311a405c220af09cb1e3d [file] [log] [blame]
// Copyright 2019 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_AUTOFILL_MOCK_MANUAL_FILLING_VIEW_H_
#define CHROME_BROWSER_AUTOFILL_MOCK_MANUAL_FILLING_VIEW_H_
#include "chrome/browser/autofill/manual_filling_view_interface.h"
#include "components/autofill/core/browser/ui/accessory_sheet_data.h"
#include "testing/gmock/include/gmock/gmock.h"
class MockManualFillingView : public ManualFillingViewInterface {
public:
MockManualFillingView();
~MockManualFillingView() override;
MOCK_METHOD1(OnItemsAvailable, void(const autofill::AccessorySheetData&));
MOCK_METHOD1(OnAutomaticGenerationStatusChanged, void(bool));
MOCK_METHOD0(CloseAccessorySheet, void());
MOCK_METHOD0(SwapSheetWithKeyboard, void());
MOCK_METHOD0(ShowWhenKeyboardIsVisible, void());
MOCK_METHOD0(ShowTouchToFillSheet, void());
MOCK_METHOD0(Hide, void());
private:
DISALLOW_COPY_AND_ASSIGN(MockManualFillingView);
};
#endif // CHROME_BROWSER_AUTOFILL_MOCK_MANUAL_FILLING_VIEW_H_