Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Unified Diff: LayoutTests/fast/ime/candidatewindowevent.html

Issue 1162853002: Remove IME API from Blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove interface in WebWidgets.h Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/ime/candidatewindowevent.html
diff --git a/LayoutTests/fast/ime/candidatewindowevent.html b/LayoutTests/fast/ime/candidatewindowevent.html
deleted file mode 100644
index 220cbadfe4462b42f6853974196d3e2bd5f45f1f..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/ime/candidatewindowevent.html
+++ /dev/null
@@ -1,40 +0,0 @@
-<html>
-<head>
-<script src="../../resources/js-test.js"></script>
-</head>
-<body>
-<input id="input">
-<script>
-description('This tests if candidatewindow events work for InputMethodContext.');
-
-function logCandidateWindowShow(event) {
- shouldBeEqualToString('event.type', 'candidatewindowshow');
-}
-
-function logCandidateWindowUpdate(event) {
- shouldBeEqualToString('event.type', 'candidatewindowupdate');
-}
-
-function logCandidateWindowHide(event) {
- shouldBeEqualToString('event.type', 'candidatewindowhide');
-}
-
-var input = document.getElementById('input');
-var context = input.inputMethodContext;
-context.addEventListener('candidatewindowshow', logCandidateWindowShow, false);
-context.addEventListener('candidatewindowupdate', logCandidateWindowUpdate, false);
-context.addEventListener('candidatewindowhide', logCandidateWindowHide, false);
-var e1 = new Event('candidatewindowshow', {});
-context.dispatchEvent(e1);
-var e2 = new Event('candidatewindowupdate', {});
-context.dispatchEvent(e2);
-var e3 = new Event('candidatewindowhide', {});
-context.dispatchEvent(e3);
-
-document.body.removeChild(input);
-context.dispatchEvent(e1);
-context.dispatchEvent(e2);
-context.dispatchEvent(e3);
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698