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

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

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

Powered by Google App Engine
This is Rietveld 408576698