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

Unified Diff: win8/metro_driver/ime/language_profile_observer.h

Issue 53553003: WIP: Ash IME support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 1 month 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 | « win8/metro_driver/ime/language_profile_monitor.cc ('k') | win8/metro_driver/ime/text_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: win8/metro_driver/ime/language_profile_observer.h
diff --git a/win8/metro_driver/ime/language_profile_observer.h b/win8/metro_driver/ime/language_profile_observer.h
new file mode 100644
index 0000000000000000000000000000000000000000..8662c715c4d207e349a764ff6f5f812b04047b68
--- /dev/null
+++ b/win8/metro_driver/ime/language_profile_observer.h
@@ -0,0 +1,26 @@
+// Copyright (c) 2013 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 WIN8_METRO_DRIVER_IME_LANGUAGE_PROFILE_OBSERVER_H_
+#define WIN8_METRO_DRIVER_IME_LANGUAGE_PROFILE_OBSERVER_H_
+
+#include <Windows.h>
+
+#include "base/basictypes.h"
+
+namespace metro_driver {
+
+// An Observer interface implemented by objects that want to be informed when
+// the active language profile is changed.
+class LanguageProfileObserver {
+ public:
+ virtual ~LanguageProfileObserver() {}
+
+ // Called when the active language profile is changed.
+ virtual void OnInputSourceChanged(LANGID langid, bool is_ime) = 0;
+};
+
+} // namespace metro_driver
+
+#endif // WIN8_METRO_DRIVER_IME_LANGUAGE_PROFILE_OBSERVER_H_
« no previous file with comments | « win8/metro_driver/ime/language_profile_monitor.cc ('k') | win8/metro_driver/ime/text_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698