Plumb PinchVirtualViewport layers into CC.
[chromium-blink-merge.git] / chromeos / ime / extension_ime_util.h
blobf439ec466836d49ec073fb264c08eb2285a6dc08
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 CHROMEOS_IME_EXTENSION_IME_UTIL_H_
6 #define CHROMEOS_IME_EXTENSION_IME_UTIL_H_
8 #include <string>
10 #include "chromeos/chromeos_export.h"
12 namespace chromeos {
14 // Extension IME related utilities.
15 namespace extension_ime_util {
17 // Returns InputMethodID for |engine_id| in |extension_id|.
18 std::string CHROMEOS_EXPORT GetInputMethodID(const std::string& extension_id,
19 const std::string& engine_id);
21 // Returns true if the |input_method_id| is extension ime.
22 bool CHROMEOS_EXPORT IsExtensionIME(const std::string& input_method_id);
24 // Returns true if the |input_method| is member of |extension_id|, otherwise
25 // return false.
26 bool CHROMEOS_EXPORT IsMemberOfExtension(const std::string& input_method_id,
27 const std::string& extension_id);
29 } // extension_ime_util
31 } // namespace chromeos
33 #endif // CHROMEOS_IME_EXTENSION_IME_UTIL_H_