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

Unified Diff: ash/common/system/chromeos/palette/mock_palette_tool_delegate.h

Issue 2235063002: Add create note palette action. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@app-runtime-changes
Patch Set: Nit Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/common/palette_delegate.h ('k') | ash/common/system/chromeos/palette/mock_palette_tool_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « ash/common/palette_delegate.h ('k') | ash/common/system/chromeos/palette/mock_palette_tool_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698