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

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

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 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 int x, 281 int x,
282 int y, 282 int y,
283 unsigned topPadding, 283 unsigned topPadding,
284 unsigned rightPadding, 284 unsigned rightPadding,
285 unsigned bottomPadding, 285 unsigned bottomPadding,
286 unsigned leftPadding, 286 unsigned leftPadding,
287 bool ignoreClipping, 287 bool ignoreClipping,
288 bool allowChildFrameContent, 288 bool allowChildFrameContent,
289 ExceptionState&) const; 289 ExceptionState&) const;
290 290
291 void setSpellingMarker(Document*);
291 bool hasSpellingMarker(Document*, int from, int length); 292 bool hasSpellingMarker(Document*, int from, int length);
292 bool hasGrammarMarker(Document*, int from, int length); 293 bool hasGrammarMarker(Document*, int from, int length);
293 void setSpellCheckingEnabled(bool); 294 void setSpellCheckingEnabled(bool);
295 void replaceMisspelled(Document*, const String&);
294 296
295 bool canHyphenate(const AtomicString& locale); 297 bool canHyphenate(const AtomicString& locale);
296 void setMockHyphenation(const AtomicString& locale); 298 void setMockHyphenation(const AtomicString& locale);
297 299
298 bool isOverwriteModeEnabled(Document*); 300 bool isOverwriteModeEnabled(Document*);
299 void toggleOverwriteModeEnabled(Document*); 301 void toggleOverwriteModeEnabled(Document*);
300 302
301 unsigned numberOfScrollableAreas(Document*); 303 unsigned numberOfScrollableAreas(Document*);
302 304
303 bool isPageBoxVisible(Document*, int pageNumber); 305 bool isPageBoxVisible(Document*, int pageNumber);
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
539 unsigned index, 541 unsigned index,
540 ExceptionState&); 542 ExceptionState&);
541 Member<InternalRuntimeFlags> m_runtimeFlags; 543 Member<InternalRuntimeFlags> m_runtimeFlags;
542 544
543 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 545 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
544 }; 546 };
545 547
546 } // namespace blink 548 } // namespace blink
547 549
548 #endif // Internals_h 550 #endif // Internals_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698