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

Unified Diff: ash/system/palette/palette_ids.cc

Issue 2824703006: Add MetalayerMode to the palette. (Closed)
Patch Set: Fixed copyright year Created 3 years, 8 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/system/palette/palette_ids.h ('k') | ash/system/palette/palette_tool.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/palette/palette_ids.cc
diff --git a/ash/system/palette/palette_ids.cc b/ash/system/palette/palette_ids.cc
index 1e2338f4a554eac9286940fde9d403ff70094dcf..63614e849bff960fde92f61e1e2f087f9797710f 100644
--- a/ash/system/palette/palette_ids.cc
+++ b/ash/system/palette/palette_ids.cc
@@ -21,6 +21,8 @@ std::string PaletteToolIdToString(PaletteToolId tool_id) {
return "LASER_POINTER";
case PaletteToolId::MAGNIFY:
return "MAGNIFY";
+ case PaletteToolId::METALAYER:
+ return "METALAYER";
}
NOTREACHED();
@@ -53,6 +55,8 @@ PaletteTrayOptions PaletteToolIdToPaletteTrayOptions(PaletteToolId tool_id) {
return PALETTE_LASER_POINTER;
case PaletteToolId::MAGNIFY:
return PALETTE_MAGNIFY;
+ case PaletteToolId::METALAYER:
+ return PALETTE_METALAYER;
}
NOTREACHED();
« no previous file with comments | « ash/system/palette/palette_ids.h ('k') | ash/system/palette/palette_tool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698