Index: ash/ime/ime_switch_type.h |
diff --git a/ash/ime/ime_switch_type.h b/ash/ime/ime_switch_type.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..39d75f0a6e458ff885edf3edc2162740f0497838 |
--- /dev/null |
+++ b/ash/ime/ime_switch_type.h |
@@ -0,0 +1,21 @@ |
+// Copyright 2017 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_IME_IME_SWITCH_TYPE_H_ |
+#define ASH_IME_IME_SWITCH_TYPE_H_ |
+ |
+namespace ash { |
+ |
+// Used for histograms. See tools/metrics/histograms/enums.xml IMESwitchType. |
+enum class ImeSwitchType { |
+ // The values should not reordered or deleted and new entries should only be |
+ // added at the end (otherwise it will cause problems interpreting logs) |
+ kTray = 0, |
+ kAccelerator = 1, |
+ kCount = 2, |
+}; |
+ |
+} // namespace ash |
+ |
+#endif // ASH_IME_IME_SWITCH_TYPE_H_ |