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 ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_MOCK_PALETTE_TOOL_DELEGATE_H_ |
| 6 #define ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_MOCK_PALETTE_TOOL_DELEGATE_H_ |
| 7 |
| 8 #include "ash/common/system/chromeos/palette/palette_tool.h" |
| 9 #include "testing/gmock/include/gmock/gmock.h" |
| 10 |
| 11 namespace ash { |
| 12 |
| 13 // Mock PaletteTool::Delegate class. |
| 14 class MockPaletteToolDelegate : public PaletteTool::Delegate { |
| 15 public: |
| 16 MockPaletteToolDelegate(); |
| 17 ~MockPaletteToolDelegate() override; |
| 18 |
| 19 MOCK_METHOD1(EnableTool, void(PaletteToolId tool_id)); |
| 20 MOCK_METHOD1(DisableTool, void(PaletteToolId tool_id)); |
| 21 MOCK_METHOD0(HidePalette, void()); |
| 22 MOCK_METHOD0(GetWindow, WmWindow*()); |
| 23 }; |
| 24 |
| 25 } // namespace ash |
| 26 |
| 27 #endif // ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_MOCK_PALETTE_TOOL_DELEGATE_H_ |
OLD | NEW |