OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_PALETTE_IDS_H_ | 5 #ifndef ASH_SYSTEM_PALETTE_PALETTE_IDS_H_ |
6 #define ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_PALETTE_IDS_H_ | 6 #define ASH_SYSTEM_PALETTE_PALETTE_IDS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
11 | 11 |
12 namespace ash { | 12 namespace ash { |
13 | 13 |
14 // Palette tools are grouped into different categories. Each tool corresponds to | 14 // Palette tools are grouped into different categories. Each tool corresponds to |
15 // exactly one group, and at most one tool can be active per group. Actions are | 15 // exactly one group, and at most one tool can be active per group. Actions are |
16 // actions the user wants to do, such as take a screenshot, and modes generally | 16 // actions the user wants to do, such as take a screenshot, and modes generally |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 // Helper functions that convert PaletteToolIds to PaletteTrayOptions. | 58 // Helper functions that convert PaletteToolIds to PaletteTrayOptions. |
59 ASH_EXPORT PaletteTrayOptions | 59 ASH_EXPORT PaletteTrayOptions |
60 PaletteToolIdToPaletteTrayOptions(PaletteToolId tool_id); | 60 PaletteToolIdToPaletteTrayOptions(PaletteToolId tool_id); |
61 | 61 |
62 // Helper functions that convert PaletteToolIds to PaletteModeCancelType. | 62 // Helper functions that convert PaletteToolIds to PaletteModeCancelType. |
63 ASH_EXPORT PaletteModeCancelType | 63 ASH_EXPORT PaletteModeCancelType |
64 PaletteToolIdToPaletteModeCancelType(PaletteToolId tool_id, bool is_switched); | 64 PaletteToolIdToPaletteModeCancelType(PaletteToolId tool_id, bool is_switched); |
65 | 65 |
66 } // namespace ash | 66 } // namespace ash |
67 | 67 |
68 #endif // ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_PALETTE_IDS_H_ | 68 #endif // ASH_SYSTEM_PALETTE_PALETTE_IDS_H_ |
OLD | NEW |