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

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

Issue 2140343002: Add palette tool/manager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@stylus-add-icons
Patch Set: Add palette tool/manager Created 4 years, 5 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
Index: ash/common/system/chromeos/palette/palette_ids.h
diff --git a/ash/common/system/chromeos/palette/palette_ids.h b/ash/common/system/chromeos/palette/palette_ids.h
new file mode 100644
index 0000000000000000000000000000000000000000..14e533bed6297d42cded64e90739d4d6d845a7b7
--- /dev/null
+++ b/ash/common/system/chromeos/palette/palette_ids.h
@@ -0,0 +1,31 @@
+// 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_PALETTE_IDS_H_
+#define ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_PALETTE_IDS_H_
+
+#include <string>
+
+#include "ash/ash_export.h"
+
+namespace ash {
+
+enum class PaletteGroup { ACTION, MODE };
+
+enum class PaletteToolId {
+ NONE,
+ CREATE_NEW_NOTE,
+ SCREENSHOT,
+ CAPTURE_REGION,
+ PRESENTATION,
+ MAGNIFY,
+};
+
+// Helper functions that convert PaletteToolIds and PaletteGroups to strings.
+ASH_EXPORT std::string PaletteToolIdToString(PaletteToolId tool_id);
Evan Stade 2016/07/13 18:31:12 Are these just for debug?
jdufault 2016/07/13 19:22:39 Essentially, though right now the palette tool stu
+ASH_EXPORT std::string PaletteGroupToString(PaletteGroup group);
+
+} // namespace ash
+
+#endif // ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_PALETTE_IDS_H_

Powered by Google App Engine
This is Rietveld 408576698