Index: modules/inputmethod/InputMethodContext.idl |
diff --git a/modules/donottrack/NavigatorDoNotTrack.idl b/modules/inputmethod/InputMethodContext.idl |
similarity index 79% |
copy from modules/donottrack/NavigatorDoNotTrack.idl |
copy to modules/inputmethod/InputMethodContext.idl |
index 1fe0b8a79ffe0049b47c5076338771acf6f8f5f8..0a6a23aa9e4b9ca81d96539bb4e2646b1d82e33b 100644 |
--- a/modules/donottrack/NavigatorDoNotTrack.idl |
+++ b/modules/inputmethod/InputMethodContext.idl |
@@ -28,9 +28,16 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
+// http://www.w3.org/TR/ime-api/ |
[ |
- Supplemental=Navigator |
-] interface NavigatorDoNotTrack { |
- [TreatReturnedNullStringAs=Null] readonly attribute DOMString doNotTrack; |
-}; |
+ ImplementationLacksVTable |
+] interface InputMethodContext { |
+ readonly attribute Composition composition; |
+ attribute boolean enabled; |
+ readonly attribute DOMString locale; |
+ void confirmComposition(); |
+ void setCaretRectangle(Node anchor, long x, long y, long w, long h); |
+ void setExclusionRectangle(Node anchor, long x, long y, long w, long h); |
+ boolean open(); |
+}; |