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

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

Issue 1978683002: Enable hyphens: auto and none in BreakingContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comments for heuristic, adjust widths of hyphens-auto-mock test Created 4 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 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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
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); 212 bool hasGrammarMarker(Document*, int from, int length);
213 void setContinuousSpellCheckingEnabled(bool); 213 void setContinuousSpellCheckingEnabled(bool);
214 214
215 void setMockHyphenation(const AtomicString& locale);
216
215 bool isOverwriteModeEnabled(Document*); 217 bool isOverwriteModeEnabled(Document*);
216 void toggleOverwriteModeEnabled(Document*); 218 void toggleOverwriteModeEnabled(Document*);
217 219
218 unsigned numberOfScrollableAreas(Document*); 220 unsigned numberOfScrollableAreas(Document*);
219 221
220 bool isPageBoxVisible(Document*, int pageNumber); 222 bool isPageBoxVisible(Document*, int pageNumber);
221 223
222 static const char* internalsId; 224 static const char* internalsId;
223 225
224 InternalSettings* settings() const; 226 InternalSettings* settings() const;
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 415
414 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 416 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
415 Member<InternalRuntimeFlags> m_runtimeFlags; 417 Member<InternalRuntimeFlags> m_runtimeFlags;
416 418
417 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 419 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
418 }; 420 };
419 421
420 } // namespace blink 422 } // namespace blink
421 423
422 #endif // Internals_h 424 #endif // Internals_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698