| Index: ash/common/system/chromeos/palette/mock_palette_tool_delegate.h
|
| diff --git a/ash/common/system/chromeos/palette/mock_palette_tool_delegate.h b/ash/common/system/chromeos/palette/mock_palette_tool_delegate.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..556b61d8c0c8359e2d9c307c2f1546002994ec6c
|
| --- /dev/null
|
| +++ b/ash/common/system/chromeos/palette/mock_palette_tool_delegate.h
|
| @@ -0,0 +1,27 @@
|
| +// 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 ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_MOCK_PALETTE_TOOL_DELEGATE_H_
|
| +#define ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_MOCK_PALETTE_TOOL_DELEGATE_H_
|
| +
|
| +#include "ash/common/system/chromeos/palette/palette_tool.h"
|
| +#include "testing/gmock/include/gmock/gmock.h"
|
| +
|
| +namespace ash {
|
| +
|
| +// Mock PaletteTool::Delegate class.
|
| +class MockPaletteToolDelegate : public PaletteTool::Delegate {
|
| + public:
|
| + MockPaletteToolDelegate();
|
| + ~MockPaletteToolDelegate() override;
|
| +
|
| + MOCK_METHOD1(EnableTool, void(PaletteToolId tool_id));
|
| + MOCK_METHOD1(DisableTool, void(PaletteToolId tool_id));
|
| + MOCK_METHOD0(HidePalette, void());
|
| + MOCK_METHOD0(GetWindow, WmWindow*());
|
| +};
|
| +
|
| +} // namespace ash
|
| +
|
| +#endif // ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_MOCK_PALETTE_TOOL_DELEGATE_H_
|
|
|