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

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

Issue 1896793002: Rename (updateLayout/updateStyle).*.() to updateStyleAndLayout.*.() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 bool hasSelectorForClassInShadow(Element* host, const AtomicString& classNam e, ExceptionState&); 129 bool hasSelectorForClassInShadow(Element* host, const AtomicString& classNam e, ExceptionState&);
130 bool hasSelectorForAttributeInShadow(Element* host, const AtomicString& attr ibuteName, ExceptionState&); 130 bool hasSelectorForAttributeInShadow(Element* host, const AtomicString& attr ibuteName, ExceptionState&);
131 unsigned short compareTreeScopePosition(const Node*, const Node*, ExceptionS tate&) const; 131 unsigned short compareTreeScopePosition(const Node*, const Node*, ExceptionS tate&) const;
132 132
133 Node* nextSiblingInFlatTree(Node*, ExceptionState&); 133 Node* nextSiblingInFlatTree(Node*, ExceptionState&);
134 Node* firstChildInFlatTree(Node*, ExceptionState&); 134 Node* firstChildInFlatTree(Node*, ExceptionState&);
135 Node* lastChildInFlatTree(Node*, ExceptionState&); 135 Node* lastChildInFlatTree(Node*, ExceptionState&);
136 Node* nextInFlatTree(Node*, ExceptionState&); 136 Node* nextInFlatTree(Node*, ExceptionState&);
137 Node* previousInFlatTree(Node*, ExceptionState&); 137 Node* previousInFlatTree(Node*, ExceptionState&);
138 138
139 unsigned updateStyleAndReturnAffectedElementCount(ExceptionState&) const; 139 unsigned updateStyleAndLayoutAndReturnAffectedElementCount(ExceptionState&) const;
140 unsigned needsLayoutCount(ExceptionState&) const; 140 unsigned needsLayoutCount(ExceptionState&) const;
141 unsigned hitTestCount(Document*, ExceptionState&) const; 141 unsigned hitTestCount(Document*, ExceptionState&) const;
142 unsigned hitTestCacheHits(Document*, ExceptionState&) const; 142 unsigned hitTestCacheHits(Document*, ExceptionState&) const;
143 Element* elementFromPoint(Document*, double x, double y, bool ignoreClipping , bool allowChildFrameContent, ExceptionState&) const; 143 Element* elementFromPoint(Document*, double x, double y, bool ignoreClipping , bool allowChildFrameContent, ExceptionState&) const;
144 void clearHitTestCache(Document*, ExceptionState&) const; 144 void clearHitTestCache(Document*, ExceptionState&) const;
145 145
146 String visiblePlaceholder(Element*); 146 String visiblePlaceholder(Element*);
147 void selectColorInColorChooser(Element*, const String& colorValue); 147 void selectColorInColorChooser(Element*, const String& colorValue);
148 void endColorChooser(Element*); 148 void endColorChooser(Element*);
149 bool hasAutofocusRequest(Document*); 149 bool hasAutofocusRequest(Document*);
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 278
279 TypeConversions* typeConversions() const; 279 TypeConversions* typeConversions() const;
280 PrivateScriptTest* privateScriptTest() const; 280 PrivateScriptTest* privateScriptTest() const;
281 DictionaryTest* dictionaryTest() const; 281 DictionaryTest* dictionaryTest() const;
282 UnionTypesTest* unionTypesTest() const; 282 UnionTypesTest* unionTypesTest() const;
283 283
284 Vector<String> getReferencedFilePaths() const; 284 Vector<String> getReferencedFilePaths() const;
285 285
286 void startTrackingRepaints(Document*, ExceptionState&); 286 void startTrackingRepaints(Document*, ExceptionState&);
287 void stopTrackingRepaints(Document*, ExceptionState&); 287 void stopTrackingRepaints(Document*, ExceptionState&);
288 void updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks(Node*, Except ionState&); 288 void updateStyleAndLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks(Node* , ExceptionState&);
289 void forceFullRepaint(Document*, ExceptionState&); 289 void forceFullRepaint(Document*, ExceptionState&);
290 290
291 void startTrackingPaintInvalidationObjects(); 291 void startTrackingPaintInvalidationObjects();
292 void stopTrackingPaintInvalidationObjects(); 292 void stopTrackingPaintInvalidationObjects();
293 Vector<String> trackedPaintInvalidationObjects(); 293 Vector<String> trackedPaintInvalidationObjects();
294 294
295 ClientRectList* draggableRegions(Document*, ExceptionState&); 295 ClientRectList* draggableRegions(Document*, ExceptionState&);
296 ClientRectList* nonDraggableRegions(Document*, ExceptionState&); 296 ClientRectList* nonDraggableRegions(Document*, ExceptionState&);
297 297
298 DOMArrayBuffer* serializeObject(PassRefPtr<SerializedScriptValue>) const; 298 DOMArrayBuffer* serializeObject(PassRefPtr<SerializedScriptValue>) const;
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 413
414 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 414 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
415 Member<InternalRuntimeFlags> m_runtimeFlags; 415 Member<InternalRuntimeFlags> m_runtimeFlags;
416 416
417 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 417 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
418 }; 418 };
419 419
420 } // namespace blink 420 } // namespace blink
421 421
422 #endif // Internals_h 422 #endif // Internals_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698