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

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

Issue 2191803002: Remove hasGrammarMarker from internals (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/testing/Internals.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 AtomicString htmlNamespace(); 202 AtomicString htmlNamespace();
203 Vector<AtomicString> htmlTags(); 203 Vector<AtomicString> htmlTags();
204 AtomicString svgNamespace(); 204 AtomicString svgNamespace();
205 Vector<AtomicString> svgTags(); 205 Vector<AtomicString> svgTags();
206 206
207 // This is used to test rect based hit testing like what's done on touch scr eens. 207 // This is used to test rect based hit testing like what's done on touch scr eens.
208 StaticNodeList* nodesFromRect(Document*, int x, int y, unsigned topPadding, unsigned rightPadding, 208 StaticNodeList* nodesFromRect(Document*, int x, int y, unsigned topPadding, unsigned rightPadding,
209 unsigned bottomPadding, unsigned leftPadding, bool ignoreClipping, bool allowChildFrameContent, ExceptionState&) const; 209 unsigned bottomPadding, unsigned leftPadding, bool ignoreClipping, bool allowChildFrameContent, ExceptionState&) const;
210 210
211 bool hasSpellingMarker(Document*, int from, int length); 211 bool hasSpellingMarker(Document*, int from, int length);
212 bool hasGrammarMarker(Document*, int from, int length);
213 void setContinuousSpellCheckingEnabled(bool); 212 void setContinuousSpellCheckingEnabled(bool);
214 213
215 bool canHyphenate(const AtomicString& locale); 214 bool canHyphenate(const AtomicString& locale);
216 void setMockHyphenation(const AtomicString& locale); 215 void setMockHyphenation(const AtomicString& locale);
217 216
218 bool isOverwriteModeEnabled(Document*); 217 bool isOverwriteModeEnabled(Document*);
219 void toggleOverwriteModeEnabled(Document*); 218 void toggleOverwriteModeEnabled(Document*);
220 219
221 unsigned numberOfScrollableAreas(Document*); 220 unsigned numberOfScrollableAreas(Document*);
222 221
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 408
410 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 409 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
411 Member<InternalRuntimeFlags> m_runtimeFlags; 410 Member<InternalRuntimeFlags> m_runtimeFlags;
412 411
413 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 412 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
414 }; 413 };
415 414
416 } // namespace blink 415 } // namespace blink
417 416
418 #endif // Internals_h 417 #endif // Internals_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698