Index: win8/metro_driver/ime/input_scope.h |
diff --git a/win8/metro_driver/ime/input_scope.h b/win8/metro_driver/ime/input_scope.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..97d84779b580be5c0f662c7e92422f06f0a34a31 |
--- /dev/null |
+++ b/win8/metro_driver/ime/input_scope.h |
@@ -0,0 +1,22 @@ |
+// Copyright (c) 2012 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_INPUT_SCOPE_H_ |
+#define WIN8_METRO_DRIVER_IME_INPUT_SCOPE_H_ |
+ |
+#include <InputScope.h> |
+#include <vector> |
+ |
+#include "base/win/scoped_comptr.h" |
+ |
+namespace metro_driver { |
+ |
+// Returns an instance of ITfInputScope object, which represents an array of |
+// InputScope enumeration passed as |input_scopes|. |
+base::win::ScopedComPtr<ITfInputScope> |
+CreteInputScope(const std::vector<InputScope>& input_scopes); |
+ |
+} // namespace metro_driver |
+ |
+#endif // WIN8_METRO_DRIVER_IME_TEXT_STORE_H_ |