Chromium Code Reviews| OLD | NEW |
|---|---|
| (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_PALETTE_IDS_H_ | |
| 6 #define ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_PALETTE_IDS_H_ | |
| 7 | |
| 8 #include <string> | |
| 9 | |
| 10 #include "ash/ash_export.h" | |
| 11 | |
| 12 namespace ash { | |
| 13 | |
| 14 enum class PaletteGroup { ACTION, MODE }; | |
| 15 | |
| 16 enum class PaletteToolId { | |
| 17 NONE, | |
| 18 CREATE_NEW_NOTE, | |
| 19 SCREENSHOT, | |
| 20 CAPTURE_REGION, | |
| 21 PRESENTATION, | |
| 22 MAGNIFY, | |
| 23 }; | |
| 24 | |
| 25 // Helper functions that convert PaletteToolIds and PaletteGroups to strings. | |
| 26 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
| |
| 27 ASH_EXPORT std::string PaletteGroupToString(PaletteGroup group); | |
| 28 | |
| 29 } // namespace ash | |
| 30 | |
| 31 #endif // ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_PALETTE_IDS_H_ | |
| OLD | NEW |