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

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

Issue 2731873002: Revert "chromeos: Move files in //ash/common to //ash, part 1" (Closed)
Patch Set: 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
(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_SYSTEM_PALETTE_MOCK_PALETTE_TOOL_DELEGATE_H_
6 #define ASH_SYSTEM_PALETTE_MOCK_PALETTE_TOOL_DELEGATE_H_
7
8 #include "ash/system/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(HidePaletteImmediately, void());
23 MOCK_METHOD0(GetWindow, WmWindow*());
24 MOCK_METHOD1(RecordPaletteOptionsUsage, void(PaletteTrayOptions option));
25 MOCK_METHOD1(RecordPaletteModeCancellation, void(PaletteModeCancelType type));
26 };
27
28 } // namespace ash
29
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