Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(209)

Side by Side Diff: ash/system/palette/mock_palette_tool_delegate.h

Issue 2732813002: chromeos: Move files in //ash/common to //ash, part 1 (Closed)
Patch Set: rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_MOCK_PALETTE_TOOL_DELEGATE_H_ 5 #ifndef ASH_SYSTEM_PALETTE_MOCK_PALETTE_TOOL_DELEGATE_H_
6 #define ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_MOCK_PALETTE_TOOL_DELEGATE_H_ 6 #define ASH_SYSTEM_PALETTE_MOCK_PALETTE_TOOL_DELEGATE_H_
7 7
8 #include "ash/common/system/chromeos/palette/palette_tool.h" 8 #include "ash/system/palette/palette_tool.h"
9 #include "testing/gmock/include/gmock/gmock.h" 9 #include "testing/gmock/include/gmock/gmock.h"
10 10
11 namespace ash { 11 namespace ash {
12 12
13 // Mock PaletteTool::Delegate class. 13 // Mock PaletteTool::Delegate class.
14 class MockPaletteToolDelegate : public PaletteTool::Delegate { 14 class MockPaletteToolDelegate : public PaletteTool::Delegate {
15 public: 15 public:
16 MockPaletteToolDelegate(); 16 MockPaletteToolDelegate();
17 ~MockPaletteToolDelegate() override; 17 ~MockPaletteToolDelegate() override;
18 18
19 MOCK_METHOD1(EnableTool, void(PaletteToolId tool_id)); 19 MOCK_METHOD1(EnableTool, void(PaletteToolId tool_id));
20 MOCK_METHOD1(DisableTool, void(PaletteToolId tool_id)); 20 MOCK_METHOD1(DisableTool, void(PaletteToolId tool_id));
21 MOCK_METHOD0(HidePalette, void()); 21 MOCK_METHOD0(HidePalette, void());
22 MOCK_METHOD0(HidePaletteImmediately, void()); 22 MOCK_METHOD0(HidePaletteImmediately, void());
23 MOCK_METHOD0(GetWindow, WmWindow*()); 23 MOCK_METHOD0(GetWindow, WmWindow*());
24 MOCK_METHOD1(RecordPaletteOptionsUsage, void(PaletteTrayOptions option)); 24 MOCK_METHOD1(RecordPaletteOptionsUsage, void(PaletteTrayOptions option));
25 MOCK_METHOD1(RecordPaletteModeCancellation, void(PaletteModeCancelType type)); 25 MOCK_METHOD1(RecordPaletteModeCancellation, void(PaletteModeCancelType type));
26 }; 26 };
27 27
28 } // namespace ash 28 } // namespace ash
29 29
30 #endif // ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_MOCK_PALETTE_TOOL_DELEGATE_H_ 30 #endif // ASH_SYSTEM_PALETTE_MOCK_PALETTE_TOOL_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/system/palette/common_palette_tool.cc ('k') | ash/system/palette/mock_palette_tool_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698