diff options
Diffstat (limited to 'win8/metro_driver/ime/input_scope.h')
-rw-r--r-- | win8/metro_driver/ime/input_scope.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/win8/metro_driver/ime/input_scope.h b/win8/metro_driver/ime/input_scope.h new file mode 100644 index 0000000..99ed283 --- /dev/null +++ b/win8/metro_driver/ime/input_scope.h @@ -0,0 +1,22 @@ +// Copyright 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_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_ |