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

Side by Side Diff: third_party/WebKit/Source/core/testing/Internals.idl

Issue 2457523003: Support 'insertReplacementText' for spellcheck (Closed)
Patch Set: Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2013 Apple Inc. All rights reserved. 3 * Copyright (C) 2013 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 155
156 DOMString htmlNamespace(); 156 DOMString htmlNamespace();
157 sequence<DOMString> htmlTags(); 157 sequence<DOMString> htmlTags();
158 DOMString svgNamespace(); 158 DOMString svgNamespace();
159 sequence<DOMString> svgTags(); 159 sequence<DOMString> svgTags();
160 160
161 [RaisesException] NodeList nodesFromRect(Document document, long x, long y, 161 [RaisesException] NodeList nodesFromRect(Document document, long x, long y,
162 unsigned long topPadding, unsigned long rightPadding, unsigned long bott omPadding, unsigned long leftPadding, 162 unsigned long topPadding, unsigned long rightPadding, unsigned long bott omPadding, unsigned long leftPadding,
163 boolean ignoreClipping, boolean allowChildFrameContent); 163 boolean ignoreClipping, boolean allowChildFrameContent);
164 164
165 void setSpellingMarker(Document document);
165 boolean hasSpellingMarker(Document document, long from, long length); 166 boolean hasSpellingMarker(Document document, long from, long length);
166 boolean hasGrammarMarker(Document document, long from, long length); 167 boolean hasGrammarMarker(Document document, long from, long length);
167 void setSpellCheckingEnabled(boolean enabled); 168 void setSpellCheckingEnabled(boolean enabled);
169 void replaceMisspelled(Document document, DOMString replacement);
168 170
169 bool canHyphenate(DOMString locale); 171 bool canHyphenate(DOMString locale);
170 void setMockHyphenation(DOMString locale); 172 void setMockHyphenation(DOMString locale);
171 173
172 boolean isOverwriteModeEnabled(Document document); 174 boolean isOverwriteModeEnabled(Document document);
173 void toggleOverwriteModeEnabled(Document document); 175 void toggleOverwriteModeEnabled(Document document);
174 176
175 unsigned long numberOfScrollableAreas(Document document); 177 unsigned long numberOfScrollableAreas(Document document);
176 178
177 boolean isPageBoxVisible(Document document, long pageNumber); 179 boolean isPageBoxVisible(Document document, long pageNumber);
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 DOMString getScrollAnimationState(Node node); 358 DOMString getScrollAnimationState(Node node);
357 359
358 DOMString getProgrammaticScrollAnimationState(Node node); 360 DOMString getProgrammaticScrollAnimationState(Node node);
359 361
360 ClientRect visualRect(Node node); 362 ClientRect visualRect(Node node);
361 363
362 OriginTrialsTest originTrialsTest(); 364 OriginTrialsTest originTrialsTest();
363 365
364 void crash(); 366 void crash();
365 }; 367 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698