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

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

Issue 2734653002: chromeos: Move files in //ash/common to //ash (Closed)
Patch Set: fix a11y tests, fix docs 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_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(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_COMMON_SYSTEM_CHROMEOS_PALETTE_MOCK_PALETTE_TOOL_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698