Fix WindowAndroid leak in Android WebView
[chromium-blink-merge.git] / win8 / metro_driver / ime / input_scope.h
blob99ed283e7c7299c3b8fc21c2c59ce4914352c2d1
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef WIN8_METRO_DRIVER_IME_INPUT_SCOPE_H_
6 #define WIN8_METRO_DRIVER_IME_INPUT_SCOPE_H_
8 #include <InputScope.h>
9 #include <vector>
11 #include "base/win/scoped_comptr.h"
13 namespace metro_driver {
15 // Returns an instance of ITfInputScope object, which represents an array of
16 // InputScope enumeration passed as |input_scopes|.
17 base::win::ScopedComPtr<ITfInputScope>
18 CreteInputScope(const std::vector<InputScope>& input_scopes);
20 } // namespace metro_driver
22 #endif // WIN8_METRO_DRIVER_IME_TEXT_STORE_H_