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

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

Issue 2113933003: Add mojo interface to load hyphenation dictionaries on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dcheng review Created 4 years, 5 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 bool canHyphenate(const AtomicString& locale);
215 void setMockHyphenation(const AtomicString& locale); 216 void setMockHyphenation(const AtomicString& locale);
216 217
217 bool isOverwriteModeEnabled(Document*); 218 bool isOverwriteModeEnabled(Document*);
218 void toggleOverwriteModeEnabled(Document*); 219 void toggleOverwriteModeEnabled(Document*);
219 220
220 unsigned numberOfScrollableAreas(Document*); 221 unsigned numberOfScrollableAreas(Document*);
221 222
222 bool isPageBoxVisible(Document*, int pageNumber); 223 bool isPageBoxVisible(Document*, int pageNumber);
223 224
224 static const char* internalsId; 225 static const char* internalsId;
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 411
411 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 412 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
412 Member<InternalRuntimeFlags> m_runtimeFlags; 413 Member<InternalRuntimeFlags> m_runtimeFlags;
413 414
414 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 415 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
415 }; 416 };
416 417
417 } // namespace blink 418 } // namespace blink
418 419
419 #endif // Internals_h 420 #endif // Internals_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698