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

Unified Diff: ash/ime/ime_switch_type.h

Issue 2891263002: chromeos: Remove some IME methods from ash::SystemTrayDelegate (Closed)
Patch Set: rebase Created 3 years, 7 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/accelerators/accelerator_controller_unittest.cc ('k') | ash/ime_control_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « ash/accelerators/accelerator_controller_unittest.cc ('k') | ash/ime_control_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698